UAC remote restrictions for local accounts (LocalAccountTokenFilterPolicy)
Controls whether a local administrator account (other than the built-in Administrator) gets full admin rights when it connects over the network, for example to C$, ADMIN$, WinRM or WMI.
Where it lives
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Values
| Name | Type | Data and meaning | Default |
|---|---|---|---|
LocalAccountTokenFilterPolicy | REG_DWORD | 0 Filtered token for remote local-account logons (default, recommended)1 Full elevated token for remote local-account logons | 0 (also when not present) |
In plain English
By default (0) Windows gives local accounts that sign in over the network a filtered token without admin rights. This blocks pass-the-hash style lateral movement with shared local admin passwords. Domain accounts aren't affected.
Setting 1 builds a full, elevated token for those remote connections. Microsoft documents it as a workaround for workgroup servers that must be managed with local accounts, and recommends against it in general. Security baselines enforce 0 ("Apply UAC restrictions to local accounts on network logons").
| Restart | Takes effect for new network logons. |
|---|---|
| Group Policy | Not in the in-box ADMX files. The Microsoft Security Compliance Toolkit's MS Security Guide template exposes it as 'Apply UAC restrictions to local accounts on network logons'. |
| Risk | High when set to 1: any machine that shares the same local admin password becomes reachable with full rights. Prefer domain accounts or Windows LAPS. |
How to configure it
Temporarily allow remote admin in a workgroup lab
Remove the value again (or set 0) when you finish.
PowerShell
New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System' -Name LocalAccountTokenFilterPolicy -Value 1 -PropertyType DWord -Force
# Revert
Remove-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System' -Name LocalAccountTokenFilterPolicyOfficial sources
- Description of User Account Control and remote restrictions · checked 2026-12-05
- Local accounts · checked 2026-12-05
Verified Confirmed automatically on the cited source.