|Automatic Hidden Shares (Windows NT/2000/XP)|
Category: Home > Security > Network
When networking has been installed on a Windows machine, it will automatically create hidden shares to the local disk drives. It is possible to disable the sharing at run-time, but this tweak will stop the automatic sharing altogether.
Open your registry and find the key below.
Create a new DWORD value of either 'AutoShareWks' for NT Workstation or 'AutoShareServer' for NT server. Then set the value to equal '0' to disable automatic sharing. If the values already exist then modify them to change the value.
Restart Windows and the automatic shares should not be created.
Note: The shares are normally accessed via \\server\c$ and \\server\d$ depending on the drive letter.
|(Default)||REG_SZ||(value not set)|
System Key: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\|
Name: AutoShareServer, AutoShareWks
Type: REG_DWORD (DWORD Value)
Value: (0 = disable shares, 1 = enable)
Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.
Last Modified: April 3, 2002