Bear in mind that the site control file in 2012 is stored in the sql db, not in the file as was previously the case.
Rather than editing the DB though, which is not supported, you could script it in wmi. I haven't tested this, but I "think" you need the following: gwmi -Namespace root\sms\site_%sitecode% -Class sms_sci_scproperty -Filter "ItemName='Configuration Management Agent' and PropertyName='ScriptExecutionTimeout'" and then a Set-WMIInstance command. I haven't tested but I hope this helps. From: [email protected] [mailto:[email protected]] On Behalf Of Miriyala, Vasu Sent: 04 September 2015 08:55 To: [email protected] Subject: [mssms] RE: script execution timeout Did anybody change script execution time out for increasing the time for compliance settings succesfuly, if so can they share method. Br, Vasu From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Miriyala, Vasu Sent: Wednesday, September 02, 2015 9:55 PM To: [email protected]<mailto:[email protected]> Subject: [mssms] RE: script execution timeout WARNING: Kindly be aware the Sender Address on this mail may be forged. It appears to be from capgemini.com but the message has been received from a server outside Capgemini Group perimeter. User discretion is necessary before performing actions mentioned in this mail. Hi Andrew, I think we are close nailing out problem, changed value appears in site control file but not DB query mentioned by you. Do you have any recommend approach to modify this value in more structured manner, currently we used a VB shared by an SME/MVP on related forums, in test enviroment Thanks, Vasu From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Andrew Craig Sent: Wednesday, September 02, 2015 7:32 PM To: [email protected]<mailto:[email protected]> Subject: [mssms] RE: script execution timeout To check the Site Control file open SQL Server Management Studio and run this query: SELECT SiteControl FROM vSMS_SC_SiteControlXML Click on the XML to view in a new query window. In the <CLIENT_COMPONENTS> section will be the Properties for the Configuration Management Agent component. Here you should see the Script Timeout setting "ScriptExecutionTimeout" where "Value3" is the number of seconds. To check if the client has applied these settings, run this powershell from the client with admin rights: ([wmiclass]"\\.\ROOT\ccm\policy:CCM_ConfigurationManagementClientConfig<file:///\\.\ROOT\ccm\policy:CCM_ConfigurationManagementClientConfig>").Properties | ?{$_.Name -eq 'ScriptExecutionTimeout'} | Select Name,Value Should work. From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Miriyala, Vasu Sent: 02 September 2015 14:30 To: [email protected]<mailto:[email protected]> Subject: [mssms] RE: script execution timeout Thanks Ratlif, I did separate them single chunks/CI to make it easy for clients to throw results in lesser time Cheers, Vasu From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Daniel Ratliff Sent: Tuesday, September 01, 2015 5:00 PM To: [email protected]<mailto:[email protected]> Subject: [mssms] RE: script execution timeout How are your CIs setup? One single script to check all these things? If so, break them up into different CIs and have each evaluate separately. Daniel Ratliff From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Miriyala, Vasu Sent: Tuesday, September 01, 2015 7:26 AM To: [email protected]<mailto:[email protected]> Subject: [mssms] RE: script execution timeout It is for compliance settings only, I used both Powershell and VB, which does check some services status of our LOB application lets us know. Similarly few other needs to check if program exits of sorts Thanks, Vasu From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Jason Sandys Sent: Tuesday, September 01, 2015 12:05 AM To: [email protected]<mailto:[email protected]> Subject: [mssms] RE: script execution timeout What kind of scripts are you running that you expect them to run more than 60 seconds. To be clear, this timeout is for scripts run via compliance settings only (which includes application detection methods). It is not for anything run for a deployment type or program though. J From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Miriyala, Vasu Sent: Thursday, August 27, 2015 3:05 AM To: [email protected]<mailto:[email protected]> Subject: [mssms] script execution timeout Hi Champs, Did any of you tried to increase the script time out execution for CM2012 clients thru site control file, so to help easing default setting of 60 sec which isn't suffice for most of program we deploy (application or script to check some settings in compliance etc) I tried a vb script available from reliable source, which has made changes in site control file, but client don't reflect the changes, where and what to check ? Thanks, Vasu This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information.
