Getting a Return Code 20001, Error Description: PowerShell is not installed.
Microsoft has announced the removal of PowerShell 2.0 in later releases of Windows 11 and Windows Server 2025, starting in August 2025 and September 2025, respectively. So, PowerShell 2.0 may no longer be available on those newer versions.
Status:
This has been identified as product defect K2-7888. This issue is being evaluated by our team for inclusion in a future release of Kace SDA.
Microsoft has completely removed PowerShell 2.0, which is required for certain integrated SDA tasks to run, such as Set Engine Run Key, Restore UAC, and Clean Up.
Workaround:
Recommended capturing a new Windows 11 24H2 image from an ISO released prior to August 2025, as later versions no longer include PowerShell 2.0. Also, rolled back the August updates to get Powershell 2.0 on the golden image will bring PowerShell 2.0 back.
Note:
* PowerShel 2.0 is being removed as part of the operating system updates for newer versions of Windows.
* This is not done through a specific, standalone update but is integrated into major feature updates for Windows 11 (version 24H2, starting with the August 2025 updates) and Windows Server 2025 (starting with the September 2025 updates).
* Future versions of these operating systems will no longer include PowerShell 2.0.