Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows Server » Configure WebLAPS to manage Microsoft LAPS
  • 2019Blacklist Blog
    How does IP Address or Domain blacklist work? Network | Monitoring
  • db nginxseriesanisibleplaybook 1540x748 1
    How to install and configure Ansible on Ubuntu Configuration Management Tool
  • RDS Architecture
    The following servers in this deployment are not part of the deployment Pool: Create an RDS Session Host and Collection Windows Server
  • MBAM
    The web application “Administration Portal” cannot be enabled because one or more software dependencies are not met Windows
  • BitLocked suspended and resumed
    Query MBAM-protected Client for non-compliance [Part 2] Windows
  • ccsC
    NTuser.dat file: How to correctly load Windows Registry Hive Windows
  • windows 1 2
    How does Dynamic Host Configuration Protocol work Windows Server
  • sdadsf453423564
    How to download, install and activate, and uninstall IBM SPSS Statistics Mac

Configure WebLAPS to manage Microsoft LAPS

Posted on 24/02/202525/02/2025 Christian By Christian No Comments on Configure WebLAPS to manage Microsoft LAPS
WebLaps

WebLAPS Pro is a web-based solution for managing Microsoft’s Local Administrator Password Solution (LAPS). In other words, WebLAPS relies on Microsoft’s Local Administrator Password Solution (LAPS) to retrieve and manage local admin passwords. Therefore, in this guide, we shall discuss how to configure WebLAPS to manage Microsoft LAPS. We have discussed how to configure Windows LAPS, how to fix 0x800f0831 Error when installing Windows update, how to configure Windows LAPS Management with Microsoft Intune.

NOTE: The Microsoft LAPS product is deprecated as of Windows 11 23H2 and later. Installation of the legacy Microsoft LAPS MSI package is blocked on newer OS versions, and Microsoft will no longer consider code changes for the legacy Microsoft LAPS product. Please use Windows LAPS, available on Windows Server 2019 and above, and on supported Windows 10 and Windows 11 clients, for managing local administrator account passwords.

Microsoft will continue to support the legacy Microsoft LAPS product on older versions of Windows (prior to Windows 11 23H2) on which it was previously supported. That support will end upon the normal End of Support for those OSes.

Therefore, this article targets users that are still using the legacy Microsoft LAPS and not the Windows LAPS. Windows LAPS does not use the “ms-Mcs-AdmPwd” and “ms-Mcs-AdmPwdExpirationTime” attributes. Rather, it uses the “msLAPS-Password”, “msLAPS-EncryptedPasswordHistory”,“msLAPS-EncryptedPassword”,“msLAPS-EncryptedDSRMPassword”,msLAPS-EncryptedDSRMPasswordHistory, and the “msLAPS-Password-ExpirationTime”. But if you are using Windows LAPS, I have got good news for you. You can use Windows Admin Center v2401.

Wndows LAPS with Windows Admin Center
SRC: Microsoft

You may want to take a look at CAYASOFT, an alternate product. You may also want to see LAPS password not showing up in GUI, how to Fix an appropriate resource file could not be found for LAPS, and how to Shrink and Compact Virtual Hard Disks in Hyper-V.

Download Java JRE 8

Note: WebLAPS could be used to implement just-in-time administration (JITA) approach recommended by MS when accounts of system administrators are added to privileged groups for defined period of time and automatically removed after.

Please navigate to the following URL to download the required JAVA version. I will be downlöoading the Windows version as shown below.

Jre

Kindly accept the license agreement

Accept license and download

You will be prompted to sign-in. Enter your username and password when prompted.ro

Login to downlaod

Download WebLAPS Community Edition

I will recommend installing the WebLAPS Pro solution on a member server and not on a DC to reduce the attack surface on the Domain Controller. Therefore, proceed to the following URL and Download WebLAPS.

Download laps

Download the WebLAPS Free Community Version and the WebLAPS Agent. In this guide, we will not be touching the WebLAPS Agent.

Note: This community version of WebLAPS.pro provides basic functionality with a web interface to retrieve LAPS passwords stored in Active Directory.

Note: WebLAPS agent is used to manage passwords of local users and control membership in local groups and can be used on joined or non-domain joined computers.

