Konstas.Engineering Notes
Networking · Cybersecurity · Infrastructure
Identity Security

Gatekeeping the Built-In Administrator: A Break-Glass Blueprint for the RID-500 Account

Articles · September 2026 · Ioannis (John) Konstas

Aerial view of a stormy ocean overlaid with a glowing digital world map and data grid
One account, every domain-joined system within reach.
Summary. Every Active Directory domain ships with a built-in Administrator account whose security identifier always ends in -500. Most organizations still have this account enabled, reachable from ordinary workstations, and known to more people than anyone can list. This note treats it the way it should be treated: as a break-glass account that is never used for daily work, held under dual custody, isolated to Tier 0, denied everywhere else by policy, and wired to an alarm that fires the moment anyone touches it.

1. Why the RID-500 account is the crown jewel

In most organizations, the built-in Administrator is still there, still enabled, and often still used — for a scheduled task someone set up years ago, a service that “needs admin,” or simply because it was the first account anyone knew. That makes it the single most valuable credential in the directory:

The goal is not to delete it (you can’t) but to make it unusable in normal life and loud in an emergency.

2. The break-glass principle

Day-to-day administration belongs to named admin accounts, one per person, each with only the rights that person needs. The RID-500 account is reserved for one scenario: every other path into the directory has failed. Everything below follows from that rule.

3. Dual custody: the two-person rule

Smart card instead of a password? If you enable “Smart card is required for interactive logon” on the account, Windows replaces its password with a random value. In that design the vault holds the smart card and its PIN — again under two-person custody — not a written password.

4. Harden the account itself

SettingWhy
Account is sensitive and cannot be delegatedStops services from impersonating the account through Kerberos delegation.
Smart card is required for interactive logon (optional, see above)Removes the reusable password from the equation.
Rename itOnly slows down casual scripts — the RID stays 500 — but it removes the obvious target name.
Disable it when your recovery plan allowsMany organizations keep it disabled until needed. Test the recovery path before you depend on it.
Remove every dependencyNothing — no service, scheduled task, or script — should run as this account.

Find the account by its RID, whatever it has been renamed to, and check its current state:

PowerShell — locate and review the RID-500 account
Import-Module ActiveDirectory

# The domain SID + "-500" always identifies the built-in Administrator
$domainSid = (Get-ADDomain).DomainSID.Value
$admin = Get-ADUser -Identity "$domainSid-500" `
  -Properties Enabled, LastLogonDate, PasswordLastSet, AccountNotDelegated, SmartcardLogonRequired

$admin | Select-Object SamAccountName, Enabled, LastLogonDate, PasswordLastSet,
                  AccountNotDelegated, SmartcardLogonRequired
PowerShell — apply the protections
Set-ADUser -Identity $admin -AccountNotDelegated $true
# Optional: enforce smart-card logon (this randomizes the password)
# Set-ADUser -Identity $admin -SmartcardLogonRequired $true
# Optional, once recovery has been tested:
# Disable-ADAccount -Identity $admin

5. Tier 0 isolation and Privileged Access Workstations

6. Deny-by-default Group Policy

Create a dedicated GPO, link it to the OUs that contain member servers and workstations — not the Domain Controllers OU — and add the account to these User Rights Assignments:

Computer Configuration → Policies → Windows Settings → Security Settings → Local Policies → User Rights Assignment

User rightBlocks
Deny access to this computer from the networkSMB, remote management, and other network logons
Deny log on through Remote Desktop ServicesRDP sessions
Deny log on as a batch jobScheduled tasks running as the account
Deny log on as a serviceServices configured to run as the account
Deny log on locallyConsole logons on those servers and workstations
Test before you enforce. Run the PowerShell check above and search for services and scheduled tasks that still use the account. Anything still depending on it will break the moment this GPO applies — which is exactly the dependency you want to find and remove.

7. The kill-switch alert

If the account is vaulted and unused, any activity is either a declared emergency or an intrusion. Configure your SIEM or Microsoft Defender for Identity to raise a high-severity alert on these Security log events (collect them from the domain controllers):

Event IDMeaningWatch for
4624Successful logonTarget SID ending in -500
4625Failed logonPassword guessing against the account
4648Logon with explicit credentialsSomeone using runas or similar with the account
4768 / 4769 / 4776Kerberos ticket / service ticket / NTLM validationAny authentication by the account at a DC
4722Account enabledThe moment someone re-enables the disabled account
4724 / 4738Password reset attempt / account changedTampering with the account’s password or settings
4720User account createdNew accounts appearing outside your provisioning process
4728 / 4732 / 4756Member added to a security groupNew members of Domain Admins, Administrators, or Enterprise Admins
KQL — Microsoft Sentinel detection (SecurityEvent table)
SecurityEvent
| where EventID in (4624, 4625, 4648, 4722, 4724, 4738)
| where TargetSid endswith "-500"
| project TimeGenerated, Computer, EventID, Activity, TargetAccount, IpAddress, SubjectAccount

8. After the glass is broken

  1. Record who opened the vault, when, and why.
  2. Do only the recovery work required, from a PAW.
  3. Rotate the password (or re-issue the smart card), then re-split or re-seal it.
  4. Disable the account again if that is your standard state.
  5. Review every alert the use generated and close them with the incident record.

9. One-page checklist

ControlDone when
Dual custodyNo single person can sign in as RID 500
No dependenciesNo service, task, or script runs as the account
Account hardeningCannot be delegated; smart card or vaulted password; disabled if recovery allows
Tier 0 onlyLogons only on domain controllers from a PAW
Deny GPOAll five deny rights applied to servers and workstations
Kill-switch alertsA test logon produces a high-severity alert within minutes
Post-use procedureRotation and review are written down and rehearsed

Related

References

Research and direction by Ioannis (John) Konstas; compiled and finalized with AI assistance.

← All articles

👁· views