
Main Menu
Brad's TechTips - Windows
[<<
Full list of Windows tips.]
Windows 2003, XP and 2K: Disable Admin Shares (c$, d$, etc.)
Start RegEdit.
Move to HKEY_LOCAL_MACHINE\System\CurrentControlSet\
Services\LanmanServer\Parameters.
Create the following DWORD value if it does not already exist:
For workstations - AutoShareWks
For servers - AutoShareServer
Set the value to zero (0) to disable the shares, or set it to one (1) to re-enable them.
You will need to reboot the workstation or server for this to take effect.
Windows 2003, XP and 2K: Disable Admin Shares (c$, d$, etc.)
Start RegEdit.
Move to HKEY_LOCAL_MACHINE\System\CurrentControlSet\
Services\LanmanServer\Parameters.
Create the following DWORD value if it does not already exist:
For workstations - AutoShareWks
For servers - AutoShareServer
Set the value to zero (0) to disable the shares, or set it to one (1) to re-enable them.
You will need to reboot the workstation or server for this to take effect.