Sunday, November 18, 2012

Disable administrative shares in Win 7

Administrative shares are default shares of drives which can be accessed from network by adding $ sign.

To disable administrative share open computer management console
Run compmgmt.msc

Go to shared folders\shares
OR you can directly access Shared folders by running fsmgmt.msc


Right click on $ shares and select Stop sharing





This settings will be lost once the system restarts. To disable permanently 
Run\Registry Editor  (Regedit)



Go to
HKEY_LOCAL_MACHINE\SYSTE\CurrentControlSet\Service\LanmanServe\Parameters 





On right pane right click then New, DWORD (32-bit) Value



Add  new dword AutoShareWks
and set value to 0 (Default value)

 
 Restart to confirm (Optional)


No comments:

Post a Comment