Admin By Request (ABR) removes standing local admin rights and brokers just-in-time elevation, and for most users it is invisible. But support teams see the same short list of problems come back again and again: a security agent quarantines an ABR file, a driver does not load after an update, a proxy blocks the portal, or a GPO quietly hands the user local admin so nothing gets revoked.
As a Microsoft 365 security integrator and ABR partner, OnCloud has worked through hundreds of these cases. We turned that experience into a single PowerShell script your team runs on any Windows endpoint. It reads local state and the ABR portal, prints a clear PASS / WARN / FAIL for each check, and never changes anything on the machine.
The usual suspects
- AV / EDR interference. CrowdStrike, Trellix, Palo Alto Cortex and others can lock or quarantine ABR files, which crashes elevation and drops the tray icon. The fix is almost always an exclusion.
- Native UAC instead of ABR. When the ABR driver is not loaded (often a reinstall without a reboot), Windows falls back to its own UAC prompt and the user cannot elevate.
- Portal connectivity. If the agent cannot reach the ABR API, the tray turns yellow and requests fall back to offline PIN codes instead of real approvals.
- Rights not revoked. A GPO or an AD / Entra admin role can place the user in local Administrators, so ABR has nothing to revoke and the icon stays green while the user is still admin.
- Support Assist fails. Remote support that relies on the Windows Secondary Logon service breaks on hardened machines where that service has been disabled.
- Version drift and updates. Mixed or old builds pushed over newer ones cause installer loops, and a disabled auto-update override quietly leaves a device behind.
Every check the tool runs
The script runs a full set of endpoint checks by default, with optional modules for Secure Remote Access and Web Access Management, plus a portal cross-check for the device it runs on.
Core checks (EPM), by default:
- ABR installed on a supported version; a single clean install (duplicates cause 1603 loops)
- ABR service running, the elevation driver loaded (without it, elevations fall back to native UAC), and the tray process running
- The signed-in user is a standard user, with no groups that block revocation (Power Users and the like)
- Secondary Logon (seclogon) enabled, required for Support Assist
- Conflicting AV/EDR detection (CrowdStrike, Trellix, Palo Alto Cortex, ETX, SentinelOne, Carbon Black) and Microsoft Defender for Endpoint noted
- ABR core files present and digitally signed
- ABR portal reachable (api:443), so approvals work instead of offline PIN
- Windows patch level and MSI SecureRepair, pending reboot, Auto-Update state, and elevation mode (Confirmation vs Authentication)
Secure Remote Access (-IncludeSRA): the messagebus.exe process, MQTT broker (8883) and Cloudflare tunnel (7844) reachability, RDP (3389) for unattended access, a supported version, and no decrypting proxy.
Web Access Management (-IncludeWAM): installed apps WAM commonly breaks (WhatsApp, Splashtop, VPN clients) so you can add bypasses.
Portal cross-check, this device only (-UseApi): is the device registered, when it last reported (the real proof the agent is syncing), whether the portal version matches, and what the portal sees about the user admin state. The script asks for the API key with hidden input and never stores it. Only an ABR admin should run this check, never the end user.
Run it in one line
Copy the script to the endpoint and run it as the signed-in user. It is read-only and safe to hand to customers.
powershell -ExecutionPolicy Bypass -File .\ABR-EPM-HealthCheck.ps1That runs the core (EPM) checks. For a full run that also covers Secure Remote Access, Web Access Management and the portal cross-check, add all the flags:
powershell -ExecutionPolicy Bypass -File .\ABR-EPM-HealthCheck.ps1 -IncludeSRA -IncludeWAM -UseApiSample output
=== ABR EPM Endpoint Health Check === WIN-ENDPOINT-01
[PASS] ABR elevation driver loaded ABRNetFilter, ABRProcessMonitor
[PASS] Current user NOT a local admin Standard user.
[PASS] Secondary Logon (seclogon) Enabled.
[PASS] Conflicting AV/EDR present None of the known aggressive-conflict EDRs.
[INFO] Microsoft Defender for Endpoint Present. Usually coexists with ABR.
[PASS] ABR portal reachable (api:443) TCP 443 OK.
[WARN] No pending reboot A reboot is pending. -> FIX: Reboot.
[PASS] This device in ABR portal Found. Last inventory ~3 h ago.
Summary: PASS=26 INFO=5 WARN=2 => NEEDS ATTENTIONWhy it matters
Least privilege only works if it works on every endpoint. A green tray icon that hides a local admin, or an agent that stopped reporting two weeks ago, is a silent gap no one notices until it matters. A ten-second check on each machine turns a vague "something is off with ABR" into a precise, fixable list.
Want to run the check on your own fleet? Download the read-only tool.
Get it on GitHub