Credential security
How to rotate local administrator passwords
Why shared local admin passwords are dangerous, the ways to rotate them (Windows LAPS, scripts, RMM tools) and how to keep the current one findable.
Every computer has a local administrator account. If they all share one password, an attacker who gets it from one machine can sign in to every other machine on the network. Rotating local admin passwords means each computer has its own password, changed regularly, and stored where IT can find it.
The options
| Approach | Good for | Watch out for |
|---|---|---|
| Windows LAPS | Windows computers joined to Active Directory or Entra ID | Windows only; needs a domain or Entra and policy setup |
| A script you schedule | Small fleets, any OS | Where does the new password go? Easy to lose or leak |
| An RMM or endpoint tool | Mixed fleets, computers outside a domain | Choose one that only commits the change once the computer confirms it |
What good rotation looks like
- Unique per computer: long and random, never derived from the hostname.
- On a schedule: every few weeks, plus on demand.
- Stored centrally in a vault with access control, not in a log or a ticket.
- Safe to fail: if the computer is offline or the change fails, the old password must stay valid and recorded.
- Rotated after use: when a technician has used the password, change it again.
- Covers every OS you run, not only Windows.
Don't forget the other admin accounts
Disable local admin accounts you don't need, and remove standing admin rights from everyday user accounts. Rotation protects the account you keep; removing accounts protects you from the ones you forgot.
With Optanik and Keyring
Optanik generates a random 20-character admin password for each managed computer and rotates it every 14 days, or on demand from Keyring. The stored password only changes once the computer confirms it applied the new one, so a failed rotation never locks you out. Keyring shows the current password, when it last rotated and when it rotates next. See local admin password rotation.
Open a vault your whole team can read for free.
Pay $1.50 a month only for the people who create and edit entries.
Try the live demo Create a free account Compare plans Watch a tutorial