Hello NIYAZAHMAD-7887930407,
Thank you for your question and for reaching out with your question today.
The article you mentioned states that LAPS (Local Administrator Password Solution) can be installed on Windows Server 2016 with the same functional level. However, you are encountering an issue when trying to extend the schema using the Update-LapsAdSchema cmdlets.
The error message "module not found" suggests that the required PowerShell module for LAPS is not installed on your Windows Server 2016. To resolve this issue, you need to ensure that the LAPS PowerShell module is installed on the server where you are running the Update-LapsAdSchema cmdlets.
Here are the steps to install the LAPS PowerShell module:
- Download the LAPS installer from the Microsoft Download Center: https://www.microsoft.com/en-us/download/details.aspx?id=46899
- Extract the contents of the installer package.
- Run the installer and follow the on-screen instructions to install LAPS.
- After the installation is complete, the LAPS PowerShell module should be available on your server.
Make sure you are running PowerShell with elevated privileges (Run as Administrator) when executing the Update-LapsAdSchema cmdlets.
If you have already installed the LAPS module but are still encountering the "module not found" error, ensure that the module's installation path is included in the PowerShell module search path. You can check the module path by running the following command in PowerShell:
$env:PSModulePath
If the LAPS module is not listed in the output, you may need to manually add its installation path to the PSModulePath environment variable. You can do this by modifying the system environment variables.
After performing these steps, you should be able to successfully extend the schema using the Update-LapsAdSchema cmdlets on your Windows Server 2016.
I used AI provided by ChatGPT to formulate part of this response. I have verified that the information is accurate before sharing it with you.
If the reply was helpful, please don’t forget to upvote or accept as answer.