IntuneTroubleshooting

Remote Desktop fails for non-admins with 0xC000000D when Administrator protection is on

After the September 2026 preview update, non-admin users can't RDP to Windows 11 hosts with Administrator protection enabled. Which builds fix it, the Intune workaround for 24H2, and how to verify.

Standard users suddenly can't connect to a Windows 11 PC over Remote Desktop, the client reports "The token that was passed to the function is invalid", and administrators connect fine. That combination is a documented Windows known issue tied to Administrator protection, the just-in-time elevation feature that Windows security baselines now turn on. In this post I'll cover what Microsoft has published, which builds fix it, how to find the Intune or Group Policy setting that enabled the feature, and how to use the workaround only where you need it.

Errors this guide fixes

  • 0xC000000DRemote Desktop Connection client
  • The token that was passed to the function is invalid.Remote Desktop Connection client
How this guide is organized: Symptoms → Why it happens → How to fix it → Verify the fix → Key takeawaysFlow diagram of the article's sections in reading order: 1. Symptoms. 2. Why it happens. 3. How to fix it (4 steps: Check the host's build first; Find out what enabled Administrator protection; Apply the workaround only to the hosts that need it; Re-enable once the host is fixed). 4. Verify the fix. 5. Key takeaways. Toolbox: 0xC000000D, gpresult /h, @odata.nextLink.1Symptoms2Why it happens3How to fix it4Verify the fix5Key takeaways1Check the host's buildfirst2Find out what enabledAdministrator protection3Apply the workaroundonly to the hosts that ne…4Re-enable once the hostis fixedTOOLBOX0xC000000Dgpresult /h@odata.nextLinkHow this guide is organized: Symptoms → Why it happens → How to fix it → Verify the fix → Key takeawaysFlow diagram of the article's sections in reading order: 1. Symptoms. 2. Why it happens. 3. How to fix it (4 steps: Check the host's build first; Find out what enabled Administrator protection; Apply the workaround only to the hosts that need it; Re-enable once the host is fixed). 4. Verify the fix. 5. Key takeaways. Toolbox: 0xC000000D, gpresult /h, @odata.nextLink.1Symptoms2Why it happens3How to fix it1Check the host's build first2Find out what enabled Administrator protection3Apply the workaround only to the hosts thatneed it4Re-enable once the host is fixed4Verify the fix5Key takeawaysTOOLBOX0xC000000Dgpresult /h@odata.nextLink
At a glance: how this guide is organized · 4 fix steps · 3 key tools

Status (November 2026): Microsoft opened this issue on Windows release health on 13 October 2026 for Windows 11 versions 24H2, 25H2, 26H1 and 26H2 (no server versions). Originating update: the September 2026 non-security preview update (KB5124010; KB5124006 on 26H1) and later updates. It's marked Resolved for 25H2 and 26H2 by KB5127936 and for 26H1 by KB5127653, both released 28 October 2026. The 24H2 entry, last updated 21 October, still shows Mitigated with a workaround; 24H2 no longer gets non-security preview updates, so watch for a later security update. Re-check the release health pages, because statuses change.

Symptoms#

As documented by Microsoft:

  • After KB5124010 or a later update is installed on the remote device, users who aren't administrators might be unable to establish a Remote Desktop connection to it.
  • The connection fails with error 0xC000000D and the message:
    Text
    The token that was passed to the function is invalid.
  • It mainly affects enterprise-managed devices used as Remote Desktop hosts that have Administrator protection enabled, regardless of how the feature was turned on.

In practice the pattern is easy to spot: one host fails for every standard user, works for members of its local Administrators group, and the failures started after the host (not the client) received the late-September preview or the October security update.

Why it happens#

Administrator protection keeps every user, including local administrators, on a deprivileged token and creates a temporary, isolated admin token only when the user approves an elevation. Microsoft hasn't published more detail about the root cause of the Remote Desktop failure than "devices that have Administrator protection enabled". What it has published is why so many fleets suddenly have the feature on: the Windows security baselines for 24H2, 25H2 and 26H2 enable Administrator protection by default, and Microsoft's Administrator protection page says organizations that use those baselines get it with the October 2026 Windows security update unless their policy says otherwise.

The feature is controlled by two settings in the Local Policies Security Options category of the Settings catalog: User Account Control Type Of Admin Approval Mode (turns it on) and User Account Control Behavior Of the Elevation Prompt for Administrator Protection. They map to UserAccountControl_TypeOfAdminApprovalMode and UserAccountControl_BehaviorOfTheElevationPromptForAdministratorProtection in the LocalPoliciesSecurityOptions CSP, and to User Account Control: Configure type of Admin Approval Mode in Group Policy.

How to fix it#

Fix or work around the 0xC000000D Remote Desktop issueWhich Windows 11 version runs on the Remote Desktop host? if 25H2 or 26H2: Install KB5127936 or later (Builds 26200.9818 and 26300.9818 resolve the issue); if 26H1: Install KB5127653 or later (Released on 28 October 2026); if 24H2: Reset the Admin Approval Mode type (Workaround for affected hosts only; a restart is required)Which Windows 11 version runson the Remote Desktop host?FIXInstall KB5127936 orlaterBuilds 26200.9818 and26300.9818 resolve theissue25H2 or 26H2FIXInstall KB5127653 orlaterReleased on 28 October202626H1NOTEReset the AdminApproval Mode typeWorkaround for affectedhosts only; a restart isrequired24H2Fix or work around the 0xC000000D Remote Desktop issueWhich Windows 11 version runs on the Remote Desktop host? if 25H2 or 26H2: Install KB5127936 or later (Builds 26200.9818 and 26300.9818 resolve the issue); if 26H1: Install KB5127653 or later (Released on 28 October 2026); if 24H2: Reset the Admin Approval Mode type (Workaround for affected hosts only; a restart is required)Which Windows 11 version runs on the RemoteDesktop host?25H2 or 26H2FIXInstall KB5127936 or laterBuilds 26200.9818 and 26300.9818 resolve the issue26H1FIXInstall KB5127653 or laterReleased on 28 October 202624H2NOTEReset the Admin Approval Mode typeWorkaround for affected hosts only; a restart isrequired
Figure 1 · Decision tree Fix or work around the 0xC000000D Remote Desktop issue. The fix depends on the Windows 11 version of the Remote Desktop host, not the client the user connects from.

1. Check the host's build first#

The fix is on the remote device, so check the host, not the user's PC:

PowerShell
$cv = Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion'
'{0} {1}.{2}' -f $cv.DisplayVersion, $cv.CurrentBuild, $cv.UBR
VersionAffected fromFixed in
26H2KB5124010 (26300.9550)KB5127936 (26300.9818) or later
25H2KB5124010 (26200.9550)KB5127936 (26200.9818) or later
26H1KB5124006KB5127653 or later
24H2KB5124010 (26100.9550)No resolving update listed yet: use the workaround

On 25H2 and 26H2 the cleanest fix is to deploy KB5127936. It's an optional preview, so either approve it for your Remote Desktop hosts or wait for the next monthly security update, which normally carries the preview's fixes. Confirm in the KB for that update before you rely on it.

2. Find out what enabled Administrator protection#

Microsoft's workaround is to turn the feature off with the same management method that turned it on. In the Microsoft Intune admin center, search your Settings catalog profiles for "Type Of Admin Approval Mode", and check custom profiles for the CSP name. This Graph PowerShell sketch lists both:

PowerShell
Connect-MgGraph -Scopes 'DeviceManagementConfiguration.Read.All'
$base = 'https://graph.microsoft.com/beta/deviceManagement'
foreach ($p in (Invoke-MgGraphRequest -Method GET -Uri "$base/configurationPolicies").value) {
    $s = (Invoke-MgGraphRequest -Method GET -Uri "$base/configurationPolicies/$($p.id)/settings").value
    if (($s | ConvertTo-Json -Depth 20) -match 'typeofadminapprovalmode') { "Settings catalog: $($p.name)" }
}
(Invoke-MgGraphRequest -Method GET -Uri "$base/deviceConfigurations").value |
    Where-Object { $_.omaSettings.omaUri -match 'TypeOfAdminApprovalMode' } |
    ForEach-Object { "Custom OMA-URI: $($_.displayName)" }

Both calls return the first page only; follow @odata.nextLink in large tenants. For domain-joined hosts, run gpresult /h report.html and look for the Security Options policy above: a GPO built from the Security Compliance Toolkit baseline is the most likely source.

3. Apply the workaround only to the hosts that need it#

For hosts that can't take a fixed build yet (all 24H2 hosts today), reset the Admin Approval Mode type to the legacy value:

  • Intune: create a device group of affected Remote Desktop hosts, exclude it from the policy that enables Administrator protection, and assign a small Settings catalog profile that sets User Account Control Type Of Admin Approval Mode back to legacy Admin Approval Mode. An explicit setting is easier to track and reverse than a plain unassignment.
  • Group Policy: set User Account Control: Configure type of Admin Approval Mode to Legacy Admin Approval Mode (Default) in a GPO linked to those hosts, or adjust the baseline GPO for them.

A restart is required for the change to take effect. Keep the scope tight: on everyday user devices, Administrator protection is doing its job and this bug doesn't touch them.

4. Re-enable once the host is fixed#

When a host reaches a fixed build, remove it from the exclusion group so the original policy applies again, and restart it.

Verify the fix#

  • A standard (non-admin) user connects to the host over Remote Desktop without the 0xC000000D error.
  • The host's build matches the fixed row in the table, or the workaround profile shows Succeeded for that device in Intune and the device has restarted.
  • On fixed hosts, Administrator protection is back on: elevation requests show the Administrator protection prompt again.
  • Your exclusion group empties over time; every host left in it is a device still running without the protection.

Key takeaways#

  • Read the settings in every new security baseline version before you deploy it. The 2026 baselines switch on Administrator protection, which changes elevation behavior for every user. See Intune security baseline versions and conflicts.
  • Microsoft says not to enable Administrator protection on Windows 365 Cloud PCs or Azure Virtual Desktop session hosts; scope it away from them from the start.
  • Remote Desktop hosts deserve their own pilot ring for monthly updates and previews.
  • If you need managed elevation for standard users, compare this with Endpoint Privilege Management elevation rules.

References#

Written and checked against current Microsoft Learn documentation. Test changes with a pilot group before rolling them out to everyone, and if an admin center path has moved since, search for the setting name instead.

Spotted a mistake, or did this fix work differently for you? Email me or message me on LinkedIn — corrections are credited in the article.

Written by

Omer Eltayeb

M365 Subject Matter Expert, former Microsoft Cloud Solutions Architect, Microsoft Certified Trainer and Microsoft Innovative Educator Expert (2024–26) and Microsoft Elevate Educator Expert (2026–27). I share practical, step-by-step guides, study plans, scripts and toolkits for Microsoft Intune, Configuration Manager, Microsoft Entra ID, Microsoft Defender, Exchange and Microsoft 365 with the community.

Microsoft Certified Trainer (MCT) 2026Microsoft Innovative Educator Expert 2025–2026Microsoft Elevate Educator Expert 2026–2027ISC2 Certified Information Systems Security Professional (CISSP)Microsoft 365 Certified: Enterprise Administrator Expert (MS-102)