Applications Systems

SAM: Powershell monitoring not working after upgrade to 2022.3 and above

After upgrading 2022.3 and above, PowerShell monitoring are down or no longer working properly.

First published date

9/30/2022 9:23 PM

Last published date

2/4/2026 12:18 AM

Overview

Customers that upgrade to the latest version SAM 2022.3 / HCO 2022.3 to 2023.1 will be affected by this issue.

Product section

Server Application Monitor

Cause

In some instance, the following error message may occur with Powershell Monitoring scripts:

Logon failure: the user has not been granted the requested logon type at this computer

Resolution

To workaround the following issue, please perform the following steps:

SolarWinds Platform 2022.3 - 2023.4

The following setting will need to be manually added after each software upgrade.
  1. Find and open the following with notepad or other text editors (may need to run as administrator): Program Files\SolarWinds\Orion\SolarWinds.APM.Probes.dll.config or Program Filesx86\SolarWinds\Orion\SolarWinds.APM.Probes.dll.config
  2. In the line: <add key="UseLegacyPowerShellImpersonation" value="false" /> change value to <add key="UseLegacyPowerShellImpersonation" value="true" />.
  3. Restart Orion services.

SolarWinds Platform 2024.1

Starting in 2024.1, a new setting was added and will be preserved after future upgrades.
  1. Log in to the Orion Web Console using an account with administrative privileges.
  2. To access Advanced Configuration Settings, copy /Admin/AdvancedConfiguration/Global.aspx.
  3. Paste it into your browser address bar, after /Orion, as shown here: http://YOUR_SERVER/Orion/Admin/AdvancedConfiguration/Global.aspx
  4. Press Enter.
  5. Search the PowerShell in the Search Bar
  6. Find the APM.WMI.Setting "UseLegacyPowerShellImpersonation"
  7. Select the checkbox
  8. Click Save
rtaImage.jpeg