Repository navigation
Releases
Releases · Atliso-Dev/local-admin-drift
v1.0.0
Initial public release. MIT licensed.
- Detect-LocalAdminDrift.ps1 and Remediate-LocalAdminDrift.ps1: an Intune Remediation pair for unexpected local admins, with who added them (event 4732) and a warning when the same fix keeps coming back.
- Install-LocalAdminDrift.ps1: one platform script for tenants without Windows Enterprise. Installs all three scripts and an hourly SYSTEM task.
- Ships as a dry run. Set $WhatIf = $false once the log lists only accounts you want gone.
Tested on Windows 11 Pro with Windows PowerShell 5.1. Guide: https://atliso.com/blog/intune-remediations-recurring-issues