<?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/tag/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>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_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/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_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/2009/08/19/free-up-space-on-your-c-partition/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

