<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Olaf's Thoughts About Development &#187; driver</title>
	<atom:link href="http://www.monien.net/blog/index.php/tag/driver/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.monien.net/blog</link>
	<description>Delphi Programming, .NET Philosophy, Web development and more ...</description>
	<lastBuildDate>Wed, 21 Jul 2010 10:55:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>HP Printer Driver Causing 100% CPU &#8211; and how to fix that</title>
		<link>http://www.monien.net/blog/index.php/2008/08/hp-printer-driver-causing-100-cpu-and-how-to-fix-that/</link>
		<comments>http://www.monien.net/blog/index.php/2008/08/hp-printer-driver-causing-100-cpu-and-how-to-fix-that/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 01:48:17 +0000</pubDate>
		<dc:creator>Olaf Monien</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[OfficeJet]]></category>
		<category><![CDATA[Scott Hanselman]]></category>
		<category><![CDATA[svchost]]></category>
		<category><![CDATA[SysInternals]]></category>
		<category><![CDATA[wbemcore]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false">http://www.monien.net/blog/?p=191</guid>
		<description><![CDATA[Experiencing 100% CPU periodically? Installed an HP printer recently? Talking about printer drivers is certainly somewhat off-topic on development blog, but as every developer uses a printer I thought this article to be possibly helpful &#8230; I am a long time fan of Hewlett Packard (HP) printers. My oldest one, an HP 4L is about [...]]]></description>
			<content:encoded><![CDATA[<p>Experiencing 100% CPU periodically? Installed an HP printer recently?</p>
<p>Talking about printer drivers is certainly somewhat off-topic on development blog, but as every developer uses a printer I thought this article to be possibly helpful &#8230;</p>
<p><span id="more-191"></span></p>
<p>I am a long time fan of Hewlett Packard (HP) printers. My oldest one, an HP 4L is about 16 years old and refuses to break. I have several other HP printers, all producing excellent printouts. Everytime I had to deal with other brands, they broke early or had hardware weaknesses I didn&#8217;t like.</p>
<p>There is and was one point though: HP&#8217;s driver installation just sucks. I believe the HP 4l&#8217;s installation was fine, it did was it was supposed to do: install a working driver. Most others come with a CD, which auto-runs a setup which installs tons of things I don&#8217;t want and don&#8217;t need.</p>
<p>So when connecting to an HP printer, I am usually careful:</p>
<ul>
<li>don&#8217;t run the main setup exe</li>
<li>just add the printer to Windows and use the &#8220;have disk&#8221; option</li>
<li>make sure it does not attempt to run any &#8220;external&#8221; stuff</li>
</ul>
<p>Last week I got a new HP OfficeJet. Nice piece of hardware. Fast and even has separate ink containers for each color. So far so good. For some reason I did not follow my own rules above and let setup.exe run <img src='http://www.monien.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>So guess what, a little later my CPU started to go to 100% CPU for minutes periodically (actually 50%, as I have a dual core). Unfortunately it&#8217;s not easy to find out what&#8217;s actually causing the reason of this 100%  CPU situation. Windows Task-Manager just says it&#8217;s one of the various svchost.exe processes &#8211; which can be each and everything.</p>
<p>Using SysInternals Process Explorer I was able to track it down to wbemcore.dll. This is still not an HP file, but an DLL of Window&#8217;s WMI subsystem. For information about WMI see <a title="WMI" href="http://en.wikipedia.org/wiki/Windows_Management_Instrumentation" target="_blank">Wikipedia&#8217;s article</a>. Searching on Google shows many reports of this from HP printer users &#8230;</p>
<p>My first attempt was to run the HP un-installer routine, and I deleted all HP releted dlls from system32. This did not help though.  After a few more Google searches I found Scott Hanselman&#8217;s blog about <a href="http://www.hanselman.com/blog/SvchostexeSucksCPUAndRebuldingTheWMIWBEMRepository.aspx" target="_blank">Rebuilding the WMI/WBEM Repository</a>. That finally helped &#8211; I got my CPU back <img src='http://www.monien.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For your convenience I&#8217;ve put the required rebuild steps into an easy to use batch file. Get that file below:</p>
<p><code>[download#1#size#nohits]</code></p>
<p>This file is provided &#8220;as is&#8221;. I take no responsibility for any damages. Use at your own risk. Always create a backup before modifying system files.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.monien.net/blog/index.php/2008/08/hp-printer-driver-causing-100-cpu-and-how-to-fix-that/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
