Restore administrative shares - Admin$ - if missing from Windows Computer Management

We have have come across instances where the push deploy tool will fail when testing access to the admin share (Admin$). After some troubleshooting we found that the share was missing from Computer Management. After some research we found an Microsoft article that explains how to re-enable it through the registry. 

Warning:  It is advised that you back up the registry BEFORE making any changes to ensure you can revert back to previous settings if anything goes wrong.




Restore Administrative Shares

To restore administrative shares so that they are automatically created in Windows: 

  1. Click Start, and then click
  2. In the Open box, type
    regedit, and then click OK.
  3. Locate and then click the AutoShareServer value in the following registry subkey:


    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
    • 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
    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.

back to the top

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Contact us