Pulvinar tempor cras amet ac turpis tristique tristique ... (read more)close
Pulvinar tempor cras amet ac turpis tristique tristique ... (read more)close

LukeTaylor.org Blog

Making I.T that little bit easier !

How to Disable Share Access on a Domain To Default Administrator Shares Such as C$

by in Windows Blog
  • Font size: Larger Smaller
  • Hits: 5723
  • 1 Comment
  • Subscribe to this entry
  • Print
5723

b2ap3_thumbnail_windowsShare-winxpShares.jpg

The following guide will tell you howto configure a starup bat to disable shared drives which are shared as default by windows 7

 

1.)Open up notepad and type the following ( please note this disables shares for all my HDD's in my PC )

@ECHO OFF

NET SHARE C$ /D
NET SHARE E$ /D
NET SHARE F$ /D


2.) Save this as Sharedisable.bat

3.) Place in the all users startup folder .

<pre class="brush:bash">C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup</pre>

4.) Now reboot the PC , and every time your machine now reboots shares will stay disabled .

Rate this blog entry:

Comments

Leave your comment

Guest Wednesday, 13 November 2019