Ask the Community
Groups
Restore administrative shares - Admin$ - if missing from Windows Computer Management - Connect IT Community | Kaseya
<main> <article class="userContent"> <h3 data-id="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"> 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. </h3> <p><strong><span style="color:#e67e22;">Warning:</span> </strong> 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.</p> <h3 data-id="n-a"> </h3> <h3 data-id="source-https-support-microsoft-com-en-us-help-816113-how-to-use-registry-editor-to-restore-administrative-shares-in-windows">Source: <a href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F816113%2Fhow-to-use-registry-editor-to-restore-administrative-shares-in-windows">https://support.microsoft.com/en-us/help/816113/how-to-use-registry-editor-to-restore-administrative-shares-in-windows</a></h3> <p> </p> <p>Restore Administrative Shares</p> <p>To restore administrative shares so that they are automatically created in Windows: </p> <ol><li>Click <strong>Start</strong>, and then click<br><strong>Run</strong>.</li> <li>In the <strong>Open</strong> box, type<br> regedit, and then click <strong>OK</strong>.</li> <li>Locate and then click the <strong>AutoShareServer</strong> value in the following registry subkey: <p><strong>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters</strong></p> Note The <strong>AutoShareServer</strong> 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.</li> <li>Either delete the AutoShareServer value or set the value to 1. To do so, use one of the following methods: <ul><li>To delete the AutoShareServer value, click <strong>Delete</strong> on the <strong>Edit</strong><br> menu. When you are prompted to confirm the deletion, click<br><strong>Yes</strong>.</li> <li>To set the AutoShareServer value to 1, click <strong>Modify</strong> on the <strong>Edit </strong>menu. In the <strong>Value data</strong> box, type 1, and then click <strong>OK</strong>.</li> </ul></li> <li>Quit Registry Editor.</li> <li>Stop and then start the Server service: <ol><li>Click <strong>Start</strong>, and then click<br><strong>Run</strong>.</li> <li>In the <strong>Open</strong> box, type<br> cmd, and then click <strong>OK</strong>.</li> <li>At the command prompt, type the following commands, pressing ENTER after each command: <p>net stop server<br> net start server</p> </li> <li>Type exit, and then press ENTER.</li> </ol></li> </ol><p><a data-bi-name="content-anchor-link" rel="nofollow" href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F816113%2Fhow-to-use-registry-editor-to-restore-administrative-shares-in-windows%231" tabindex="0">back to the top</a></p> </article> </main>