Posted On March 31, 2019

Disable / Enable Admin Shares

kimconnect 0 comments
blog.KimConnect.com >> Windows >> Disable / Enable Admin Shares

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Exchange relays settings Open the Exchange System Manager

Exchange relays settings Open the Exchange System Manager; Go in Administrative Groups -> Administrative group…

Moving a Domain Controller to a Different Geographical Location

Changing IP of a Domain Controller - If dcpromo has been done before the move…

PowerShell: Mapping and Unmapping Network Drives

How to Map Network Drive using Dot Net Framework $driveLetter='T' $smbPath='\\FILESERVER\SHARENAME' $username='DOMAIN\USERNAME' $password='PASSWORD' $networkDrivesObject =…
Other project: DragonCoin.com