Discussion Locked

How to disable shares on WinXP pro

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I want to disable shares such as ADMIN$ and C$
I found this on MS site
"To disable a share on a computer running Windows XP or Windows 2000

Click Start, point to Settings, and then click Control Panel.
Double-click Administrative Tools, and then double-click Computer Management.
Right-click the share to disable the share or change the share permissions. "

But if I right-click on the shares I get a menu with only refresh and help. I can't figure out how to disable these shares.

10 replies

by saihib

Beer Monster is right about the shares being recreated at reboot. In Win2K/XP Pro you navigate to the key Beer Monster mentioned. The key you need however is AutoShareWks. It probably won't be there so you'll have to create it. Right click in the right pane and select New/Dword value. Just type in AutoShareWks. By default it is set to zero. Close out Regedit and reboot

by beermonster

Hi,
the shares you are referring to are 'special' administrative shares and cannot be removed via the interface. Also, even if the previous respondents tip works (which i doubt) the shares woould be recreated the next time the machine was booted. To disable the shares, open regedit and browse to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\

And set the AutoShareServer value to 0 (that's a zero). Hope this helps...

by darcon3k

I went to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lan manServer\Parameters\
but there isnt any AutoShareServer key there. Even searched the whole registery, I dont have that key =(

by saihib

Answer 1, second comment is correct. You'll need to create the Dword value yourself.

by darcon3k

I guess I started reading before your last comment showed up saihib. Since you answered my question I typed in beermonster's comment even before I wrote it you get the points =)

New question, how do I change an answer from rejected to helpful.

This discussion is closed to new replies.