ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

Free Tool – Local Administrator Password Solution (LAPS)

By Vladan SEGET | Last Updated: January 4, 2020

Shares

There is a new free utility from Microsoft called Local Administrator Password Solution (LAPS) which enhances a security on domain managed workstations (servers) by managing the local admin passwords in the domain on those systems. The tool might interest a system admins which want to reinforce their domain security as it allows setting a different, random password for the common local administrator account on every computer in the domain.

The utility does not working as usual software solution, but rather as local client-side extension. LAPS uses a Group Policy client-side extension (CSE) that you install on managed computers to perform all management tasks. So the MSI shall be installed on every computer you want to manage local admin password, in your domain.

In every company there are some locally written software solutions which needs a local admin account to run properly. Systems where local admin password is compromised can be used to elevate priviledges from local/admin to a domain/admin. So good practice is to change the local admin password on those systems on regular basis, but everyone knows that this task is quite impossible in larger organization.

Local Administrator Password Solution (LAPS) – The Features:

Security:

  • Randomly generate passwords that are automatically changed on managed machines.
  • Effectively mitigate PtH attacks that rely on identical local account passwords.
  • Enforced password protection during transport via encryption using the Kerberos version 5 protocol.
  • Use access control lists (ACLs) to protect passwords in Active Directory and easily implement a detailed security model.

Manageability:

  • Configure password parameters, including age, complexity, and length.
  • Force password reset on a per-machine basis.
  • Use a security model that is integrated with ACLs in Active Directory.
  • Use any Active Directory management tool of choice; custom tools, such as Windows PowerShell, are provided.
  • Protect against computer account deletion.
  • Easily implement the solution with a minimal footprint.

Local Administrator Password Solution (LAPS)

  • Periodically randomize local administrator passwords to ensure that password updates to Active Directory succeed before modifying local secrets and passwords.
  • Centrally store secrets in the existing Active Directory infrastructure.
  • Control access through Active Directory access control list (ACL) permissions.
  • Transmit encrypted passwords from computers to Active Directory via encryption using the Kerberos version 5 protocol and the Advanced Encryption Standard (AES) cypher by default.

System requirements:

  • Checks whether the password of the local Administrator account has expired.
  • Generates a new password when the old password is either expired or is required to be changed prior to expiration.
  • Validates the new password against the password policy.
  • Reports the password to Active Directory, storing it with a confidential attribute with the computer account in Active Directory.
  • Reports the next expiration time for the password to Active Directory, storing it with an attribute with the computer account in Active Directory.
  • Changes the password of the Administrator account.

There are two main components within LAPS:

  • First – modifies the forest’s schema to include two new fields to store the password generated on the client.
  • Second – Group Policy extension that runs on the client to report the new password back to Active Directory. This requires modifying Active Directory and every client in the environment.

Installation

Install the Management UI on a domain controller….

Microsoft’s Local Administrator Password Solution (LAPS)

And the GPO Extension on each of the management computers in your domain… (Note that you can deploy the MSI using GPO as well…)

Microsoft’s Local Administrator Password Solution (LAPS) - client side

Next you'll have to run two PowerShell commands:

1. run this:

Import-module AdmPwd.ps

2. run this:

Update-AdmPwdADSchema

Local Administrator Password Solution (LAPS)

Next you'll need to edit the group policy in order to start using this tool:

Microsoft Local Administrator Password Solution

Note that you can also change the default password setting policy. By default this solution uses a password with maximum password complexity, 14 characters and changes the password every 30 days. You can change the values to suit your needs by editing a Group Policy.

You can check the new attributes in the computer's account properties (double click the computer account in your AD > Attribute editor). Make sure that you are in the Advanced View ….

Microsoft LAPS

And then double click the computer account, scroll down to check the local password…

Check the new Attributes in the computer account's properties

The LAPS UI allows you to set a new expiration time or force an immediate expiration. In case the password or expiration fields are blank, then it's possible that the account used does not have enough permissions to read the attribute in your AD.

Then you can execute the Admin tool on your Domain controller and set different time for expiration.

Then you can execute the Admin tool on your Domain controller:

Be sure to check the steps in the Admin guide which is included with the utility. The tool is bundled as x32 and x64 versions as many of the domain admin clients are x32 systems.

Download and more information:

  • Microsoft Knowledge Base Article 3062591
  • Microsoft Download Center

Source: Technet

Shares
5/5 - (1 vote)

| Filed Under: Free Stuff Tagged With: Free tool local password management, Local Administrator Password Solution

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Mike says

    July 25, 2016 at 11:51 pm

    LAPS SCCM integration: https://gallery.technet.microsoft.com/LAPS-Extension-for-SCCM-e8bd35b1

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!
  • Installation of StarWind VSAN Plugin for vSphere
  • Protect Mixed environments with Nakivo Physical Machine recovery (bare metal)
  • No more FREE licenses of VMware vSphere for vExperts – What’s your options?
  • Tails – Your Private OS on USB Stick
  • StarWind V2V Converter Now has CLI
  • Veeam VHR ISO v2 – 2025 Download and Install
  • Deployment OVA and Installation of Nakivo Backup and Replication for VMware

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in