Securing local admin passwords on servers without a domain

Windows LAPS rotates local administrator passwords – but only on devices joined to Active Directory or Microsoft Entra ID. What you can do for DMZ, workgroup and Linux servers.

Illustration of IT security and cybersecurity

Almost every server has a local administrator account. In many environments it has the same password on every server – set during installation and never changed since. That is convenient but risky: if an attacker obtains this password or its hash on a single system, they can use it to sign in to every other server with the same combination. Microsoft describes exactly this pattern as a path for lateral movement and pass-the-hash attacks and recommends randomizing the passwords of local accounts – preferably with LAPS, alternatively with a privileged password management tool or a custom solution.

What Windows LAPS does

The Windows Local Administrator Password Solution (Windows LAPS) is built into Windows Server 2019 and later and into current Windows clients. It creates an individual random password for the local administrator account of each device, changes it regularly according to policy and backs it up centrally. Authorized administrators retrieve it when needed. In addition, Windows LAPS can reset the password after someone has signed in with the account.

The key requirement is the backup location: Windows LAPS backs up passwords only to Active Directory or Microsoft Entra ID. Devices joined only to AD back up to AD; Entra-joined devices to Entra ID; hybrid-joined devices to one of the two. Devices that are merely registered in Entra ID are not supported, and neither are operating systems other than Windows. The older Microsoft LAPS (a 2016 download) worked with Active Directory only; it is deprecated as of Windows 11 23H2, and newer Windows versions block its installation.

The gap: servers without a domain

This leaves out precisely the systems that are most exposed:

  • servers in a DMZ that are deliberately not members of the internal domain,
  • workgroup servers such as individual application, backup or test servers,
  • Linux servers with a local root account.

Windows LAPS offers no backup target for these servers. Their passwords then often stay identical and unchanged – or are kept in a spreadsheet that nobody keeps up to date.

Your options

  • Password manager, maintained by hand: an individual, long password per server in the team password manager. This is quick to set up and better than a shared password. The downside: rotation depends on discipline, and the password is usually not changed after the account has been used.
  • PAM products: privileged access management solutions manage privileged accounts centrally, rotate passwords and log access – often far more comprehensively, for example with session recording. In return, rollout, operation and licensing are often demanding for smaller environments.
  • Custom scripts: possible, but you have to solve the hard parts yourself – secure storage, encryption, permissions, error handling.
  • PriCoSoft Standalone LAPS: a lean solution for exactly this gap, see below.

PriCoSoft Standalone LAPS

Standalone LAPS brings the LAPS approach to servers outside the domain:

  • Policy-driven: on Windows servers a small service reads the built-in Windows policy “System > LAPS” (password age, length, complexity, account name). You configure the same settings as for Windows LAPS.
  • Back up first, then change: the new password is encrypted (AES-256-GCM, key protected with a recovery certificate), sent via HTTPS with a client certificate to an internal IIS server and read back. Only then is the account changed.
  • Admin portal: Microsoft Entra ID sign-in, roles for reading and administering, password history and audit log. You add clients in the portal; the server issues the agent certificate itself and provides a ready-made installation package.
  • Reset after use: if someone signs in with the managed account, the password is renewed after a grace period – as with Windows LAPS. Events are written to the familiar LAPS event log.
  • Linux: an agent for systemd-based systems rotates the password of root or another account through the same interface.
  • Optionally, the server runs as a Docker container instead of on IIS. Standalone LAPS is free and open source (Apache 2.0).

To be fair, there are limits: Standalone LAPS is an independent implementation, not a replacement for Windows LAPS. On servers joined to AD or Entra ID the agent deliberately refuses to run – Windows LAPS is the right choice there. You operate an additional internal server that the DMZ servers must reach via HTTPS. And the private key of the recovery certificate resides on that server; an offline backup of it belongs in the safe. On Linux the password is not renewed automatically after use.

Our recommendation

  1. Protect domain and Entra ID devices with Windows LAPS.
  2. List all remaining servers: DMZ, workgroup, Linux.
  3. Decide for these servers: password manager, PAM product or Standalone LAPS – depending on number, requirements and budget.
  4. In any case, replace shared passwords with individual ones right away.

We are happy to review your environment and set up the right solution with you.

More articles

Running a program as a Windows service: the options compared

A business application should run on the server without anyone logged on and survive every reboot. sc.exe, the old srvany, Task Scheduler or a service wrapper – what works, where the limits are and why windows suddenly become invisible.

Windows event logs: the events you should monitor

Failures and attacks often announce themselves early in your servers' event logs – but hardly anyone looks at them every day. Which event IDs really matter and how to keep an eye on them.

View all articles