FIX: Windows cannot access "sharedpath" Error code: 0x80004005


The situation: you try to connect to a network machine via a hidden share such as c$ or admin$ (\ MachineName c$), and receive an error messages:

Access is denied.
The specified username is invalid.
You may not have permission to use this network share.

The text book says create a new DWORD value called LocalAccountTokenFilterPolicy

What I did was create a QWORD (64-bit) called LocalAccountTokenFilterPolicy, that worked for me when the DWORD would not allow access to my 64-bit machine.

In either case, set the value to numeric 1 (meaning on), remember to click OK.

Mostly, the LocalAccountTokenFilterPolicy value gets created before you have a chance to set the data value; no problem, just double-click and modify the data from 0 to 1.

Firewall: While I made the connection with the firewall ON. If you cannot get this LocalAccountTokenFilterPolicy registry hack to work try adding File and Printer Sharing to the firewall’s Allowed Programs.

The Default Remote Security Situation in Windows 8 and Windows 7

Even if a user is a member of the local administrators group on the remote target, by default, they cannot connect as a full administrator. The user has no elevation potential on the remote computer; thus if the user wants to administer the workstation with a Security Account Manager (SAM) account, it’s best to logon using Remote Desktop. However, as discussed above, you could try creating LocalAccountTokenFilterPolicy.

Read more at:


Xem thêm bài viết khác:


  1. Local Computer Policy > Computer Configuration > Administrative Templates > Network > Lanman Workstation

    >Enable insecure guest logons -this worked for me

  2. If you have Nordvpn it has an "Invisibility on lan" option. Make sure this is turned Off. Took me quite some while to realize this was also in effect when not connected to a vpn network. Hope this helped someone ^^,

  3. Все это делается одной командой открываете windows+R
    cmd /c reg add HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciessystem /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

  4. Worked for me, but then I got a message that SMB1 is obsolete. I had to enable SMB1 and now sharing with my XP works fine. Thanks a lot.

  5. My Win 10 Pro systems communicate with each other ok without doing this.
    Win 10 Home Edition doesn't have any of that Registry path.


Please enter your comment!
Please enter your name here