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
The following string values must be entered under the PowerShellEngine key
Working device:
Not-working device:
Solution/Workaround:
*** Update as of 8/13/18 *** The defect ID 345648 has been resolved and will be released in 2017.3 SU6 and 2018.1 SU2.
Until the SU's are released, the only immediate solution is restoring mentioned registry entries.
If you have any additional questions, please contact Ivanti Support.