SCCM-Compliance Setting Script error 0x87d00321

SCCM-Compliance Setting Script error 0x87d00321
1 (20%) 2 votes

Hi All,

When working with Compliance Settings, I normally end up using scripts and often, I get the error 0x87d00321.

If you use CMTrace, you’ll see that the error is:

The script execution has timed out.

Source: System Center Configuration Manager

Now, we need to understand how it works and how to change.

The script timeout information is saved under the class SMS_SCI_ClientComp, Component Name Configuration Management Agent on a lazy property called ScriptExecutionTimeout. The default values is 60, it means that the script will be timed out after 60 seconds of execution.

The value, can be seen when using the following powershell script



Now the trick part, how to change? As you can imagine, not that trick if you have PowerShell.

The script below changes the default 60 seconds to 600 seconds,



if you want this behaviour to be changed or have an option on the console, I would recommend you voting on the user voice for compliance settings that already exist

%d bloggers like this: