Friday, December 2, 2011

How to Disable the Hidden Administrative Shares (c$,d$…) in Vista/XP/2003/2000

Note:- Before doing this procedure please take a complete registry backup

For Workstations (Vista/XP/2000)
Click Start—>Run type regedit click OK
For vista users Enter your UAC credentials to continue.
Open the HKEY_LOCAL_MACHINE branch.
Open the SYSTEM branch.
Open the CurrentControlSet branch.
Open the Services branch.
Open the LanmanServer branch.
Select the Parameters branch.
Select Edit, New, DWORD (32-bit) Value. Vista adds a new value to the Parameters key (If you have the key just check for correct value).
Type AutoShareWks and press Enter. (You can leave this setting with its default value of 0.)
Restart Windows  to put the new setting into effect.
Solution 2
In Windows 2000 and Windows XP, you disable the shares via
Start —>Settings —>Control Panel
Systems Tools panel
Shared Folders
Double-click the Shared Folders branch to expand it
Click Shares
In the Shared Folder column, right-click the share you want to disable
Click Stop sharing
Cick OK.
For Servers (2003/2000)
Click Start—>Run type regedit click OK
Open the HKEY_LOCAL_MACHINE branch.
Open the SYSTEM branch.
Open the CurrentControlSet branch.
Open the Services branch.
Open the LanmanServer branch.
Select the Parameters branch.
Select Edit, New, DWORD (32-bit) Value. Vista adds a new value to the Parameters key (If you have the key just check for correct value).
Type AutoShareServer and press Enter. (You can leave this setting with its default value of 0.)
Restart Windows  to put the new setting into effect.

No comments:

Post a Comment

Dear Reader, if you like My Blog content, feel free to comment on our blog posts.