How to use Registry Editor to restore administrative shares in Windows Server 2003

Article translations Article translations
Article ID: 816113 - View products that this article applies to.
Expand all | Collapse all

On This Page

SUMMARY

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.

Overview

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.

Restore Administrative Shares

To restore administrative shares so that they are automatically created in Windows:
  1. Click Start, and then click Run.
  2. In the Open box, type regedit, and then click OK.
  3. 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.
  4. 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.
  5. Quit Registry Editor.
  6. Stop and then start the Server service:
    1. Click Start, and then click Run.
    2. In the Open box, type cmd, and then click OK.
    3. At the command prompt, type the following commands, pressing ENTER after each command:
      net stop server
      net start server
    4. Type exit, and then press ENTER.

REFERENCES

For more information about how to manage shared resources by using Shared Folders in Windows Server 2003, see Shared Folders Help. To view the Share Folders help files, click Start, point to Administrative Tools, and then click Computer Management. In the console tree, right-click Shared Folders, and then click Help.

Properties

Article ID: 816113 - Last Review: December 3, 2007 - Revision: 6.3
APPLIES TO
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Server 2003, 64-Bit Datacenter Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Small Business Server 2003 Standard Edition
  • Microsoft Windows Small Business Server 2003 Premium Edition
Keywords: 
kbmgmtservices kbhowtomaster kbhowto KB816113

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com