Now when you run the SQL:
SELECT SiteControl FROM vSMS_SC_SiteControlXML
Do you see the 120in ScriptExecutionTimeout?
And this:
select Value3 from SC_ClientComponent_Property where Name =
'ScriptExecutionTimeout'
I think also, you may need to use the SMS_SCI_ClientComp class (rather than
sms_sci_scproperty) where ItemName="Configuration Management Agent". Then
change the EmbeddedProperty in the Props List. I managed to do it this way
myself and the DB shows the change. I got an error on the other class.
Did you reset policy on the client?
From: [email protected] [mailto:[email protected]] On
Behalf Of Miriyala, Vasu
Sent: 15 September 2015 09:27
To: [email protected]
Subject: [mssms] RE: script execution timeout
Server side changes appear modified but clients do not pick this change, we
don't see any abnormal / issues with client side or server side logs.
Server side WMI settings after changing it to 120 seconds.
Client side WMI settings which still show default 60 seconds
PS C:\Users\vmiriyal> gwmi -Namespace root\sms\site_IND -Class
sms_sci_scproperty -Filter "ItemName='Configuration Manag
ement Agent' and PropertyName='ScriptExecutionTimeout' and SiteCode='INM'"
__GENUS : 2
__CLASS : SMS_SCI_SCProperty
__SUPERCLASS : SMS_BaseClass
__DYNASTY : SMS_BaseClass
__RELPATH : SMS_SCI_SCProperty.FileType=2,ItemName="Configuration
Management Agent",ItemType="Configuration
Management
Agent",PropertyName="ScriptExecutionTimeout",SiteCode="INM"
__PROPERTY_COUNT : 8
__DERIVATION : {SMS_BaseClass}
__SERVER : IN-MUM-CMPR01
__NAMESPACE : root\sms\site_INM
__PATH :
\\IND-MU-CMPR01\root\sms\site_INM:SMS_SCI_SCProperty.FileType=2,ItemName="Configuration<file:///\\IND-MU-CMPR01\root\sms\site_INM:SMS_SCI_SCProperty.FileType=2,ItemName=%22Configuration>
Management
Agent",ItemType="Configuration Management
Agent",PropertyName="ScriptExecutionTimeout",SiteCode="INM"
FileType : 2
ItemName : Configuration Management Agent
ItemType : Configuration Management Agent
PropertyName : ScriptExecutionTimeout
SiteCode : IND
Value : 120
Value1 : REG_DWORD
Value2 :
PSComputerName : IND-MU-CMPR01
C:\Windows\system32>wmic /namespace:\\root\ccm\policy\machine\actualconfig path
CCM_ConfigurationManagementClientConfig get /value
ComponentName=SMSConfigurationManagementAgent
Enabled=TRUE
EnableUserStateManagement=FALSE
PerProviderTimeOut=120
PerScanTimeout=360
PerScanTTL=15
Reserved1=0
Reserved2=
Reserved3=
ScriptExecutionTimeOut=60
SiteSettingsKey=1
From: [email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of Andrew Craig
Sent: Friday, September 04, 2015 3:25 PM
To: [email protected]<mailto:[email protected]>
Subject: [mssms] RE: script execution timeout
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]>
[mailto:[email protected]] On Behalf Of Miriyala, Vasu
Sent: 04 September 2015 08:55
To: [email protected]<mailto:[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.