Change timeout of script<p align=left><font face=Arial size=2>Hi,</font></p> <p align=left> </p> <p align=left>I'm looking for a way to change the timeout value of a script In SCE 2007 SP1.<br>The specific script is one of quite a few failing with a timeout error.<br>So far I've been able to locate the monitor using the script, but the timeout value is greyed out. The location is:<br>Authoring: Management Pack Objects/Monitors/Agent/Ent<wbr>ity Health/Availability/Manage<wbr>d Computer update server configuration <span id="tf_reject_node">monitor</span>/script<br>Is there a way to change the timeout value for the below script:<br>CheckWUAgentConfig.vbs<br><br>Best regards,<br><br>Michael Pultz-Hansen</p>© 2009 Microsoft Corporation. All rights reserved.Tue, 30 Jun 2009 08:06:01 Zb87da2ba-3f85-413f-b191-7629d3b4060dhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#b87da2ba-3f85-413f-b191-7629d3b4060dhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#b87da2ba-3f85-413f-b191-7629d3b4060dmichael074http://social.technet.microsoft.com/Profile/en-US/?user=michael074Change timeout of script<p align=left><font face=Arial size=2>Hi,</font></p> <p align=left> </p> <p align=left>I'm looking for a way to change the timeout value of a script In SCE 2007 SP1.<br>The specific script is one of quite a few failing with a timeout error.<br>So far I've been able to locate the monitor using the script, but the timeout value is greyed out. The location is:<br>Authoring: Management Pack Objects/Monitors/Agent/Ent<wbr>ity Health/Availability/Manage<wbr>d Computer update server configuration <span id="tf_reject_node">monitor</span>/script<br>Is there a way to change the timeout value for the below script:<br>CheckWUAgentConfig.vbs<br><br>Best regards,<br><br>Michael Pultz-Hansen</p>Mon, 09 Jun 2008 09:09:27 Z2008-06-09T09:09:27Zhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#b18ab230-b0f3-4e91-8301-5c05d59de132http://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#b18ab230-b0f3-4e91-8301-5c05d59de132Eric Zhang - MSFThttp://social.technet.microsoft.com/Profile/en-US/?user=Eric%20Zhang%20-%20MSFTChange timeout of scriptHi Michael,<br><br>This monitor which contains the scrips belongs to System Center Essentials 2007 Management Pack which is sealed, that's the reason why you cannot modify the time out value.<br><br>Did this error occur on one specific client or on several clients?<br><br>--------------------<br>Regards,<br>Eric Zhang<br><br><br><br><br>Tue, 10 Jun 2008 07:39:29 Z2008-06-10T07:39:29Zhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#f1989c3e-ab24-4999-83f5-1a8a8ddc7d0dhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#f1989c3e-ab24-4999-83f5-1a8a8ddc7d0dmichael074http://social.technet.microsoft.com/Profile/en-US/?user=michael074Change timeout of script<p>Hi Eric,</p> <p align=left> </p> <p align=left>I see this timeout error (and several other) on several clients. The specific error I experience is:</p> <p align=left> </p> <p align=left>Forced to terminate the following process started at 07:49:57 because it ran past the configured timeout 30 seconds. Command executed: &quot;C:\WINDOWS\system32\cscript.exe&quot; /nologo &quot;CheckWUAgentConfig.vbs&quot; CG-SYS_MG Working Directory: C:\Programmer\System Center Operations Manager 2007\Health Service State\Monitoring Host Temporary Files 11\975\ One or more workflows were affected by this. </p> <p align=left> </p> <p align=left>Can I change the timeout value in the MP xml file:</p> <p align=left> </p> <p align=left>Microsoft.SystemCenter.Essentials.2007.{6B0A0E1F-9339-E84F-4A8C-56FC7B4C9AE4}.{F2BF1A19-89DD-1806-BF9F-8C648A796B27}.xml</p> <p align=left><font face=Arial size=2></font> </p> <p><span class=m><font color="#0000ff">&lt;</font></span><span class=t><font color="#990000">TimeoutSeconds</font></span><span class=m><font color="#0000ff">&gt;</font></span><span class=tx><strong>30</strong></span><span class=m><font color="#0000ff">&lt;/</font></span><span class=t><font color="#990000">TimeoutSeconds</font></span><span class=m><font color="#0000ff">&gt;</font></span> </p> <p align=left> </p> <p align=left>Best regards,</p> <p align=left> </p> <p align=left>Michael</p>Tue, 10 Jun 2008 07:57:43 Z2008-06-10T07:57:43Zhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#50279297-49ba-4c5c-9bf7-5ae26ff21d3ehttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#50279297-49ba-4c5c-9bf7-5ae26ff21d3eEric Zhang - MSFThttp://social.technet.microsoft.com/Profile/en-US/?user=Eric%20Zhang%20-%20MSFTChange timeout of scriptHi Michael,<br><br>As this MP is sealed, so you cannot modify it, did you find any error on the event viewer on the problematic client?<br><br>--------------------<br>Regards,<br>Eric Zhang<br><br><br><br>Wed, 11 Jun 2008 13:01:47 Z2008-06-11T13:01:47Zhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#f478820d-fde6-4778-b066-c2b4c0909fc0http://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#f478820d-fde6-4778-b066-c2b4c0909fc0michael074http://social.technet.microsoft.com/Profile/en-US/?user=michael074Change timeout of script<p>Hi Eric!</p> <p align=left> </p> <p align=left>I just checked a couple of the problematic clients and they have 4 warnings. The OS is Windows XP SP3 (Danish), so I've tried to translate the error messages.</p> <p align=left> </p> <p align=left> </p> <p align=left>Source: WinMgmt  Error: 35</p><font size=1> <p>WMI ADAP could not read performancelibrary ASP.NET, because it returned invalid data: 0x0</p> <p align=left> </p> <p align=left>Source: WinMgmt  Error: 40</p><font size=1> <p>WMI ADAP could not create object Win32_PerfRawData_ASPNET_ASPNETApplications for the performancefile ASP.NET, because error 0x80041001 was returned.</p></font></font> <p align=left><font face=Arial size=2></font> </p> <p align=left>Source: WinMgmt  Error: 35</p><font size=1> <p>WMI ADAP could not read performancelibrary ASP.NET, because it returned invalid data: 0x0</p> <p> </p> <p align=left>Source: WinMgmt  Error: 40</p><font size=1> <p>WMI ADAP could not create object Win32_PerfRawData_ASPNET_2050727_ASPNETAppsv2050727 for the performancefile ASP.NET_2.0.50727, because error 0x80041001 was returned.</p> <p> </p> <p align=left> </p> <p align=left>I guess the scipt uses ASP.NET 2.0  ??</p> <p align=left> </p> <p align=left> </p> <p align=left>Best regards,</p> <p align=left> </p> <p align=left>Michael</font></font></p>Wed, 11 Jun 2008 13:18:24 Z2008-06-11T13:18:24Zhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#2c631048-e253-42fa-87c2-5abbfe20a68dhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#2c631048-e253-42fa-87c2-5abbfe20a68dEric Zhang - MSFThttp://social.technet.microsoft.com/Profile/en-US/?user=Eric%20Zhang%20-%20MSFTChange timeout of scriptHi Micheal,<br><br>In <a class=KeywordHighlight name="#h5">SCE console, </a> under Agent managed, look at your version column. If they are not all at version 6.0.6278.0 then update them. <br><br>Also, if the version is 6.0.6278.0, please delete the problematic cilent and push the agent to it again, then check whether the problem will still exists.<br><br>--------------------<br>Regards,<br>Eric Zhang<br><br><br><br>Wed, 11 Jun 2008 13:34:31 Z2008-06-11T13:34:31Zhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#b03a43d2-4241-4eee-8808-6e5df6a6ecc5http://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#b03a43d2-4241-4eee-8808-6e5df6a6ecc5michael074http://social.technet.microsoft.com/Profile/en-US/?user=michael074Change timeout of script<p>Hi Eric,</p> <p align=left> </p> <p align=left>All my agents are version 6.0.6278.0.</p> <p align=left> </p> <p align=left>I made and uninstall of one of the agents and then pushed the agent again.</p> <p align=left> </p> <p align=left>So far I haven't seen the timeout error, but I still see the 4 errors in the eventlog...</p> <p align=left> </p> <p align=left>I'll se if the timeout error returns tomorrow, as I'm on my way home, I'll update you tomorrow.</p> <p align=left> </p> <p align=left>Best regards, </p> <p align=left> </p> <p align=left>Michael</p>Wed, 11 Jun 2008 14:06:41 Z2008-06-11T14:06:41Zhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#871518dd-de1a-463c-bb20-b7ef7612d6cahttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#871518dd-de1a-463c-bb20-b7ef7612d6camichael074http://social.technet.microsoft.com/Profile/en-US/?user=michael074Change timeout of script<p>Hi Eric,</p> <p align=left> </p> <p align=left>after uninstall and install of a few of the problematic clients, it seems as if the timeout error has disappeared. I'll keep monitoring the clients in the next few days and let you know if the problem is in fact gone.</p> <p align=left> </p> <p align=left>Best regards,</p> <p align=left> </p> <p align=left>Michael</p> <p align=left><font face=Arial size=2></font> </p>Thu, 12 Jun 2008 09:27:03 Z2008-06-12T09:27:03Zhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#240a217e-3b8f-450c-9a6b-6a9c2003e65dhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#240a217e-3b8f-450c-9a6b-6a9c2003e65dmichael074http://social.technet.microsoft.com/Profile/en-US/?user=michael074Change timeout of script<p>Hi Eric,</p> <p align=left> </p> <p align=left>the problem has disappeared on some clients, but on others we still get the timeout error and the question is if it isn't going to be a problem in time on those clients which at the moment are OK...?</p> <p align=left> </p> <p align=left>Have you any suggestion as to what to do next?</p> <p align=left> </p> <p align=left>Best regards,</p> <p align=left> </p> <p align=left>Michael</p> <p align=left><font face=Arial size=2></font> </p>Fri, 13 Jun 2008 12:28:48 Z2008-06-13T12:28:48Zhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#62aa738e-4dbc-41a0-b479-43f902496343http://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#62aa738e-4dbc-41a0-b479-43f902496343Eric Zhang - MSFThttp://social.technet.microsoft.com/Profile/en-US/?user=Eric%20Zhang%20-%20MSFTChange timeout of scriptHi Michael,<br><br>For this timeout issue, I think we can resolve it in this way:<br><br>As we cannot modify the timeout setting in this monitor as the MP is sealed, we could disable this monitor and recreate the monitor in a new MP and change the timeout setting to what you want.<br><br>1. Open SCE console, navigate to &quot;Authoring&quot; space, choose &quot;Management Pack Objects&quot; - &quot;Monitors&quot;<br><br>2. In the details pane, select &quot;Agent&quot; - &quot;Entity Health&quot; - &quot;Availability&quot; - <span id="_ctl0_MainContent_PostFlatView"><span>&quot;Manage<wbr>d Computer update server configuration <span id="tf_reject_node">monitor&quot;.<br><br>3. Right click it and choose &quot;properties&quot;. In the script tab, copy the script.<br><br>4. Disable this moniotr.<br><br>5.  Create a new unit monitor, the type is &quot;Timed script two state monitor&quot;, you can save it in default management pack.<br><br>6. The target is &quot;Agent&quot;, the parent monitor is &quot;Availability&quot;, then copy the script into it and set the timeout value to a long value.<br><br>--------------------<br>Regards,<br>Eric Zhang<br><br><br><br></span></span></span>Mon, 16 Jun 2008 10:24:08 Z2008-06-16T10:24:08Zhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#e63cf7b7-449a-4604-95f3-febbefa120bahttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#e63cf7b7-449a-4604-95f3-febbefa120bamichael074http://social.technet.microsoft.com/Profile/en-US/?user=michael074Change timeout of script<p>Hi Eric,</p> <p align=left> </p> <p align=left>I've tried to disable the original script and then create a copy of the script. This seemed pretty straightforward...</p> <p align=left>Now the copy of the script exits with the following error:</p> <p align=left> </p> <p align=left>The process started at 11:36:53 failed to create System.PropertyBagData, no errors detected in the output. The process exited with 4294967295 Command executed: &quot;C:\Windows\system32\cscript.exe&quot; /nologo &quot;nyConfigWsus.vbs&quot; Working Directory: C:\Program Files\System Center Essentials 2007\Health Service State\Monitoring Host Temporary Files 9\1353\ One or more workflows were affected by this. Workflow name: UIGeneratedMonitor9ec07547bf1e4b889bab4b4145b631b9 Instance name: PC091CG.compugame.dk Instance ID: {2331A930-ADCC-BE3B-147B-66F1AA2D3A45} Management group: CG-SYS_MG</p> <p align=left> </p> <p align=left>As I can deduce it tries to run the script nyConfigWsus.vbs in the root of the system instead of in this path: C:\Program Files\System Center Essentials 2007\Health Service State\Monitoring Host Temporary Files 9\1353\</p> <p align=left> </p> <p align=left>I've tried to paste this command to a cmd prompt on the affected system:</p> <p align=left> </p> <p align=left>C:\Windows\system32\cscript.exe&quot; /nologo &quot;C:\Program Files\System Center Essentials 2007\Health Service State\Monitoring Host Temporary Files 9\1353\nyConfigWsus.vbs&quot; Working Directory: C:\Program Files\System Center Essentials 2007\Health Service State\Monitoring Host Temporary Files 9\1353\</p> <p align=left> </p> <p align=left><font face=Arial size=2>With that command there's no error.</font></p> <p align=left> </p> <p align=left>How do I change the path to nyConfigWsus.vbs from:</p> <p align=left> </p> <p align=left>c:\nyConfigWsus.vbs</p> <p align=left> </p> <p align=left>to </p> <p align=left> </p> <p align=left>C:\Program Files\System Center Essentials 2007\Health Service State\Monitoring Host Temporary Files 9\1353\nyConfigWsus.vbs</p> <p align=left> </p> <p align=left>I expect the &quot;Monitoring Host Temporary Files 9\1353\&quot; is different from client to client and from time to time...</p> <p align=left> </p> <p align=left>Best regards, </p> <p align=left> </p> <p align=left>Michael</p>Tue, 17 Jun 2008 10:10:31 Z2008-06-17T10:10:31Zhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#3b63a6e7-85c0-4477-8648-a9ccf971683ahttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#3b63a6e7-85c0-4477-8648-a9ccf971683amichael074http://social.technet.microsoft.com/Profile/en-US/?user=michael074Change timeout of script<p>Hello!</p> <p align=left> </p> <p align=left>Does anyone have a suggestion regarding the path problem described above??</p> <p align=left> </p> <p align=left>Best regards,</p> <p align=left> </p> <p align=left>Michael</p> <p align=left><font face=Arial size=2></font> </p>Tue, 24 Jun 2008 06:23:36 Z2008-06-24T06:23:36Zhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#b300f3b5-b1f0-41ef-832b-2c7c7d76972ahttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#b300f3b5-b1f0-41ef-832b-2c7c7d76972aEric Zhang - MSFThttp://social.technet.microsoft.com/Profile/en-US/?user=Eric%20Zhang%20-%20MSFTChange timeout of script<font size=2><span style="font-family:Arial">Hi Michael,<br><br>Sorry for the delay, did the error appear again? I tried several tests in my environment, but cannot modify the path.<br><br>--------------------<br>Regards,<br>Eric Zhang<br><br><br><br></span></font>Wed, 25 Jun 2008 10:04:17 Z2008-06-25T10:04:17Zhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#8544b78c-fb41-4a63-8f10-113197fde7achttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#8544b78c-fb41-4a63-8f10-113197fde7acmichael074http://social.technet.microsoft.com/Profile/en-US/?user=michael074Change timeout of script<p>Hi Eric,</p> <p align=left> </p> <p align=left>Yes the error is still present, though I've disabled both the original script and the new in an effort not to clutter the SCE Console whith irellevant errors.</p> <p align=left> </p> <p align=left>I'm pretty sure it's a path problem - does the error number mean anything to you?</p> <p align=left> </p> <p align=left>Best regards,</p> <p align=left> </p> <p align=left>Michael</p> <p align=left><font face=Arial size=2></font> </p>Wed, 25 Jun 2008 10:16:53 Z2008-06-25T10:16:53Zhttp://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#2e3f8dab-26e2-4fb0-8537-254a9a7596a9http://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/b87da2ba-3f85-413f-b191-7629d3b4060d#2e3f8dab-26e2-4fb0-8537-254a9a7596a9Michael M Thttp://social.technet.microsoft.com/Profile/en-US/?user=Michael%20M%20TChange timeout of script<blockquote> <p align=left>The process started at 11:36:53 failed to create System.PropertyBagData, no errors detected in the output. The process exited with 4294967295 Command executed: &quot;C:\Windows\system32\cscript.exe&quot; /nologo &quot;nyConfigWsus.vbs&quot; Working Directory: C:\Program Files\System Center Essentials 2007\Health Service State\Monitoring Host Temporary Files 9\1353\ One or more workflows were affected by this. Workflow name: UIGeneratedMonitor9ec07547bf1e4b889bab4b4145b631b9 Instance name: PC091CG.compugame.dk Instance ID: {2331A930-ADCC-BE3B-147B-66F1AA2D3A45} Management group: CG-SYS_MG</p> <br/></blockquote> <br/>Was this issue ever resolved? I am experiencing the same error code.Tue, 30 Jun 2009 08:06:01 Z2009-06-30T08:06:01Z