Microsoft KB Archive/318755

= HOW TO: Restore Administrative Shares That Have Been Deleted =

Article ID: 318755

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q318755





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

IN THIS TASK
SUMMARY
 * How to Use Registry Editor to Restore Administrative Shares
 * How to Use the Poledit Utility to Restore Administrative Shares



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.

back to the top

How to Use Registry Editor to Restore Administrative Shares
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.

 Start Registry Editor (Regedt32.exe). Locate and click the following key in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\AutoShareServer

 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. Quit Registry Editor.

back to the top

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.

back to the top

Keywords: kbhowto kbhowtomaster KB318755

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.