Screenshot 2025-02-23 at 20.45.02
WebLAPS has an agent which could be used to manage local user accounts at non domain joined computers. It also can automatically create managed user, rotate its password and control membership in defined groups.

Install Java

Since WebLAPS Pro follows a Java-based service model and requires Java Runtime Environment (JRE) 1.8 to function. We will be installing it as shown below.

I have provided the link above to download JAVA. Click on install as shown below. Please see how to install Java Runtime Environment on MAC.

Install Java

As you can see, JAVA has been installed.

Java installed

Create a Local User for WebLAPS

I will launch the computer management and create a user called “Laps”. Assign a password and also ensure you set the user cannot change the password and password never expires.

Laps account

Configure Log on as a service

This will allow user “laps” to work as a service:

Local GP Editor

Please expand “Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment”. Select “Log on as a service”.

Logon as a service

Add the laps user created and click on OK.

Add account
Explanation to logon as a s ervice

Create WebLAPS Directory

Create the directory C:\laps as shown below.

create directory
Laps directory

Extract the WebLAPS distributive (installation package) into C:\laps

Extract Weblaps installation package to laps directory

As you can see, the extraction was successful.

Extracted successfully

Next, we will modify the folder permissions.

Add Laps user

Search for “laps” and assign the “read & write” access. Please, deny access to all other users except administrators.

Assign permission
Read/Write Access only is sufficient

Verify or Create Environmental Variable

Launch System Properties and click on “Environment Variable” under the Advanced Tab.

Environment variable

As you can see below, we have the JAVA JRE Installation path.

JRE added to the system environment variables

Note: If the Java JRE is not added to the system environment variables (PATH). Running the following command in Command Prompt or PowerShell will result in an error

Java version

Verify the Java Path in Configuration

The official documentation specified this step as an optional step if you have the JRE Installation path in the environment variable. However, this was not the case for me as the service did not start.

Set Variable

If Java is not in the system PATH, WebLAPS might not find it and start correctly. To fix this, get the path

get path

Change it to the full path to java.exe, using / instead of \ as discussed in the official guide.

java application

Install WebLAPS Service

Note: You must run this command with Administrative rights. Otherwise, it will fail with the following (Error in PenSCManager: 5″ Access Denied).

To do this, open the Command Prompt (Admin) and navigate to the WebLAPS folder and run the installation script

WebLaps service install
If you run into issues, uninstall with the uninstallation script and restart your PC. Then, run the installation script. This should succeed

As you can see below, the script succeeded and the service is running.

services started for laps

Create AD Service Account

We will need to create a service account (LAPSAdmin) to authenticate WebLAPS to read LAPS passwords from Active Directory.

ALPS AD Service Account

Grant LAPS Read Permission

In ADUC, navigate to the OU where LAPS is applied. Right-click and select Properties, then Security and Advanced.

Add LAPSAdmin and allow: Read ms-Mcs-AdmPwd and Read ms-Mcs-AdmPwdExpirationTime

grant permission

Optional Steps below: Alternatively, you could manually assign Permissions for ms-Mcs-AdmPwd Using ADSI Edit if you do not want to use the console as discussed above.

First, verify the LAPS attributes.

Verifiy schema extention

But if the LAPS attributes are missing, you need to install the LAPS Schema Extension.

extend schema

Now, that I have shown you that the LAPS attributes are available. We need to assign permissions to the ms-Mcs-AdmPwd attributes for the WebLAPS service account (LAPSAdmin).

To do this, open ADSI Edit (adsiedit.msc), and connect to the Schema Naming Context.

Schema

Navigate to the ms-Mcs-AdmPwd and Read ms-Mcs-AdmPwdExpirationTime attribute.

ms-Mcs-AdmPwd Attribute

Right-click on ms-Mcs-AdmPwd and select Properties. In the Properties window, go to the Security tab and click on Add.

Add user

Ensure the Read and Write permissions are assigned.

Read-write permission

Also, do this for the ms-Mcs-AdmPwdExpirationTime attribute.

Password Expiration

Launch WebLAPS in Browser

Open the browser and navigate to the URL shown in the image below. This might be different in your case.

Note: Ignore the certificate warning, accept it (since WebLAPS uses a self-signed certificate by default).

Weblaps access

