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.
This step-by-step article describes how to restore administrative shares so that they are created automatically in Windows Server 2003.
back to the topOverview
By default, Windows automatically creates special hidden administrative shares that administrators, programs, and services can use to manage the computer environment or network. These special shared resources are not visible in Windows Explorer or My Computer, but you can view them by using the Shared Folders tool in Computer Management. Depending on the configuration of your computer, you may see some or all the following special shared resources listed in the Shares folder in Shared Folders:
- DriveLetter$
Root partitions and volumes are shared as the drive letter name appended with the $ character. For example, drive letters C and D are shared as C$ and D$. - ADMIN$
A resource that is used during remote administration of a computer. - IPC$
A resource that shares the named pipes that are necessary for communication between programs. Note that this resource cannot be deleted. - NETLOGON
A resource that is used on domain controllers. - SYSVOL
A resource that is used on domain controllers.
- PRINT$
A resource that is used during the remote administration of printers. - FAX$
A shared folder on a server that is used by fax clients during fax transmissions.
Microsoft recommends that you not delete or modify these special shared resources. If the default administrative shares were removed or if the automatic creation of these shares is turned off, you can edit the registry to restore the shares so that they are automatically created in Windows.
back to the topRestore Administrative Shares
To restore administrative shares so that they are automatically created in Windows:
- Click Start, and then click
Run. - In the Open box, type
regedit, and then click OK. - Locate and then click the AutoShareServer value in the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Note The AutoShareServer value must be set as a REG_DWORD type. When this value is set to 0 (zero), Windows does not automatically create administrative shares. This setting does not apply to the IPC$ share or to shares that you create manually. - Either delete the AutoShareServer value or set the value to 1. To do so, use one of the following methods:
- To delete the AutoShareServer value, click Delete on the Edit
menu. When you are prompted to confirm the deletion, click
Yes. - To set the AutoShareServer value to 1, click Modify on the Edit menu. In the Value data box, type 1, and then click OK.
- Quit Registry Editor.
- Stop and then start the Server service:
- Click Start, and then click
Run. - In the Open box, type
cmd, and then click OK. - At the command prompt, type the following commands, pressing ENTER after each command:
net stop server
net start server
- Type exit, and then press ENTER.
back to the top