We have a remediation script that is being tested, but it fails on 3 out of 4 with the following:
Enforcement Error 0x87d00321 The script execution has timed out. CCM Basically the plan is to kick off a SEP repair, wait 20 minutes, and then check for the service again. Even without the sleep timer we run into the same issue. Would we even need to check for the service again afterward? I cam across this link that talks about running a script to modify the timeout value - http://blogs.msdn.com/b/fei_xias_blog/archive/2013/10/21/system-center-2012-configmgr-using-vbs-to-extend-the-dcm-script-execution-timeout-value.aspx Has anyone done this? Is there another way ? Any other thoughts?
