<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>A new script error - SCOMpercentageCPUTimeCounter.vbs - Invalid class</title><link>http://blogs.technet.com/b/kevinholman/archive/2010/02/23/a-new-script-error-scompercentagecputimecounter-vbs-invalid-class.aspx</link><description>As you deploy the latest OpsMgr R2 core MP updates version 6.1.7599.0 which I blogged about HERE , you will probably notice a new script error popping up in your environment: Alert Description: The process started at 10:36:57 AM failed to create System</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: A new script error - SCOMpercentageCPUTimeCounter.vbs - Invalid class</title><link>http://blogs.technet.com/b/kevinholman/archive/2010/02/23/a-new-script-error-scompercentagecputimecounter-vbs-invalid-class.aspx#3573372</link><pubDate>Fri, 17 May 2013 14:21:58 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3573372</guid><dc:creator>Joe</dc:creator><description>&lt;p&gt;I have been struggling with this script and trying to get it work. &amp;nbsp;It turns out that many of my servers had bigger problems with the performance counters. &amp;nbsp;To resolve them, I simply rebuilt them using:&lt;/p&gt;
&lt;p&gt;lodctr /r&lt;/p&gt;
&lt;p&gt;This seemed to take care of the issue. &amp;nbsp; Prior to executing this command, the script would hang for a very long time and then return an error. &amp;nbsp;Now, it returns what looks like XML in about 30 seconds.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3573372" width="1" height="1"&gt;</description></item><item><title>re: A new script error - SCOMpercentageCPUTimeCounter.vbs - Invalid class</title><link>http://blogs.technet.com/b/kevinholman/archive/2010/02/23/a-new-script-error-scompercentagecputimecounter-vbs-invalid-class.aspx#3515793</link><pubDate>Thu, 23 Aug 2012 07:01:05 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3515793</guid><dc:creator>Leigh S</dc:creator><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;Microsoft has removed the 2000 Resource kit from its download site.&lt;/p&gt;
&lt;p&gt;The same thing can be accomplished by modify the following registry value. &lt;/p&gt;
&lt;p&gt;\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance&lt;/p&gt;
&lt;p&gt;Disable Performance Counters from 1 to 0&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3515793" width="1" height="1"&gt;</description></item><item><title>re: A new script error - SCOMpercentageCPUTimeCounter.vbs - Invalid class</title><link>http://blogs.technet.com/b/kevinholman/archive/2010/02/23/a-new-script-error-scompercentagecputimecounter-vbs-invalid-class.aspx#3500982</link><pubDate>Wed, 30 May 2012 14:21:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3500982</guid><dc:creator>bobgreen84</dc:creator><description>&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://technet.microsoft.com/en-us/library/dd279686.aspx"&gt;technet.microsoft.com/.../dd279686.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3500982" width="1" height="1"&gt;</description></item><item><title>re: A new script error - SCOMpercentageCPUTimeCounter.vbs - Invalid class</title><link>http://blogs.technet.com/b/kevinholman/archive/2010/02/23/a-new-script-error-scompercentagecputimecounter-vbs-invalid-class.aspx#3446452</link><pubDate>Thu, 11 Aug 2011 08:20:05 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3446452</guid><dc:creator>Alph</dc:creator><description>&lt;p&gt;Thanks a lot ! Good explanation and solution works like a charme :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3446452" width="1" height="1"&gt;</description></item><item><title>re: A new script error - SCOMpercentageCPUTimeCounter.vbs - Invalid class</title><link>http://blogs.technet.com/b/kevinholman/archive/2010/02/23/a-new-script-error-scompercentagecputimecounter-vbs-invalid-class.aspx#3389509</link><pubDate>Wed, 23 Feb 2011 17:08:16 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3389509</guid><dc:creator>Stephen Leuthold</dc:creator><description>&lt;p&gt;Worked on most of my servers. In one case I had to stop winmgmt and run wmiadap /f.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3389509" width="1" height="1"&gt;</description></item><item><title>re: A new script error - SCOMpercentageCPUTimeCounter.vbs - Invalid class</title><link>http://blogs.technet.com/b/kevinholman/archive/2010/02/23/a-new-script-error-scompercentagecputimecounter-vbs-invalid-class.aspx#3385060</link><pubDate>Fri, 04 Feb 2011 16:18:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3385060</guid><dc:creator>Kevin Holman</dc:creator><description>&lt;p&gt;@Stewart - &lt;/p&gt;
&lt;p&gt;If 2008 R2 - make sure WMI isnt leaking memory per my other article.&lt;/p&gt;
&lt;p&gt;If not 2008 R2 - make sure cscript is updated to 5.7, and WMI is functional, then walk through the script and try and determin which steps are failing to return data.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3385060" width="1" height="1"&gt;</description></item><item><title>re: A new script error - SCOMpercentageCPUTimeCounter.vbs - Invalid class</title><link>http://blogs.technet.com/b/kevinholman/archive/2010/02/23/a-new-script-error-scompercentagecputimecounter-vbs-invalid-class.aspx#3384929</link><pubDate>Fri, 04 Feb 2011 04:33:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3384929</guid><dc:creator>Stewart Anderson</dc:creator><description>&lt;p&gt;Kevin, ive got an issue whereby this script returns&lt;/p&gt;
&lt;p&gt;The process started at 2:28:15 PM failed to create System.PropertyBagData, no errors detected in the output. &amp;nbsp;The process exited with 0&lt;/p&gt;
&lt;p&gt;Command executed:	&amp;quot;C:\Windows\system32\cscript.exe&amp;quot; /nologo &amp;quot;SCOMpercentageCPUTimeCounter.vbs&amp;quot; BACVSDWH01.domain.net false 3&lt;/p&gt;
&lt;p&gt;Working Directory:	C:\Program Files\System Center Operations Manager 2007\Health Service State\Monitoring Host Temporary Files 1\1674\ &lt;/p&gt;
&lt;p&gt;One or more workflows were affected by this. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Workflow name: Microsoft.SystemCenter.HealthService.SCOMpercentageCPUTimeMonitor &lt;/p&gt;
&lt;p&gt;Instance name: BACVSDWH0.domain.net &lt;/p&gt;
&lt;p&gt;Instance ID: {BE9C744E-D538-DB04-6F2C-5AEF157DBFC0} &lt;/p&gt;
&lt;p&gt;Management group: BACSCOM&lt;/p&gt;
&lt;p&gt;The server has been rebooted and is functioing fine so not sure where to go? &amp;nbsp;If i manually run the script i get nothing back also.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3384929" width="1" height="1"&gt;</description></item><item><title>re: A new script error - SCOMpercentageCPUTimeCounter.vbs - Invalid class</title><link>http://blogs.technet.com/b/kevinholman/archive/2010/02/23/a-new-script-error-scompercentagecputimecounter-vbs-invalid-class.aspx#3347051</link><pubDate>Tue, 27 Jul 2010 13:21:29 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3347051</guid><dc:creator>Yury Habets</dc:creator><description>&lt;p&gt;Kevin, I have one server at our customers&amp;#39; with the issue, and I noticed that all rules dealing with &amp;quot;Process&amp;quot; performance object are not collecting any data. This affects not only &amp;quot;agent processor utilization&amp;quot; workflows, but also w3wp.exe monitoring and so on.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve asked to apply the fix. I&amp;#39;ll post back if everything is OK.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3347051" width="1" height="1"&gt;</description></item><item><title>re: A new script error - SCOMpercentageCPUTimeCounter.vbs - Invalid class</title><link>http://blogs.technet.com/b/kevinholman/archive/2010/02/23/a-new-script-error-scompercentagecputimecounter-vbs-invalid-class.aspx#3342038</link><pubDate>Mon, 05 Jul 2010 07:01:50 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3342038</guid><dc:creator>Stephen</dc:creator><description>&lt;p&gt;IBM X3950&lt;/p&gt;
&lt;p&gt;X64&lt;/p&gt;
&lt;p&gt;32GB Mem&lt;/p&gt;
&lt;p&gt;Server 2008 R2&lt;/p&gt;
&lt;p&gt;I found this article over the weekend and applied the hotfix. I think this has resolved my issue as 5 of the servers has not come back with any issues&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.technet.com/b/kevinholman/archive/2010/06/09/wmi-leaks-memory-on-server-2008-r2-monitored-agents.aspx"&gt;blogs.technet.com/.../wmi-leaks-memory-on-server-2008-r2-monitored-agents.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3342038" width="1" height="1"&gt;</description></item><item><title>re: A new script error - SCOMpercentageCPUTimeCounter.vbs - Invalid class</title><link>http://blogs.technet.com/b/kevinholman/archive/2010/02/23/a-new-script-error-scompercentagecputimecounter-vbs-invalid-class.aspx#3341792</link><pubDate>Fri, 02 Jul 2010 14:26:23 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3341792</guid><dc:creator>Kevin Holman</dc:creator><description>&lt;p&gt;On:&lt;/p&gt;
&lt;p&gt;SCOMpercentageCPUTimeCounter.vbs(212, 2) SWbemObjectSet: Out of memory Assuming Issue with WMI&lt;/p&gt;
&lt;p&gt;SCOMpercentageCPUTimeCounter.vbs(125, 5) SWbemRefresher: No more threads can be created in the system. Assuming Issue with WMI&lt;/p&gt;
&lt;p&gt;I have seen both of these - and both times it appeared to be an issue with WMI. &amp;nbsp;It didnt need a WMI rebuild - it needed the WMI service restarted or a reboot of the OS. &amp;nbsp;Can you please find out on the majorty of systems with these errors - what OS are they running? &amp;nbsp;Also - how much memory (private bytes) are the WMI processes using in Task manager? &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3341792" width="1" height="1"&gt;</description></item></channel></rss>