Wednesday, December 8, 2010

Stop sharing your Hard drive anonymous - c$ share whole C

How to stop sharing $C: and $WINNT permanently

Go To Control Panel
  -> Administrative Tools
    ->  Local Security Policy



see the option of
Network access: Sharing and security model for local accounts






if it is selected as classic.. change it's value to guest user as showing below..









now reboot your system and also disable guest account of your xp..

or

Another way I disabled this by creating batch file and putting it in start up..

Create a batch file with the following and place it in startup
--------
@ECHO OFF

NET SHARE C$ /D
NET SHARE WINNT$ /D

--------
This will delete the shares C$,Winnt$ from
your computer

To put your batch file in startup
Go to C:\Documents and Settings\All Users\Start Menu\Programs\Startup
put batch file here
if it doesn't work put it in your local user account
C:\Documents and Settings\--your username -- \Start Menu\Programs\Startup

It will work.



Good Luck.

No comments:

Post a Comment