How to Enable Admin Shares on Windows 10, 8 or 7 OS (C$, D$, etc.)

In some cases there is the need to enable the Admin Shares of local hard disks, commonly for administrative purposes. The Admin shares are the default shares (aka Administrative shares) of all disk drives (C$, D$, etc.) on a Windows computer and by default are hidden and inaccessible from the network. 

Windows Vista and newer versions of Windows (Windows 7, 8 & 10) prevents local accounts from accessing administrative shares through the network. As a result of that, you receive an “access denied message” whenever you try to connect from a network computer to the default Admin shares (e.g. to C$) on a another workstation of your local network, or you receive the following error message:  “Logon unsuccessful: Windows is unable to log you on. Make sure that your user name and password are correct“.

Enable Admin shares in Windows 10


In this guide you can find instructions, on how to successfully enable the default –hidden- Administrative shares of local disks, on a Windows 10, 8.1, 8 or 7 based computer.


How to enable the Default Admin Shares – C$ – on Windows 10, 8 or 7 OS.

Important: In order to access admin shares, you must ensure that Host* and Guest** computers belongs to the same Workgroup or Domain (Both have the same Workgroup or Domain name). To find that information, open Windows Explorer & right click at the Computer icon. Then select Properties in order to view (or change) the Workgroup name.

* Host computerthe computer with the Admin shares enabled.

** Guest computer = any other computer on the network that will be connect to the Admin Shares on the Host computer.

Step 1. Enable Administrator account & Set a Password.

If you want to access the Admin shares on a computer (Host), by using the “Administrator” user account, then you must enable and set a password to the Administrator account on that computer. To do that:


1. Press Windows image + R keys to open the run command box.

2. Type lusrmgr.msc and press Enter.

user manager



3. Open Users.

local users and groups

4. Right click on Administrator and select Properties.

adminsitrator properties

5. Uncheck the Account is disabled checkbox and press OK.

enable adminsitrator account

6. Right click on Administrator account again and select Set Password.

set password

7. Specify a password for he Administrator account and click OK.

Step 2. Enable File and Print Sharing on Windows Firewall.

The next step is to enable “File and Print Sharing” through Windows Firewall. (at Host computer)

1. Press Windows image + R keys to open the run command box.

2. Type control and press Enter to open Control Panel.

control panel


3. In Control Panel: open System and Security.


system ans security


4. Choose Allow an app through Windows Firewall.

firewall settings



5. Click Change settings.

change firewall settings


6. Uncheck and then re-Check the File and Printer Sharing feature and then press OK.

enable file and print sharing firewall


Step 3. Add the “LocalAccountTokenFilterPolicy” value in registry.

Finally modify the registry as described below (at Host computer):

1. Press Windows image + R keys to open the run command box.

2. Type regedit and press OK to open Registry Editor.



3. In Registry editor, navigate from the left pane, to this key:


4. Right click on System key and select New –> DWORD (32-bit) value.

enable default shares


5. Name the new value as: LocalAccountTokenFilterPolicy & press Enter.

enable administrative shares


6. Then open (double-click) the LocalAccountTokenFilterPolicy and set the value data to 1.

enable C$ share


7. Close Registry editor.

8. Restart the computer.

9. Finally, after restart you’ll be able to access the admin shared disk(s) on the host computer, from any other computer on your network (Guest), by typing in RUN (or SEARCH) box the name (or the IP address) of the host machine and the drive letter of the disk that you want to access, followed by the dollar ($) symbol.

e.g If you want to access the disk “C:\” on the “ComputerA”, you have to type at Run box: \\ComputerA\C$

access Admin Shares

That’s all folks! Did it work for you?

Please leave a comment in the comment section below or even better: like and share this blog post in the social networks to help spread the word about this solution.