Patch Me - Security IntelliRollup - Configure job fails with exit code 1 - SDM228001

book

Article ID: 221260

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Patch Manager CA Client Automation - Software Delivery

Issue/Introduction

Execution of "Patch Me - Security IntelliRollup" Configure job is failing with error :

Exit code 1 indicates possible error [SDM228001]

In job output following appears :

patchreport.ps1 found.....
powershell exit code0
patch reporter file size-1
patchreport.ps1 execution failed.

Cause

patchreport.ps1 is a powershell script which is blocked if following Computer Policy is set :
 
Administrative Templates/Windows Components/Windows Powershell/Turn on Script Execution = Enabled
with 
Allow local scripts and remote signed scripts

Environment

Client Automation - All Versions.

Resolution

On computers with problem delete the registry key to remove the policy :
 
HKLM\SOFTWARE\Policies\Microsoft\Windows\PowerShell\\ExecutionPolicy
 
 
Or
 
This can be done in GUI with :
 
- Open Local Group Policy Editor (gpedit.msc)
https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=vNOkJyG5PJxnsGumEYqTRg==
 
 
- Go under Administrative Templates/Windows Components/Windows Powershell
 
- Doble click on "Turn on Script Execution" and select "Not configured"

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=lNoqI8+F19gdGfA4iELobA==

Click Apply and OK