HOW TO: Restore Administrative Shares That Have Been Deleted

Article translations Article translations
Article ID: 318755 - View products that this article applies to.
This article was previously published under Q318755
Notice
This article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy.
Notice
This article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy.
Expand all | Collapse all

On This Page

SUMMARY

This step-by-step article describes how to restore administrative shares that have been deleted accidentally. If the administrative shares have been deleted, you can use either Registry Editor or the Poledit utility to configure Windows to automatically create the administrative shares.

How to Use Registry Editor to Restore Administrative Shares

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
  1. Start Registry Editor (Regedt32.exe).
  2. Locate and click the following key in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\AutoShareServer
  3. Either change the value of the AutoShareServer key to 1 or delete the value.

    NOTE: If the AutoShareServer key is set to 0, administrative shares (such as C$, D$, Admin$, and so on) cannot be created automatically.
  4. Quit Registry Editor.

How to Use the Poledit Utility to Restore Administrative Shares

  1. Click Start, click Run, type poledit in the Open box, and then click OK.
  2. Click Open Registry on the File menu.
  3. Double-click Local Computer.
  4. Expand Windows NT Network, and then expand Sharing (Server).
  5. Click to select the Create Hidden Drive Shares (Server) check box, and then click OK.
  6. Click Save on the File menu.NOTE: To install Windows 2000 Administration Tools (including Poledit.exe) on a Windows 2000 Professional-based computer, open the I386 folder on the applicable Windows 2000 Server CD, double-click the Adminpak.msi file, and then follow the instructions that are displayed in the Windows 2000 Administration Tools Setup wizard.




Properties

Article ID: 318755 - Last Review: October 30, 2006 - Revision: 3.4
APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
Keywords: 
kbhowto kbhowtomaster KB318755

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