How to Fix Configuration Manager Script is Not Signed Error 0x87D00327. When using the PowerShell feature in Compliance Settings to run a script, the client may return errors with a description of “Script is niet ondertekend“. Below is an example of a baseline deployment status where clients are returning errors.
Oplossing
This is due to the current execution policy for PowerShell on client machines. In de Client Settings, onder Computer Agent, there is an option to configure the PowerShell-uitvoeringsbeleid. The only pitfall here is that it means something different than someone might think. These are the options:
- Omzeilen: The ConfigMgr client bypasses the PowerShell configuration on the local system so that unsigned scripts can run.
- Beperkt (default in ConfigMgr 2012): The ConfigMgr client uses the current PowerShell configuration on the local system, which determines whether, of niet, unsigned scripts can run.
- Allemaal ondertekend (default in ConfigMgr 2012 SP1): The ConfigMgr client runs scripts only if they are signed by a trusted publisher and applied independently from the current PowerShell configuration on the local system.
1. Open SCCM-console, click “Administratie” and go to “Client Settings“;
2. Select settings and click “Eigenschappen” in the upper menu or Right Mouse Button click and select “Eigenschappen“;
3. Ga naar "Computer Agent“;
4. Scroll down and find the option “PowerShell-uitvoeringsbeleid” – set “Omzeilen' en klik op 'OK“;
The best places to look at the results are the log files. In dit geval, there is no log file that shows the current setting of the PowerShell execution policy. So the best place to look at that is the Policy Spy. In dit geval, it will show PowerShellExecutionPolicy = 1 as a setting under, Machine \ CCM_ClientAgentConfig. The meaning of the different possible values are:
- 0 = All signed
- 1 = ByPass
- 2 = Restricted
This worked great. Bedankt!