This article was previously published under Q288164
This article has been archived. It is offered "as is" and will no longer be updated.
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
This article explains how to prevent creation of the administrative shares on Microsoft Windows NT Server 4.0.
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
Create values for AutoShareServer and AutoShareWks:
Type AutoShareServer, click REG_DWORD, and then click OK.
Type 0, and then click OK.
On the Edit menu, click Add Value.
Type AutoShareWks, click REG_DWORD, and then click OK.
Type 0, and then click OK.Note: Sometimes the values are already present, especially after use of a policy that affects these entries. In addition, on Windows 2000 you are not required to add the AutoShareWks value.
Quit the registry, and then restart the computer.
This process can easily be done through a policy. The path for the system policy is System Policy Editor\Windows NT Network\Sharing\Create Hidden Drive Shares.
For additional information about hidden administrative shares that are not created, click the article number below to view the article in the Microsoft Knowledge Base:
156365 Hidden Shares Are No Longer Available After Using System Policy
Microsoft Windows 2000 Server, Microsoft Windows 2000 Professional Edition, Microsoft Windows NT Workstation 4.0 Developer Edition, Microsoft Windows NT Server 4.0 Standard Edition, Microsoft Windows XP Professional