Access Denied – Failed to connect to ADMIN$ share

reg add HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\POLICIES\SYSTEM /V LocalAccountTokenFilterPolicy /t REG_DWORD /d 1

If you are attempting to access a Windows 7, Windows 8, Vista or Server 2008 computer you may get  the" Access Denied – Failed to connect to ADMIN$ share" error , even when supplying the appropriate local user credentials that have Administrator access.

If the target computer is not a member of a Windows 2003 or later Domain then this is most likely because the target system has Remote UAC enabled. Remote UAC prevents local administrative accounts from accessing ADMIN$. (more appropriately Remote UAC prevents local accounts from running in an elevated mode when connecting from the network).

If you need to be able to access the ADMIN$ using a local account then you will need to disable Remote UAC. You can accomplish this by editing the registry.

Assuming you have all your other ducks in a row (Firewall exceptions, appropriate credentials of local administrative user, etc) then you just need to add a quick entry in the registry of the target computer. In the registry, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System. Create a DWORD value called LocalAccountTokenFilterPolicy and assign it a value of 1.

A reboot will be necessary (actually you can just restart the Server service but a reboot is ideal).

You can Apply this Settings running in Administrator Command:

reg add HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\POLICIES\SYSTEM /

תיקון גישה ל- ADMIN$

1 ) פתח חלון CMD עם הרשאות מנהל מערכת ) Administrator )
2 ) הרץ את הפקודה הבאה )הכל בשורה אחת( :
reg add HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\POLICIES\SYSTEM /V LocalAccountTokenFilterPolicy /t REG_DWORD /d 1
3 ) פתח את הגדרות ה Firewall :
ללחוץ על מקש ה – WINKEY ואח"כ R להקיש את המילה firewall.cpl


4 ) נלחץ עם סמן העכבר על האפשרות:
Allow an app or feature trough Windows Firewall
5 ) נילחץ על כפתור Change Settings
6 ) נסמן את כל המקומות שניתן במיקום שרשום: Remote scheduled tasks Management

דילוג לתוכן