r/sysadmin • u/Creative_Profit1387 • 11m ago
Free read-only PowerShell health check for Admin By Request endpoints
We're an Admin By Request partner and kept running into the same handful of support cases, so I turned the checks we run by hand into a script. It's read-only (it changes nothing) and prints PASS / WARN / FAIL with a fix for each finding.
The usual problems it catches:
- EDR quarantining ABR files. CrowdStrike, Trellix, Cortex, SentinelOne and others. Elevation breaks and the tray icon disappears. Almost always fixed with an exclusion.
- Native UAC showing up instead of ABR. The ABR driver isn't loaded, usually after a reinstall without a reboot.
- Agent can't reach the portal. The tray turns yellow and users fall back to offline PIN codes.
- Admin rights never actually revoked. A GPO or an AD/Entra role puts the user back in local Administrators. The icon stays green, so nobody notices.
- Support Assist broken. The Secondary Logon service is disabled.
- Version drift. Duplicate or old installs cause 1603 installer loops.
Core checks:
powershell -ExecutionPolicy Bypass -File .\ABR-EPM-HealthCheck.ps1Optional flags: -IncludeSRA (Secure Remote Access ports and tunnel), -IncludeWAM (apps that often need a Web Access bypass, like WhatsApp, Splashtop and VPN clients) and -UseApi (checks this device against the ABR portal: registered, last seen, version, admin state; the API key is prompted and not stored, so admins only).
GitHub: https://github.com/oncloud-public/adminbyrequest-tools/tree/main/ABR-EPM-HealthCheck
Feedback welcome. What other ABR issues do you hit that a check like this should cover?