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

May 13, 2020

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:

All Comments

  • 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 ^^,

    Rubus Chamaemorus May 13, 2020 7:18 pm Reply
  • Its working — Thank u

    Thang krish May 13, 2020 7:18 pm Reply
  • Thanks … worked for me, windows 10 trying to connect win7.

    Dendy Sutrisna May 13, 2020 7:18 pm Reply
  • good job

    bobysnow bobysnow May 13, 2020 7:18 pm Reply
  • doesnt work

    f0nz33cz May 13, 2020 7:18 pm Reply
  • Все это делается одной командой открываете windows+R
    cmd /c reg add HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciessystem /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

    Ян Ёлкин May 13, 2020 7:18 pm Reply
  • didn't work for me

    Tengiz Adamashvili May 13, 2020 7:18 pm Reply
  • Does not work, still error appear after restart

    Grzegorz Bednarski May 13, 2020 7:18 pm Reply
  • 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.

    Coby Metzger May 13, 2020 7:18 pm Reply
  • After hours of searching for solutions, this solution worked for me like magic. Well done.

    Yaron Cherizli May 13, 2020 7:18 pm Reply
  • didn't work for me,
    this configuration for server / client ?

    Adhi May 13, 2020 7:18 pm Reply
  • Didn't work for me

    ITGuy2014 May 13, 2020 7:18 pm Reply
  • Did not work please help I tried disabling firewall btw

    Greg K May 13, 2020 7:18 pm Reply
  • 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.

    Brian Vogt May 13, 2020 7:18 pm Reply
  • Great job… thanks a lot….awesome video..

    Centi Clips May 13, 2020 7:18 pm Reply

Leave a Reply

Your email address will not be published. Required fields are marked *