Help

Troubleshooting Guide

Local Account Password Reset – System.Management.Automation Assembly Error

Updated 30 Nov 2026 3 min read

Overview

Monopam supports password reset operations for local user accounts on Windows resources. To perform these operations remotely, PowerShell Remoting must be enabled, and the Windows Remote Management (WinRM) service must be running and accessible on the target machines.

The System.Management.Automation.dll library is used during local account password reset operations. This library must be available on all machines where it is required, and the appropriate version must be deployed wherever it is missing.

If the library is missing, incompatible, or cannot be loaded, an assembly loading error may occur, preventing the local account password reset operation from completing successfully.

Before deployment, the required DLL version and its installation location must be verified.

Error Message

image-20261129-222114.png

Possible Causes

  • Missing System.Management.Automation DLL.

  • Incompatible PowerShell assembly version.

  • Missing PowerShell SDK dependencies.

  • Missing or incompatible .NET runtime dependencies.

Troubleshooting Steps

1. Check the PowerShell Version

Open Windows PowerShell as Administrator and execute the following command to check the current PowerShell version:

$PSVersionTable

Verify whether PowerShell 7 is available:

Get-Command pwsh -ErrorAction SilentlyContinue

2. Check the System.Management.Automation DLL

Execute the following command to verify whether the required DLL exists in the default PowerShell 7 installation directory:

Test-Path "C:\Program Files\PowerShell\7\System.Management.Automation.dll"
  • True: The DLL exists in the specified directory.

  • False: The DLL does not exist in the specified directory.

3. Download the Required Package

Execute the following PowerShell command to download the required System.Management.Automation 7.5.0 package:

Invoke-WebRequest -Uri "https://www.nuget.org/api/v2/package/System.Management.Automation/7.5.0" -OutFile "$env:TEMP\System.Management.Automation.zip"

4. Verify the Downloaded Package

Execute the following command to verify that the package has been downloaded successfully:

Test-Path "$env:TEMP\System.Management.Automation.zip"

Expected output:

True

5. Extract the Package

Extract the downloaded package using the following command:

Expand-Archive -Path "$env:TEMP\System.Management.Automation.zip" -DestinationPath "C:\Temp\PowerShellAutomation" -Force

The Windows runtime assembly is located in the following directory:

C:\Temp\PowerShellAutomation\runtimes\win\lib\net9.0\

6. Verify the Assembly Version

Execute the following command to verify the version of the extracted DLL:

Get-ChildItem C:\Temp\PowerShellAutomation -Recurse -Filter System.Management.Automation.dll | ForEach-Object {
    $_.FullName
    [System.Reflection.AssemblyName]::GetAssemblyName($_.FullName).Version
}

Expected assembly version:

Major  Minor  Build  Revision
-----  -----  -----  --------
7      5      0      500

7. Verify Application Dependencies

Verify that the Monopam component responsible for the local account password reset operation has access to the required System.Management.Automation assembly and its dependencies.

System.Management.Automation 7.5.0 targets .NET 9.0. The compatibility of the relevant application runtime must also be verified.

If the required dependencies are missing, contact Monofor Support for the appropriate remediation procedure.

Important: Downloading and extracting the package does not automatically install the required dependencies. Do not manually replace existing application DLL files without confirming compatibility and receiving the appropriate deployment instructions.

8. Validate the Password Reset Operation

After applying the recommended remediation:

  1. Log in to the Monopam Management Portal.

  2. Navigate to the relevant Windows resource.

  3. Verify that a valid Privileged Credential is assigned.

  4. Initiate a local account password reset operation using an approved test account.

  5. Verify that the password reset operation completes successfully.

  6. Confirm that the updated credential is stored correctly in the vault.

  7. Verify authentication to the target resource using the updated credential.

If the Issue Persists

If the issue persists after completing the troubleshooting steps, contact Monofor Support and provide the following information:

  • Monopam version.

  • Windows Server version.

  • PowerShell version.

  • System.Management.Automation assembly version.

  • Relevant Gateway or Agent logs.

  • Screenshot of the error message.

References

Permanent link