HEBook a call
Book a callHE
Blog

A health check for Admin By Request on Windows endpoints

25 November 2026 · Shlomi Fanan

Endpoint security

Admin By Request handles the vast majority of elevations without anyone noticing. When an endpoint does misbehave, it is almost always one of a handful of known causes. We built a read-only health check that finds them in seconds.

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

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:

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.ps1

That 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 -UseApi

Sample 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 ATTENTION

Why 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

Sources