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

Windows Short-cut vs Symbolic Link vs Junction vs Hard Link

Although they behave similarly, there are fundamental differences between a short-cut (a Microsoft's implementation for…

Domain Controller Vulnerability Scan for ZeroLogon VCE-2000-1472

function vce2020-1472{ # Source: # Original script has been modified to fix a couple of…

CentOS System Rescue on AWS

Once upon a 'right-now' time, an EC2 instance on AWS would not come back online…
Other project: DragonCoin.com