<?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>www.nerdscene.com &#187; Windows 7</title>
	<atom:link href="http://www.nerdscene.com/tag/windows-7/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nerdscene.com</link>
	<description>bitching about everything, one post at a time...</description>
	<lastBuildDate>Tue, 06 Apr 2010 17:40:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Delete hiberfil.sys from the root of your Windows drive</title>
		<link>http://www.nerdscene.com/2010/04/02/157/</link>
		<comments>http://www.nerdscene.com/2010/04/02/157/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 19:30:56 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[hiberfil.sys]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[pagefile.sys]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=157</guid>
		<description><![CDATA[If you ever noticed the hiberfil.sys file in the root of your Windows system drive and wondered what it was and how to get rid of it, well here&#8217;s your answer! The hiberfil.sys file is used with the Windows Hibernate feature, and even if you modify your power plan and disable the hibernation features in [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever noticed the hiberfil.sys file in the root of your Windows system drive and wondered what it was and how to get rid of it, well here&#8217;s your answer!</p>
<p>The hiberfil.sys file is used with the Windows Hibernate feature, and even if you modify your power plan and disable the hibernation features in there, the file will still be on your system.  The file size depends on the amount of RAM your system has, as it is used to dump some (or almost all) of the data in RAM on to your hard drive so it can enter a hibernation state.  For my system, since I have 4GB of RAM, the file was almost 4GB in size so it made sense to get rid of it if I wasn&#8217;t going to use Hibernation mode.<br />
<span id="more-157"></span><br />
To get rid of the hiberfil.sys file, open up an elevated (as in, Administrator) command prompt and simply type in:</p>
<p><code>powercfg -h off</code></p>
<p>This will turn off the Windows Hibernate features (including disabling them in your Power Options) and with it, delete the hiberfil.sys file from your system so you can reclaim some space (and it also helps with defragmentation of your drive, as it is a system file that cannot be moved; the same thing goes for pagefile.sys, which you can read about in my other article &#8220;<a href="/2010/03/31/143/">Give Windows a Swap partition with no drive letter</a>&#8220;).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2010/04/02/157/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows 7 GUI Design blights</title>
		<link>http://www.nerdscene.com/2010/04/02/147/</link>
		<comments>http://www.nerdscene.com/2010/04/02/147/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 18:54:38 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[GUI Design]]></category>
		<category><![CDATA[Start Menu]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=147</guid>
		<description><![CDATA[I&#8217;ve been using Windows 7 Ultimate for just a few days, yet I&#8217;m already miffed by a few glaringly obvious oversights in the design of some of the most often seen parts of the GUI; the Start Menu. As you can see in this screenshot, there are two particular areas which I consider design oversights [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using Windows 7 Ultimate for just a few days, yet I&#8217;m already miffed by a few glaringly obvious oversights in the design of some of the most often seen parts of the GUI; the Start Menu.</p>
<p><img class="alignleft size-medium wp-image-148" title="Windows 7 Start Menu" src="http://www.nerdscene.com/wp-content/uploads/2010/04/win7gui-300x290.png" alt="" width="300" height="290" /></p>
<p>As you can see in this screenshot, there are two particular areas which I consider design oversights when they were apparently overhauling the GUI to make it look nicer.  First is the appearance of the &#8220;menu&#8221; displayed when I expand &#8220;Computer&#8221; (it would be the same for any folder &#8211; I just have the others set to act as links, not menus).  It appears as though they decided to use a generic Windows &#8220;context menu&#8221; container to display the file list, however you would figure that for the nice and fancy new Start Menu that they could have put a bit more &#8220;love&#8221; in there and made it look more integrated (such as you&#8217;ll get if you were to expand one of the items in the Start Menu list such as &#8220;Sticky Notes&#8221; or &#8220;Windows Virtual PC&#8221; in this particular screenshot).  I think it would have made it look <strong>much</strong> nicer, complete, and more thought out.<br />
<span id="more-147"></span><br />
The second pin in my rear is the redesigned Shutdown button and it&#8217;s corresponding context menu.  It&#8217;s just plain horrid!  Why couldn&#8217;t they have made it look the same as the other items above it like the &#8220;Computer&#8221; item for example?  Or, heck, bring back the much more pleasant-looking Vista Shutdown buttons &#8211; those were well designed and I think more intuitive at quick glance; simple red power-symbol button, or having to read &#8220;Shutdown&#8221; in an ugly, oddly-sized button &#8211; what&#8217;s your pick?</p>
<p>Perhaps I will spend a few minutes and try to mock-up what I think would look nicer, though honestly I doubt anyone from the Microsoft Windows GUI team will ever come across this post, let alone this site <img src='http://www.nerdscene.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2010/04/02/147/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows XP Mode forgot your login credentials?</title>
		<link>http://www.nerdscene.com/2010/04/01/145/</link>
		<comments>http://www.nerdscene.com/2010/04/01/145/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 16:22:02 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Credential Manager]]></category>
		<category><![CDATA[Microsoft Virtual PC]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows XP Mode]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=145</guid>
		<description><![CDATA[If you&#8217;ve used the new Windows XP Mode feature of Windows 7, you&#8217;re aware that it allows you to save your login credentials for the XPMUser account it creates for you. However, what they failed to inform you of is that these credentials, although saved, are ultimately tied in with the computer name set up [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve used the new Windows XP Mode feature of Windows 7, you&#8217;re aware that it allows you to save your login credentials for the XPMUser account it creates for you.  However, what they failed to inform you of is that these credentials, although saved, are ultimately tied in with the computer name set up for that specific virtual machine.</p>
<p>That may be all well and good (and I do agree, it certainly makes sense), but what if you change the computer name within your XP Mode virtual machine?  Well, the answer to that was made abundantly clear to me when I did that very thing (completely unaware of how credentials were saved at the time) just the other day &#8211; ultimately locking myself out of accessing any of the applications I had just finished installing in Windows XP Mode.</p>
<p>What happened was somewhat obvious once you look at the information saved in the Credential Manager for a little while; Microsoft Virtual PC was no longer logging me in automatically as the XPMUser &#8211; instead it was prompting me to enter the password, or specify an alternate account to log in as.  The problem was, I had used a random password generator for the password and never bothered to write it down anywhere (because I figured that the Credential Manager was going to handle that all for me), so I had no idea what the password was and of course the Administrator account is disabled (unless you&#8217;re in Safe Mode) so I had no way of logging in any more!<br />
<span id="more-145"></span><br />
What I did to remedy this situation was a bit old-school.  I first changed the virtual machine settings and disabled the integration features so that I would see the boot-up process.  As it started to boot, I hit F8 on my keyboard to get the Safe Mode boot prompt and I booted in to Safe Mode.  From there I was able to log in to the Administrator account (no password) and then get in to the system and reset the password for the XPMUser account.  Once that was done, I just had to reboot the virtual machine again (and reset the settings to re-enable integration features) and enter the new password for the XPMUser account (and save that information with the Credential Manager).</p>
<p>Now my Windows XP Mode virtual machine had the correct computer name for my LAN, and the Credential Manager was able to log me in automatically again when I used Windows XP Mode &#8211; yay!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2010/04/01/145/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Give Windows a Swap partition with no drive letter</title>
		<link>http://www.nerdscene.com/2010/03/31/143/</link>
		<comments>http://www.nerdscene.com/2010/03/31/143/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 18:06:47 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[hiberfil.sys]]></category>
		<category><![CDATA[Page File]]></category>
		<category><![CDATA[pagefile.sys]]></category>
		<category><![CDATA[Swap]]></category>
		<category><![CDATA[Virtual Memory]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=143</guid>
		<description><![CDATA[Are you a fan of how Linux (Unix) allows you to designate an actual hard drive partition to swap space? Ever wished that Windows would let you do something similar, instead of having to either store it on the same partition as Windows, or have to designate an actual drive letter to another partition just [...]]]></description>
			<content:encoded><![CDATA[<p>Are you a fan of how Linux (Unix) allows you to designate an actual hard drive partition to swap space?  Ever wished that Windows would let you do something similar, instead of having to either store it on the same partition as Windows, or have to designate an actual drive letter to another partition just for swap?</p>
<p>For the longest time ever, I always wished that you could do more than just move your Windows swap file (pagefile.sys) to another drive letter.  First of all, having to assign a drive letter to the partition you want purely for storing the Windows page file really sucks because then that means the drive letter shows up in explorer (sure, you can hide drive letters, but you&#8217;ve still wasted a drive letter on the partition).  Second of all, if you think you&#8217;re being smart by creating a partition at the root of your drive during Windows installation, chances are you kicked yourself after going through the install only to realize that it assigned that partition the letter &#8220;C:&#8221; and now Windows is installed on &#8220;D:&#8221; (good luck getting out of that scenario &#8211; I&#8217;d recommend just redoing the install entirely; trust me it saves you a ton of headaches).<br />
<span id="more-143"></span><br />
Well, since I just got my fancy copy of Windows 7 Ultimate, I figured I would see what I could do finally about this situation.  Upon booting up the Windows 7 DVD, I went through the installer up to picking the partition I wanted to install Windows 7 on to.  I clicked the Advanced button so I could delete all my existing partitions and set the drive up the way I wanted.  With an entirely blank drive, I began by creating a single partition on the drive (entire drive).  This let the installer create the special &#8220;System Reserved&#8221; partition that it wanted.  I then selected the other partition it made and deleted that and then created a new partition the size I wanted for my swap.  I have 4GB of ram on this system so I want at least double that, plus I may want extra space for something else eventually so I went for a 16GB partition.  Next, I created the last partition with the rest of the drive space; this is my Windows partition (C: drive).  I selected the Windows partition and clicked Format (do *not* do this for the Swap partition yet!).</p>
<p>The next step was where some of the nerd-magic came in.  I backed out of the installer at this point and got back to the main window and clicked on the Recovery link near the bottom.  From there I selected the top radio button and then on the next screen I selected the Recovery Console.  Once in the console I ran &#8220;diskpart&#8221; to let me tinker with the partitions I had just created.  Using diskpart isn&#8217;t too complicated.  You can type in &#8220;help&#8221; to get a list of the commands you can use; it&#8217;s not overly complex if you come from a Linux background and you&#8217;re used to using fdisk.  I selected the Swap partition (volume) I had made earlier and ran &#8220;ATTRIBUTES VOLUME SET NODEFAULTDRIVELETTER&#8221;.  This prevents the system from automatically assigning drive letters to any partitions on this drive &#8211; it will still assign &#8220;C:&#8221;, however the Swap partition will not get a letter.  Once that was done, I made sure to list out the volumes just to be sure it didn&#8217;t already have a drive letter (it shouldn&#8217;t since we didn&#8217;t format it yet).  I then closed the console, and closed the window with the recovery choices (this brings you back to the start &#8211; you don&#8217;t have to click Shutdown or Restart!).  I then went back through the installation process, selected my Windows partition I had created and let it install Windows 7 to the drive.</p>
<p>After finishing the Windows install and logging in, I thought about how I would actually go about using that Swap partition for the page file without giving it a drive letter.  I decided to search the registry for &#8220;pagefile.sys&#8221; to see what I could come up with and I found that the only real occurrence of it is in &#8220;HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management\&#8221;.  There are two keys in there, PagingFiles and ExistingPageFiles, which reference pagefile.sys and that&#8217;s about it.  Obviously ExistingPageFiles is not a key we want to modify, however PagingFiles is.</p>
<p>So here&#8217;s where the real brains came in to help&#8230; I went in to Disk Management and selected the unformatted Swap partition I had created and formatted it as NTFS (with 32k blocks &#8211; we don&#8217;t need small blocks here&#8230; the bigger the better for performance).  Then, I opened up Explorer and decided I would have this partition mounted to &#8220;C:\Windows\Pagefile&#8221; &#8211; yup, I&#8217;m mounting it to a <em>path</em>, not a drive letter!  So, I created the directory and then went in to it&#8217;s security permissions.  I removed all the inherited permissions and set the following permissions on it: TrustedInstaller (&#8220;NT Service\TrustedInstaller&#8221; is the account name you must type in to make that work) got full access, SYSTEM got full access and Administrators got Read &#038; Execute access.  I then went and changed the Owner to TrustedInstaller as well.  Once you do this, you won&#8217;t be able to access the folder even as an Administrator &#8211; but that&#8217;s what we want since we don&#8217;t want anything having any access to pagefile.sys except the system itself.</p>
<p>I then went back in to Disk Management and again selected the Swap partition and went in to &#8220;Change Drive Letter and Paths&#8230;&#8221;, clicked Add&#8230; and set it to mount to the &#8220;C:\Windows\Pagefile&#8221; folder I had created.  I made sure to confirm that the process had worked successfully (basically just went back in to make sure it was listed in the &#8220;Change Drive Letter and Paths&#8230;&#8221; dialog box).  Now that I had my Swap partition mounted to the directory, I just had to change where pagefile.sys would be written (and erase the old pagefile.sys file).  I opened up regedit, went to &#8220;HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management\&#8221; and double clicked the PagingFiles key to modify it.  This registry entry allows for multiple pagefiles to be specified, one per line.  The 3 different formats it can have are rather simple to understand after having examined it in different configurations.</p>
<ul>
<li>The first mode is having Windows manage pagefile.sys for you; the drive letter is specified with &#8220;?&#8221; to denote that it is whatever drive letter Windows is installed on and then the full path to pagefile.sys is specified (eg &#8220;?:\Windows\Pagefile\pagefile.sys&#8221;).</li>
<li>The second mode is managing the location of pagefile.sys yourself, but having Windows manage it&#8217;s size; the full path to pagefile.sys is now specified including the drive letter, and then we add two zeros separated by spaces to denote a dynamic minimum and maximum size for pagefile.sys growth (eg &#8220;C:\Windows\Pagefile\pagefile.sys 0 0&#8243;).</li>
<li>The third mode is managing pagefile.sys entirely on our own; The full path to pagefile.sys is specified, and then we specify an absolute minimum and maximum size for the file in MB (eg &#8220;C:\Windows\Pagefile\pagefile.sys 6144 10240&#8243;).</li>
</ul>
<p>I chose the third method since after some experimenting it appears as though this is the most compatible with the Virtual Memory settings in Windows.  Using the first method, Windows doesn&#8217;t <em>appear</em> to know where pagefile.sys is or that it is supposed to be managing it for us.  Using the third method, it knows that pagefile.sys is indeed located on our &#8220;C:&#8221; drive and that there are explicit minimum and maximum growth limits specified.  It may be only visual, but I didn&#8217;t want to chance it with my virtual memory (since running in to the problem when I would need my virtual memory would be a very bad thing).</p>
<p>Finally, to make sure the existing pagefile.sys was deleted (properly), I opened up &#8220;Local Security Policy&#8221; from the &#8220;Administrative Tools&#8221; control panel.  I navigated to &#8220;Local Policies\Security Options&#8221; and scrolled down near the bottom of the list to find &#8220;Shutdown: Clear virtual memory pagefile&#8221; and simply enabled the option.  This would take care of deleting the page file at shutdown for me.</p>
<p>That was about it &#8211; next was taking a leap of faith and hoping that when I rebooted, everything would still work!  So, I crossed my fingers and hit restart and watched as my hard drive light went nuts as it deleted the current pagefile.sys before rebooting.  Once my system came back up I went in to Disk Management, right clicked the Swap partition and clicked Properties.  I checked to make sure there was some space being used up just to confirm that pagefile.sys was now being stored there instead of my Windows partition &#8211; and it was!  All I had left to do was go back in to &#8220;Local Security Policy&#8221; and disable the &#8220;Shutdown: Clear virtual memory pagefile&#8221; setting.</p>
<p>I had finally done it &#8211; I had created a separate partition for Windows to store its page file without having to resort to assigning a drive letter.  So far, the only drawback seems to be that if you go in to your system settings to manage your Virtual Memory, it gets a bit confused and indicates that there is no paging file set on your &#8220;C:&#8221; drive &#8211; which I suppose is now technically correct&#8230; but I wonder what might happen if Windows tries to allocate more space than is available in the Swap partition for Virtual Memory&#8230;  I think I may have to peek at some more registry entries to see if I can set the min/max values for Virtual Memory so that can&#8217;t happen.</p>
<p>If you&#8217;re also wondering about how to deal with the hiberfil.sys file in the root of your Windows drive, you can read up on that in my other post &#8220;<a href="/2010/04/02/157/">Delete hiberfil.sys from the root of your Windows drive</a>&#8220;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2010/03/31/143/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windows Bluetooth driver updates</title>
		<link>http://www.nerdscene.com/2009/08/12/118/</link>
		<comments>http://www.nerdscene.com/2009/08/12/118/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 14:20:11 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[Broadcom]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=118</guid>
		<description><![CDATA[If you&#8217;ve ever tried to get a Bluetooth headset to work in Windows Vista, you know you&#8217;re in for a world of hurt if you want to try and make it work with the existing Microsoft Bluetooth stack. You have to steal drivers from other manufacturers or basically just give up and switch to using [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever tried to get a Bluetooth headset to work in Windows Vista, you know you&#8217;re in for a world of hurt if you want to try and make it work with the existing Microsoft Bluetooth stack.  You have to steal drivers from other manufacturers or basically just give up and switch to using the Broadcom WIDCOMM Bluetooth drivers.</p>
<p>For the longest time I refused to use the WIDCOMM drivers because their look and feel was stuck in the Windows XP days &#8211; it wasn&#8217;t horrible, but it didn&#8217;t integrate nicely in with Vista and it completely took over the Bluetooth stack which I didn&#8217;t want to do because I was afraid it would prevent my Microsoft Wireless Entertainment Desktop 7000 (Bluetooth keyboard &amp; mouse combo) from working.</p>
<p>Well, the other day I decided to replace my old Plantronics Explorer 320 headset (Bluetooth 1.2) with a new Sony Playstation 3 Bluetooth headset (cheap, Bluetooth 2.1+EDR).  I went and paired up the new headset with Vista, however the sound was just as choppy as before and it really didn&#8217;t seem to be any better; those old Bluetooth Audio drivers I hacked in to Vista needed updating&#8230;<br />
<span id="more-118"></span><br />
I did a ton of searching and came across most of the same articles I found when I was first looking for drivers to add in A2DP/HFP/HSP Bluetooth profiles to the Microsoft Bluetooth stack.  I tried grabbing newer drivers for the Dell Notebook Bluetooth drivers, but those didn&#8217;t work at all.  I went searching for more drivers but they all seemed to be based on the same drivers (ironically all made by Broadcom).  As a last ditch effort, I went to Broadcom&#8217;s website and grabbed their latest driver download just to see if maybe I could extract the driver files and manually update my drivers without installing the whole thing.</p>
<p>As it turns out however, the new Broadcom WIDCOMM Bluetooth drivers aren&#8217;t a complete overwrite of the Windows Vista drivers &#8211; they appear to finally just throw in all the extra Bluetooth profile drivers that are missing from Microsoft&#8217;s Bluetooth stack.  I was quite surprised, as I thought I was hosing my system when I ran the installer to try and just extract the files; the Bluetooth control panel and other areas of Vista all appear just as they did before but with extra features now available!</p>
<p>I paired the new headset with my system and watched as the new drivers kicked in and made everything work perfectly.  Rather than being stuck with low-quality mono in/out from my headset, I now get to enjoy stereo sound and recording which makes a ton of difference in the audio quality from a Bluetooth headset.</p>
<p>So, if you&#8217;re looking to get your Bluetooth device working with Windows Vista or Windows 7 and it just won&#8217;t work &#8211; chances are you&#8217;re missing the required Bluetooth profile drivers and you should seriously consider installing the latest <a href="http://www.broadcom.com/support/bluetooth/update.php" target="_blank">Broadcom WIDCOMM Bluetooth drivers</a> which will update the existing Microsoft Bluetooth stack on your system.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2009/08/12/118/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

