<?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>A Developer&#039;s Blog &#187; Windows</title>
	<atom:link href="http://blog.hoegaerden.be/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hoegaerden.be</link>
	<description>SQL Server, BI, .NET, IT and anything else I have been playing with.</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:15:30 +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>The Windows 7 Connection Drop Issue</title>
		<link>http://blog.hoegaerden.be/2010/08/06/the-windows-7-connection-drop-issue/</link>
		<comments>http://blog.hoegaerden.be/2010/08/06/the-windows-7-connection-drop-issue/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 12:02:59 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/08/06/the-windows-7-connection-drop-issue/</guid>
		<description><![CDATA[For months now I’ve been getting annoyed by occasional drops of my network connection on my Windows 7 64-bit laptop.  I couldn’t really attach the problem to a specific action and the event logs were of not much use either, which is why it took me so long to get it fixed.  But now I [...]]]></description>
			<content:encoded><![CDATA[<p>For months now I’ve been getting annoyed by occasional drops of my network connection on my Windows 7 64-bit laptop.  I couldn’t really attach the problem to a specific action and the event logs were of not much use either, which is why it took me so long to get it fixed.  But now I finally seem to have found a solution.</p>
<h2>The Issue Description</h2>
<p>Let me first describe the issue a bit.  While working on my PC I noticed that I lost internet connectivity.  The <strong>Internet Access </strong>icon would show a yellow triangle with an exclamation mark inside it – the Warning sign.  Right-clicking that icon (indicated with the red circle in the screenshot below) shows <em>Troubleshoot problems </em>as one of the options.  I tried that option several times in a hope to get the issue fixed.  Unfortunately this did not result in a working connection, and neither did it give me an explanation of what was going on.</p>
<p><img style="display: inline; border-width: 0px;" title="image" src="http://blog.hoegaerden.be/wp-content/uploads/image324.png" border="0" alt="image" width="227" height="81" /></p>
<p>The only working solution was a full reboot.  In the cases where I first tried to solve the problem through the <em>Troubleshoot problems</em> option I would find the network adapter to be disabled after the reboot, needing a manual activation.</p>
<p>Obviously this was a situation which I wasn’t planning to keep.  Especially as the connection also drops while I’m downloading software through my Technet subscription (thank you <a title="Posts related to the PASS organization" href="http://blog.hoegaerden.be/tag/pass/">PASS Conference</a>!!).  So a couple of days ago I decided to search the internet for a solution.  And I seem to have found one!</p>
<h2>The Solution</h2>
<p>I have changed two different settings on my network adapter.  Since doing that I haven’t lost my connection anymore.  Now the problem is that I don’t know if both these settings need to be modified in order to get the issue solved.  I will explain both of them but I think just one of them is really needed.  As I don’t want to take a chance to mess up my connectivity again, I’ll leave it up to you to try it out (post a comment with the result!).</p>
<h3>Internet Protocol version 6</h3>
<p>The first setting that was modified is the IPv6 support on my network adapter.  It was enabled and I disabled it.</p>
<p>To get to that setting, use the following click sequence: Start &gt; Control Panel &gt; Network and Internet &gt; Network and Sharing Center &gt; Change adapter settings &gt; right-click your network adapter and choose Properties.</p>
<p>In the <strong>Networking</strong> tab you’ll find an option called <em>Internet Protocol version 6 (TCP/IPv6)</em>.  Uncheck the checkbox to disable it.</p>
<p>I don’t really think that this was the setting that I needed to fix the problem.  I think the following did the trick.</p>
<p>Don’t close the Properties window just yet.</p>
<h3>Allow computer to disable network device – or not</h3>
<p>On the Local Area Connection Properties screen you’ll notice a button called <strong>Configure…</strong>.</p>
<p><img style="display: inline; border: 0px;" title="Local Area Connection Properties" src="http://blog.hoegaerden.be/wp-content/uploads/image325.png" border="0" alt="Local Area Connection Properties" width="377" height="474" /></p>
<p>Click that one to open up more properties of your network adapter.  One of the tabs is called <strong>Power Management</strong>, open that one.</p>
<p>One of the options on that window is called <em>Allow the computer to turn off this device to save power</em>.  This was enabled by default.  I disabled it.</p>
<p><img style="display: inline; border: 0px;" title="Advanced Network Adapter Properties" src="http://blog.hoegaerden.be/wp-content/uploads/image326.png" border="0" alt="Advanced Network Adapter Properties" width="414" height="461" /></p>
<p>And I think that’s what solved my issue.  At least, it seems more logical.  During longer downloads I can imagine that the driver thinks that there’s not activity (although that would be a bug to me then), so it goes on and disables the device – while it is actually still in use.</p>
<p>Anyway, time to leave on holiday!  I’ve got a couple of articles coming up soon, but first time to have some fun with the family.  See you soon!</p>
<p>Valentino.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2010%2F08%2F06%2Fthe-windows-7-connection-drop-issue%2F&amp;title=The%20Windows%207%20Connection%20Drop%20Issue" id="wpa2a_2"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/08/06/the-windows-7-connection-drop-issue/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows 7 Screen Capture Tool</title>
		<link>http://blog.hoegaerden.be/2010/02/14/windows-7-screen-capture-tool/</link>
		<comments>http://blog.hoegaerden.be/2010/02/14/windows-7-screen-capture-tool/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 21:48:41 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/02/14/windows-7-screen-capture-tool/</guid>
		<description><![CDATA[We’ve finally gotten a built-in tool in Windows to capture those screenshots for blogging/documentation/whatever purposes.&#160; And it has been given the magical, oh-so-logical name of Snipping Tool! Update: I’m aware that Vista already contained this tool.&#160; But I’m one of those guys who managed to stay away from Vista so to me it’s new Let’s [...]]]></description>
			<content:encoded><![CDATA[<p>We’ve finally gotten a built-in tool in Windows to capture those screenshots for blogging/documentation/whatever purposes.&#160; And it has been given the magical, oh-so-logical name of Snipping Tool!</p>
<p><strong>Update:</strong> I’m aware that Vista already contained this tool.&#160; But I’m one of those guys who managed to stay away from Vista so to me it’s new <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Let’s see if I can capture what it looks like by using the tool itself.&#160; Hmm, I can’t…&#160; Which is probably quite logical as it shouldn’t get in the way when you want to capture a screenshot of something.&#160; What you want to see then is anything but the actual tool used to do it, right??</p>
<p>I’ll go for the old-fashioned way then:<em> ALT + Print Screen</em> (it captures the active window).</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Windows 7 Snipping Tool - Capture those screens!" border="0" alt="Windows 7 Snipping Tool - Capture those screens!" src="http://blog.hoegaerden.be/wp-content/uploads/image186.png" width="403" height="383" /></p>
<p>In that screenshot I’ve demonstrated a couple of its features.&#160; It comes with a Pen that you can customize a bit into several colors and thickness.&#160; You’ve also got a marker tool called Highlighter – that’s the yellow part.&#160; And there’s an Eraser tool to remove any markings or pen editions you’ve made previously.</p>
<p>Another feature that’s not shown but that’s really useful is that the screenshots are automatically copied to the clipboard.&#160; But you can switch that off through the options if you don’t like it.</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Snipping Tool Options" border="0" alt="Snipping Tool Options" src="http://blog.hoegaerden.be/wp-content/uploads/image187.png" width="342" height="327" /></p>
<p>I would have hoped that a couple more features had been included, such as the ability to draw arrows without needing to use a freehand tool (as shown in screenshot above), and a Rectangle/Ellipse tool for some extra markings.</p>
<p>Anyway, what this means as far as I am concerned is that I no longer need to install my favorite screen capture tool (I’ve used a couple over the years but the last one was <a title="Screen Hunter" href="http://www.wisdom-soft.com/products/screenhunter.htm" target="_blank">Screen Hunter</a>).&#160; But for editing some screen captures I’ll still need to resort to my favorite image editor (<a title="paint.net" href="http://www.getpaint.net/" target="_blank">paint.net</a>).</p>
<p><strong>Where is it located?</strong> Well, <em>Start Button &gt; Snipping Tool</em>.&#160; At least, that’s where I found it in my Windows 7 Enterprise edition.</p>
<p><strong>What’s the hotkey?</strong> It’s <em>CTRL + Print Screen</em>.</p>
<p><strong>How do you use the hotkey??</strong> From the moment that you start up the application, it wants to make a screen capture.&#160; What this means is that your mouse pointer changes into a crosshair whenever it goes outside the Snipping Tool window.&#160; All you now need to do is hit the ESC button.&#160; Then switch to the application that you’d like to capture, possibly opening up a menu.&#160; With everything in place just as you want it captured, hit CTRL + Print Screen.&#160; There’s your crosshair again.</p>
<p>Have fun!</p>
<p>Valentino.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2010%2F02%2F14%2Fwindows-7-screen-capture-tool%2F&amp;title=Windows%207%20Screen%20Capture%20Tool" id="wpa2a_4"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/02/14/windows-7-screen-capture-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIS 7.5 And Windows Authentication</title>
		<link>http://blog.hoegaerden.be/2010/02/14/iis-7-5-and-windows-authentication/</link>
		<comments>http://blog.hoegaerden.be/2010/02/14/iis-7-5-and-windows-authentication/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 10:34:33 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[IIS 7.5]]></category>
		<category><![CDATA[Master Data Services]]></category>
		<category><![CDATA[MDS]]></category>
		<category><![CDATA[SQL Server 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/02/14/iis-7-5-and-windows-authentication/</guid>
		<description><![CDATA[Owkay, I’ve got a good one for you this time. And all it takes is checking a checkbox, just one checkbox! That’s the solution to a problem with which I’ve been struggling yesterday.&#160; What problem?&#160; Let me tell you. I’ve been installing Master Data Services (MDS) on my SQL Server 2008 R2.&#160; This feature will [...]]]></description>
			<content:encoded><![CDATA[<p>Owkay, I’ve got a good one for you this time.</p>
<blockquote><p>And all it takes is checking a checkbox, just one checkbox!</p>
</blockquote>
<p>That’s the solution to a problem with which I’ve been struggling yesterday.&#160; What problem?&#160; Let me tell you.</p>
<p>I’ve been installing <a title="SQL Server 2008 R2 Master Data Services" href="http://www.microsoft.com/sqlserver/2008/en/us/mds.aspx" target="_blank">Master Data Services</a> (MDS) on my SQL Server 2008 R2.&#160; This feature will not only create a database but also a website which you can use to manage MDS.&#160; And it’s the website part that I had a problem with.&#160; Everything installed just fine but when I tried to load the site in Internet Explorer 8 on my Windows 7 64-bit machine, I got the following error:</p>
<blockquote><p>HTTP Error 401.2 – Unauthorized</p>
<p>You are not authorized to view this page due to invalid authentication headers.</p>
</blockquote>
<p>Great, an authentication problem &#8211; aren&#8217;t those our favorite ones?&#160; And like any decent developer, I didn’t waste my time reading all the text on the error page and started investigating the issue.&#160; I had a look at the settings of the Application Pool and those of the Default Web Site.&#160; I also tried changing the security settings in IE.&#160; At the end I think I have tried every possible setting in <a title="Installing IIS 7.5 on Windows 7 Professional, Enterprise, or Ultimate" href="http://technet.microsoft.com/en-us/library/cc725762.aspx" target="_blank">IIS 7.5</a> (which is the version that ships with Windows 7), but I kept getting that same error.</p>
<p>I let some time pass (not on purpose but because we were going to visit my parents-in-law) and in the evening I decided to have another look.&#160; This time I took the effort of reading everything mentioned in the error:</p>
<p><a href="http://blog.hoegaerden.be/wp-content/uploads/image183.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="HTTP Error 401.2 - Unauthorized" border="0" alt="HTTP Error 401.2 - Unauthorized" src="http://blog.hoegaerden.be/wp-content/uploads/image_thumb53.png" width="657" height="582" /></a></p>
<p>Do you see that blue link down at the bottom, which I’ve marked with a red rectangle?&#160; That’s where I got the answer from!&#160; Clicking it opened up the following Microsoft Support page: <a title="Error message when you try to visit a Web page that is hosted on IIS 7.0: &quot;HTTP Error 401.2 - Unauthorized&quot;" href="http://support.microsoft.com/kb/942043/" target="_blank">Error message when you try to visit a Web page that is hosted on IIS 7.0: &quot;HTTP Error 401.2 &#8211; Unauthorized&quot;</a>.</p>
<p>Sounds familiar doesn’t it?&#160; Okay, it’s meant for IIS 7.0 but works for 7.5 as well.</p>
<p>I solved my problem by applying Resolution 1.&#160; In short: IIS was running without the Windows Authentication module installed!&#160; Apparently that is not installed by default when you activate Internet Information Services through the “Turn Windows features on or off” window.&#160; Here’s a screenshot showing what needs to be added:</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Activating Windows Authentication for IIS 7.5 in Windows 7" border="0" alt="Activating Windows Authentication for IIS 7.5 in Windows 7" src="http://blog.hoegaerden.be/wp-content/uploads/image184.png" width="660" height="653" /></p>
<p>Once that was set up I was able to load the MDS application:</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Master Data Services Home Page" border="0" alt="Master Data Services Home Page" src="http://blog.hoegaerden.be/wp-content/uploads/image185.png" width="627" height="598" /></p>
<p>If you’re looking for instructions on how to install and configure Master Data Services, have a look at <a title="Installing and Configuring Master Data Services 2008 R2 November CTP" href="http://sqlblog.com/blogs/mds_team/archive/2009/12/10/installing-and-configuring-master-data-services-2008-r2-november-ctp.aspx" target="_blank">this article at the Master Data Services Team blog</a>.</p>
<p>(Do I need to mention that this was the first-ever web application that I tried running on Windows 7? <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  )</p>
<p>Have fun!</p>
<p>Valentino.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2010%2F02%2F14%2Fiis-7-5-and-windows-authentication%2F&amp;title=IIS%207.5%20And%20Windows%20Authentication" id="wpa2a_6"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/02/14/iis-7-5-and-windows-authentication/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Windows XP: Fix The Search!</title>
		<link>http://blog.hoegaerden.be/2009/11/07/windows-xp-fix-the-search/</link>
		<comments>http://blog.hoegaerden.be/2009/11/07/windows-xp-fix-the-search/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 09:51:05 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2009/11/07/windows-xp-fix-the-search/</guid>
		<description><![CDATA[This is an old one but I keep needing it every once in a while.  Every time when I start using a new machine running Windows XP to be precise.  So I thought I’d post it here so next time I don’t need to spend five minutes looking to find the right page. Recently I [...]]]></description>
			<content:encoded><![CDATA[<p>This is an old one but I keep needing it every once in a while.  Every time when I start using a new machine running Windows XP to be precise.  So I thought I’d post it here so next time I don’t need to spend five minutes looking to find the right page.</p>
<p>Recently I needed to find all SSIS packages that were using a particular view and I performed a Windows Search on all .dtsx files in my project’s folder, searching for the view’s name.  And it didn’t give me any results even though I knew there were a couple of packages that were using it.  Is the search broken?</p>
<p>And then I remembered: no, it’s not broken.  Let’s just say that XP’s default settings are not ideal for developers (or power users in general I’d say).  By default XP does not search all file types!  And it’s a feature, not a bug!</p>
<p>Anyway, luckily the “fix” is not that complicated.  My preferred way of fixing this is Method 2 in this Microsoft Support article: <a title="Microsoft Support - Using the &quot;A word or phrase in the file&quot; search criterion may not work" href="http://support.microsoft.com/?kbid=309173" target="_blank">Using the &#8220;A word or phrase in the file&#8221; search criterion may not work.</a></p>
<p>Interesting to know, this is not a feature in Windows XP only, Windows Server 2003 got it as well.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2009%2F11%2F07%2Fwindows-xp-fix-the-search%2F&amp;title=Windows%20XP%3A%20Fix%20The%20Search%21" id="wpa2a_8"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2009/11/07/windows-xp-fix-the-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free up space on your C: partition</title>
		<link>http://blog.hoegaerden.be/2009/08/19/free-up-space-on-your-c-partition/</link>
		<comments>http://blog.hoegaerden.be/2009/08/19/free-up-space-on-your-c-partition/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 20:24:15 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2009/08/19/free-up-space-on-your-c-partition/</guid>
		<description><![CDATA[I’ve had the pleasure of seeing the following string in the Status Bar of my Explorer window while the focus was on the C: partition: Disk free space: 0 bytes This was after I got several error messages when logging on.  There was not enough space free to load my profile.  And that happened after [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve had the pleasure of seeing the following string in the Status Bar of my Explorer window while the focus was on the C: partition:</p>
<blockquote><p>Disk free space: 0 bytes</p></blockquote>
<p>This was after I got several error messages when logging on.  There was not enough space free to load my profile.  And that happened after I rebooted my machine because it had installed a batch of updates.</p>
<p>I was happy to see that even with all those errors, I could still get into Windows (XP SP3) &#8211; okay, it didn’t load my background picture nor my favorite Explorer settings but who cares at that point &#8211; and free up some space.  After doing that I rebooted and logged on again using my profile, this time it did load successfully.</p>
<p>As you may tell, I have been having space issues for a while now.  Here are some tips that you can use if you want to free up space on the C: partition of a Windows XP installation.</p>
<h2>Run Disk Cleanup</h2>
<p>In case you’re not familiar with this tool, have a look at <a title="Disk Cleanup Utility" href="http://www.theeldergeek.com/disk_cleanup_utility.htm" target="_blank">this article at The Elder Geek</a>, or <a title="Description of the Disk Cleanup Tool in Windows XP" href="http://support.microsoft.com/kb/310312" target="_blank">this Microsoft KB article</a>.</p>
<p>I run this occasionally, especially right before starting a defragmentation.  To defragment my drives I use <a title="JkDefrag" href="http://kessels.biz/JkDefrag/" target="_blank">JkDefrag</a> which does it quite nicely btw.</p>
<h2>Compress Folders</h2>
<p>If your partition is formatted using NTFS, you have the option of compressing your folders.  This is an easy solution but usually it doesn’t really give that much extra space.  Unless you are storing a lot of large text files on your C: partition.  Anyway, currently I have both my \Program Files\ and my \Documents and Settings\ folders compressed.</p>
<p>Beware though: <a title="Do not compress SQL Server folder" href="http://blog.hoegaerden.be/2009/01/18/do-not-compress-sql-server-folder/" target="_blank">SQL Server does not like its folders compressed</a>.</p>
<h2>Move Swap File</h2>
<p>If you haven’t done so already, an easy way to free up space is to move the pagefile.sys to another partition.  See the <a title="How to move the paging file in Windows XP" href="http://support.microsoft.com/kb/307886" target="_blank">How to move the paging file in </a><a title="How to move the paging file in Windows XP" href="http://support.microsoft.com/kb/307886" target="_blank">Windows XP</a> KB article for more info.</p>
<p>My paging file is on the D: partition.</p>
<h2>Reduce Space For System Restore</h2>
<p>Here’s an <a title="How the System Restore Tool Handles Hard-Disk Space Usage" href="http://support.microsoft.com/kb/300044" target="_blank">interesting article about how the System Restore functionality uses harddisk space</a>.  Now you know why you see the balloons popping out of the System Tray when you’re in a space race <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The fastest way that I can think of to change the space usage settings are: Windows Key + Break &gt; System Restore tab &gt; select drive &gt; Settings button.</p>
<p>As I recently ran out of space on the C: partition, practically all my restore points are gone already.</p>
<p>Good information about the System Restore tool is available <a title="10 things you should know about Windows XP's System Restore tool" href="http://articles.techrepublic.com.com/5100-10878_11-6048545.html" target="_blank">here on Tech Republic</a>.  With that info you’ll be able to decide how to adjust your settings.</p>
<h2>Remove Backup Folders</h2>
<h3>Hotfix Uninstall Folders</h3>
<p>When Windows updates are installed, for each hotfix there will be a backup folder.  You’ve probably already seen them.  Under C:\Windows there are some folders called $NtUninstallKB123456$, or similar.  You can even recognize the Knowledge Base number in the folder name.</p>
<p>These folders are only needed in case you want to uninstall a certain hotfix.  Until now I never needed to do this.  But still, to be safe, I keep the ones that have been installed recently, the last 3 months for instance.  The rest, I delete.</p>
<p>More info on these folders: <a title="http://windowsxp.mvps.org/Hotfix_backup.htm" href="http://windowsxp.mvps.org/Hotfix_backup.htm">http://windowsxp.mvps.org/Hotfix_backup.htm</a></p>
<h3>Service Pack Uninstall Folders</h3>
<p>Similar to the hotfix folders, backup folders are being created when installing a Windows XP Service Pack.  The folder that you may remove once you’ve decided that you will never want to uninstall your Service Packs is called $NtServicePackUninstall$.</p>
<p>Here’s a good Microsoft KB article about <a title="How to Remove Windows XP Service Pack 1 Folders" href="http://support.microsoft.com/kb/329260" target="_blank">How to Remove Windows XP Service Pack 1 Folders</a>.  Although it’s aimed at SP1, it still applies if you’ve installed SP3.  I have deleted all folders that contained “$NtServicePackUninstall” in their name.</p>
<p><a title="SolutionBase: Safely removing the Windows XP Service Pack 2 Uninstall files" href="http://articles.techrepublic.com.com/5100-22_11-5790472.html" target="_blank">Another good read</a> on this topic can be found on Tech Republic, where the writer covers a backup procedure in case you change your mind afterwards.</p>
<h3>SQL Server Hotfix Backup Folders</h3>
<p>Again similar to the Windows hotfix folders, hotfixes for SQL Server create uninstall folders as well.  The folders that you may find back on your machine (depending on what components you’ve got installed) are:</p>
<ul>
<li>SQL9_KBxxxxxx_ENU</li>
<li>SQLTools9_KBxxxxxx_ENU</li>
<li>RS9_KBxxxxxx_ENU</li>
<li>OLAP9_KBxxxxxx_ENU</li>
<li>DTS9_KBxxxxxx_ENU</li>
<li>NS9_KBxxxxxx_ENU</li>
</ul>
<p>These folders are for SQL Server 2005 and depending on what hotfixes you have installed you may have several similar folders with different KB numbers (the xxxxxx stands for a number).</p>
<p>I couldn’t find an article to support this part of my blog item, but here’s <a title="SQL Server Forums - SQL Server Database Engine - hotfix directories in C:\windows" href="http://social.msdn.microsoft.com/Forums/en-US/sqldatabaseengine/thread/cf3b72f2-4c94-4a4d-8307-1c71e7f77e30" target="_blank">a short discussion</a> about it with a comment from a Microsoft representative.</p>
<p>I removed them all.  (Please do note that this is not on a production environment.)</p>
<h3>Internet Explorer Update Backup Folders</h3>
<p>Just like the uninstall folders mentioned earlier, patches for Internet Explorer are creating backups as well.  On my machine I could find the following two folders:</p>
<ul>
<li>ie7updates</li>
<li>ie8updates</li>
</ul>
<p>If you don’t plan on uninstalling Internet Explorer 7/8, it should be safe to delete the content of these folders.  But I couldn’t find an official statement to confirm this.  If you know of an article that covers this please do let me know!</p>
<p>Until now I have not yet deleted these myself.</p>
<h2>Remove SQL Server Setup Log Files</h2>
<p>When performing installation changes to your SQL Server installation, including upgrades, several log files are created.  These files are located under C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG for SQL Server 2005 and C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log for SQL Server 2008.</p>
<p>Check out the Books Online for info on <a title="How to: View SQL Server 2005 Setup Log Files" href="http://msdn.microsoft.com/en-us/library/ms143702%28SQL.90%29.aspx" target="_blank">how to view</a> and <a title="How to: Read a SQL Server 2005 Setup Log File" href="http://msdn.microsoft.com/en-us/library/ms144287%28SQL.90%29.aspx" target="_blank">how to read</a> these setup log files.</p>
<p>If you’re not in the middle of performing installation changes and all your previous changes were successful then it’s safe to remove the content of this log folder.</p>
<p>More info on this folder related to security can be found in <a title="SQL Server 2005 Installation Log File Security Vulnerabilities" href="http://www.mssqltips.com/tip.asp?tip=1153" target="_blank">this MSSQLTips article</a>.</p>
<h2>Resize The Partition</h2>
<p>If with all of the above you’re still struggling for space, only one option (besides a full re-install) remains: resize the partition!</p>
<p>I wasn’t aware of a free tool that could do this until <a title="Davy Knuysen's blog" href="http://blog.davyknuysen.be/" target="_blank">one of my friends</a> told me about <a title="EASEUS Partition Master 4.0.1 Home Edition" href="http://www.partition-tool.com/personal.htm" target="_blank">EASEUS Partition Master</a> (thanks btw <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ).  If you need it professionally or you have a 64-bit machine, check out the <a title="EASEUS Partition Master Editions" href="http://www.partition-tool.com/easeus-partition-manager/comparison.html" target="_blank">Professional Edition</a>.</p>
<p>With this tool I was able to first make my D: partition smaller and then increase the size of the C: partition.</p>
<h2>Conclusion</h2>
<p>And Windows XP ran happily ever after…</p>
<p><em>Disclaimer: I hope it’s obvious for everyone that several of the manipulations mentioned above are not without any risk and should only be performed when you know what you’re doing.  And not in a production environment.  And only when you’re desperate (well, maybe not really but it helps) <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </em></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2009%2F08%2F19%2Ffree-up-space-on-your-c-partition%2F&amp;title=Free%20up%20space%20on%20your%20C%3A%20partition" id="wpa2a_10"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2009/08/19/free-up-space-on-your-c-partition/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