Log in to WebLAPS. The default username: admin. The default password: admin. After logging in, change the default password if you wish.

Access weblaps

To allow WebLAPS to manage LAPS passwords stored in Active Directory, we need to integrate WebLAPS with Active Directory (AD).

To do this, click on Administration, Communications and LDAP as shown below. Enter the AD server details accordingly and save the settings.

LDAP Parameters
LDAP Settings saved

Now WebLAPS should be fully functional. Try retrieving a LAPS password as shown below.

Test LAPS Password Retrieval

Other recommended settings for WebLAPS

I would recommend adding a valid certificate in order to eliminate the security warning. To do this, navigate to Administration > Communications > Certificates. After certificates import do not forget to restart LAPS Portal.

Add new certificate

You could also integrate your SIEM solution as shown below..

specify syslog server

If you have a license, you can also add here here.

upload license

LAPS mobile client allows to get passwords of local administrators managed by MS LAPS solution. LAPS mobile client connects to an instance of the WebLAPS portal deployed in your environment.

download app and enrol mobile device
Works with Android and iOS devices which in a secure way delivers passwords to mobile device. Mobile client also allows to login to LAPS Portal with help of confirmation of authentication request which is delivered by push notification.

Do not forget to change the default admin password.

change password

You may want to explore the JITA. Just in time administration (JITA) module activates privileged roles (membership in defined AD groups) to authorized user for finite amount of time.

Retrieve Windows LAPS via WACmg

You can use Windows Admin Center to manage your passwords on your LAPS enabled machines within the domain. With this tool, you can reveal and copy passwords of a given machine. View the corresponding password expiration time and update time stamp.

Not only that, you can set the expiration time and reset passwords for multiple machines at a time, making password management and authentication more secure, simpler, and efficient.

Wndows LAPS with Windows Admin Center
No 3rd Party solution is required anymore

I hope you found this article on “how to Configure WebLAPS to manage Microsoft LAPS very useful. Please feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows, Windows Server Tags:Microsoft Windows, Windows 11, Windows Server 2016

Post navigation

Previous Post: How to Shrink and Compact Virtual Hard Disks in Hyper-V
Next Post: Upgrade Windows Admin Center 2306 – 2311: Install WACmg 2410

Related Posts

  • Missing ADML File
    Fix an appropriate resource file could not be found for LAPS Windows
  • yxxycx yx
    How to change the Default First-Site-Name in Active Directory Windows Server
  • Windows 10 new Start menu
    Make Cortana search with a different web browser instead of Edge Windows
  • email
    How to monitor Windows Server backup via PowerShell Windows Server
  • LDPAs
    Fix LDAP Connection Error 81: Cannot open connection via the ldp.exe tool Windows
  • MDt
    Failure 5456: Unable to determine destination disk, partition, and/or drive, see BDD Log Windows

More Related Articles

Missing ADML File Fix an appropriate resource file could not be found for LAPS Windows
yxxycx yx How to change the Default First-Site-Name in Active Directory Windows Server
Windows 10 new Start menu Make Cortana search with a different web browser instead of Edge Windows
email How to monitor Windows Server backup via PowerShell Windows Server
LDPAs Fix LDAP Connection Error 81: Cannot open connection via the ldp.exe tool Windows
MDt Failure 5456: Unable to determine destination disk, partition, and/or drive, see BDD Log Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a
 
  • 2019Blacklist Blog
    How does IP Address or Domain blacklist work? Network | Monitoring
  • db nginxseriesanisibleplaybook 1540x748 1
    How to install and configure Ansible on Ubuntu Configuration Management Tool
  • RDS Architecture
    The following servers in this deployment are not part of the deployment Pool: Create an RDS Session Host and Collection Windows Server
  • MBAM
    The web application “Administration Portal” cannot be enabled because one or more software dependencies are not met Windows
  • BitLocked suspended and resumed
    Query MBAM-protected Client for non-compliance [Part 2] Windows
  • ccsC
    NTuser.dat file: How to correctly load Windows Registry Hive Windows
  • windows 1 2
    How does Dynamic Host Configuration Protocol work Windows Server
  • sdadsf453423564
    How to download, install and activate, and uninstall IBM SPSS Statistics Mac

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,841 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.