Problem:
In some high secure environments, users can encounter an issue with PowerShell scripts distribution via Ivanti Endpoint Manager. This issue occurs mainly for Windows 10 build 1709. Error message in log file (sdclient_task{taskID}.log - C:\Program Files (x86)\LANDesk\LDClient\Data \ C:\Program Files\LANDesk\LDClient\Data):
Thu, 15 Mar 2018 11:39:58 PowerShell file Client Thread
Thu, 15 Mar 2018 11:39:58 Powershell install value is: [0]
Thu, 15 Mar 2018 11:39:58 Powershell version is: []
Thu, 15 Mar 2018 11:39:58 PowerShell is not installed in the client system
Cause:
The SDCLIENT process to detect PowerShell installation relies on two entries in the registry. According to information from Microsoft - PowerShell v2.0 (https://support.microsoft.com/en-us/help/4034825/features-that-are-removed-or-deprecated-in-windows-10-fall-creators-up) is deprecated for Windows 10 Fall Creator Updates. Due to security reasons following registry entries might be removed what causes mentioned issue.
OS x64:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\PowerShell\1 value Install
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\PowerShell\1\PowerShellEngine
OS x86:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1 value Install
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine
Working device:
Not-working device:
Solution/Workaround:
For now, the only solution is restoring mentioned registry entries. Ivanti is currently working on redesigning our detection for PowerShell installation (DSI 345648).
If you have any additional questions, please contact Ivanti Support.