<?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>nerdscene.com</title>
	<atom:link href="http://www.nerdscene.com/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.2</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>10</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>4</slash:comments>
		</item>
		<item>
		<title>Disable Windows Update automatic reboots</title>
		<link>http://www.nerdscene.com/2010/02/08/137/</link>
		<comments>http://www.nerdscene.com/2010/02/08/137/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 19:17:46 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[reboot]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Update]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=137</guid>
		<description><![CDATA[I&#8217;m sure that almost everyone has experienced this at least once before; you&#8217;re working on your computer and Windows Update downloads and installs an update for you in the background (you may not even notice it) and then all of a sudden you get a notification that you have to reboot your system, no exceptions! [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sure that almost everyone has experienced this at least once before; you&#8217;re working on your computer and Windows Update downloads and installs an update for you in the background (you may not even notice it) and then all of a sudden you get a notification that you have to reboot your system, no exceptions!</p>
<p>It&#8217;s a real hassle to try and constantly postpone the reboot, not to mention if you&#8217;re not at your computer it will just reboot it for you and you could lose any unsaved work!  The solution is actually quite simple!  Unlike some other sites I&#8217;ve seen, the proper solution is <em>not</em> to install and run some 3rd party program that&#8217;s sole purpose is to watch for the reboot dialog box and simluate pressing on the postpone button&#8230; the thought of ever having to make a 3rd party program to solve a problem in another program is absolutely revolting; that&#8217;s the worst solution to a problem you could ever come up with and I&#8217;m rather amazed anyone ever even thought of it as a viable option.<br />
<span id="more-137"></span><br />
The <em>real</em> solution is to change a Windows policy specifically created to solve this problem (yep, that&#8217;s right &#8211; Microsoft anticipated this would be a feature some may want to disable and gave us a way out&#8230; it&#8217;s just not available in any easy to use control panel interfaces).  We have two choices here: we can fire up the Windows Policy Editor and change it there, or we can just edit the setting directly within the registry.  I find modifying the registry directly to be much easier and quicker since it allows a simple 2-click process to change the setting; much easier than having to run a program and find the setting to change it.</p>
<p>All you have to do is download a registry file I created, <a title="disable-update-reboot.reg" href="http://www.nerdscene.com/downloads/disable-update-reboot.reg">disable-update-reboot.reg</a>, and right click it and select Merge (as Administrator).  You can edit the file to verify that it&#8217;s only modifying one string in the registry and that it&#8217;s not installing anything malicious.  This will disable the Windows Update reboot message from forcing you to reboot.  It doesn&#8217;t get rid of the message entirely, just prevents it from rebooting automatically without your consent.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2010/02/08/137/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe PDF Printer and spool errors</title>
		<link>http://www.nerdscene.com/2010/01/11/122/</link>
		<comments>http://www.nerdscene.com/2010/01/11/122/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 20:08:59 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Adobe Acrobat]]></category>
		<category><![CDATA[Adobe PDF Printer]]></category>
		<category><![CDATA[system tray icon]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=122</guid>
		<description><![CDATA[I&#8217;m not exactly sure how or when it started happening, but whenever I would try to save a document as an Acrobat PDF document (or try to print to the Acrobat PDF printer), it would create the PDF document fine but leave me with errors in the printer queue that said it had failed to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not exactly sure how or when it started happening, but whenever I would try to save a document as an Acrobat PDF document (or try to print to the Acrobat PDF printer), it would create the PDF document fine but leave me with errors in the printer queue that said it had failed to print.  Deleting these entries would get rid of the errors and the printer icon from your system tray &#8211; a minor hassle.</p>
<p>I didn&#8217;t bother to deal with it for a while since I could just cancel the errored out jobs in my printer queue and not worry about it since the PDF would still be created, however I figured I would finally figure out the problem and try to fix it.  Of course, searching on Adobe&#8217;s website turned up nothing of relevance, and a few websites I found just said to re-install the Adobe Acrobat PDF printer which was what I figured I should do anyways, so I did.<br />
<span id="more-122"></span><br />
From what I can gather, the problem may have been started when a new version of Adobe Acrobat got installed.  During the process of re-installing the Adobe Acrobat PDF printer, I noticed that my system had two versions of the Acrobat PDF printer drivers; one for version 6, one for version 8.  I&#8217;m guessing this also causes problems when you try to add a new Adobe PDF port; when trying to do this, it never allows you to actually add it &#8211; I&#8217;m guessing it&#8217;s confused as to which version of the driver it should pick and install.</p>
<p>So what I did to fix this was I deleted the Acrobat PDF printer from my system and made sure I had no Acrobat PDF ports installed (in Windows Vista, right click in the printers folder and select &#8220;Run As Administrator -> Server Properties&#8221; to add/delete ports).  Once I had done that I added a new local printer and created a new port &#8211; but I did not select &#8220;Adobe PDF Port&#8221; since this would not work for me.  Instead I picked &#8220;Local Port&#8221; and named it &#8220;Adobe PDF&#8221; (I don&#8217;t think the name of the port matters, however the name of the printer does).  I then selected to use the Adobe Acrobat PDF v8 printer drivers and named the printer &#8220;Adobe PDF&#8221; which is required otherwise using &#8220;Save As&#8221; will not work in suites like Microsoft Office.  When it was all done I went in to the printer properties and changed it to print directly to the printer (under the &#8220;Advanced&#8221; tab).</p>
<p>Now saving as an Acrobat PDF document or printing to the printer works just as it did before but without generating any errors that get stuck in your printer queue!  As to how you&#8217;re supposed to properly remove the older Adobe Acrobat PDF v6 printer drivers from your system, I do not yet know &#8211; but leaving them there seems to cause no ill effects.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2010/01/11/122/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>
		<item>
		<title>Internet Explorer 7 crashes when trying to submit a form?</title>
		<link>http://www.nerdscene.com/2009/05/05/115/</link>
		<comments>http://www.nerdscene.com/2009/05/05/115/#comments</comments>
		<pubDate>Tue, 05 May 2009 15:39:52 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[MSDN]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=115</guid>
		<description><![CDATA[As I was testing a recent site I had designed in Internet Explorer for compatibility, I came across one of the forms which was apparently causing Internet Explorer 7 to crash. It put a real damper on the testing since it was causing a crash which I would consider to be pretty heavy on the [...]]]></description>
			<content:encoded><![CDATA[<p>As I was testing a recent site I had designed in Internet Explorer for compatibility, I came across one of the forms which was apparently causing Internet Explorer 7 to crash.  It put a real damper on the testing since it was causing a <em>crash</em> which I would consider to be pretty heavy on the &#8220;must fix&#8221; list before it goes live.  The worst part was, I had done a lot of extensive testing with Firefox which showed no problems, and even Internet Explorer 8 was behaving as expected.  Thankfully I have Internet Explorer 8 which finally has a decent set of developer tools built in, so I set forth to try and figure out what the problem was&#8230; hopefully!</p>
<p>My first thought was that it might be some code I had recently added to a JavaScript file which was responsible for capturing the name/value pair of the submit button pressed when you submit a form (which is the only way to get that information when using AJAX to submit form data).  The code worked great in Firefox, but I hadn&#8217;t tested it yet for Internet Explorer at all, so I changed it around a bit to see if maybe some of that was causing it.  My debugging progressed to completely commenting out that new code, essentially bringing me back to code I knew worked in Internet Explorer 7 before, but it was <em>still</em> crashing!<br />
<span id="more-115"></span><br />
I started to dig a bit deeper and noticed that for some reason if I commented out one of my submit buttons (my form had two buttons with the same name &#8211; used to pick between two choices&#8230; both of which submit the form), it wouldn&#8217;t crash any more &#8211; but it wasn&#8217;t submitting the form via AJAX which it should have been, so there was still a problem somewhere.  Since I was able to get a bit further now that Internet Explorer 7 wasn&#8217;t crashing, I was able to determine that it was choking somewhere in jQuery, at a piece of code that quite simply just tried to toUpperCase() a string &#8211; namely the method of the form (that is, whether it was to be submitted via GET or POST).</p>
<p>I played around a bit and noticed that if I hard coded in (to my JavaScript code that builds the form data to be sent via AJAX) a method of &#8220;post&#8221;, that it worked fine &#8211; it didn&#8217;t like it when I tried to retrieve the method set on the form however.  After a bit more sleuthing, I decided to check up on the getAttribute() DOM function which I used to try and retrieve the form method.  What I found was a piece of gold buried under the usual <a href="http://msdn.microsoft.com/en-us/library/ms536429(VS.85).aspx" target="_blank">MSDN documentation</a>; someone had posted a comment at the bottom mentioning an obscure bug when using getAttribute on forms&#8230;  At first, I was a bit excited, hoping I had found the problem but I quickly saw that the bug was apparently just mentioning a problem when you used the name &#8220;id&#8221; on an input element which I was not doing in my code.  However, I kept reading the description and noticed there was an additional bit of information stating that the problem was that the name property on an input element could actually override any key word in the DOM, potentially causing odd behaviour.</p>
<p>I quickly skimmed through my form, looking at the inputs and what name I had assigned them, but they were all fine, however the submit buttons were named &#8220;method&#8221; &#8211; which is a DOM property for forms!  The comment quickly made sense and I knew I had found the problem; the submit button was causing a problem when I was trying to get the method property from the form through getAttribute()&#8230; it was clashing with the name property from the submit button because it&#8217;s name was set to &#8220;method&#8221; and this was causing Internet Explorer 7 to crash!</p>
<p>The fix was relatively simple &#8211; I just renamed my submit button to something other than &#8220;method&#8221; and presto, Internet Explorer 7 now worked just fine (and I was able to re-enable my second submit button without any problems too).  Well, I shouldn&#8217;t say <em>fine</em> since I did discover another problem in that Internet Explorer 7 apparently submits the HTML code in between&lt;button&gt;&#8230;&lt;/button&gt; tags instead of the value property defined on the button element, but that was a simple work-around thankfully.</p>
<p>Stupid Internet Explorer <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/2009/05/05/115/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Two of the most useful Web Developer sites ever</title>
		<link>http://www.nerdscene.com/2009/04/22/107/</link>
		<comments>http://www.nerdscene.com/2009/04/22/107/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 15:03:37 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[MSDN Library]]></category>
		<category><![CDATA[web browser]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=107</guid>
		<description><![CDATA[If you do any sort of Web Development at all and you don&#8217;t know about either of these sites, you&#8217;re severely missing out on one of the Internets most useful resources ever created for Web Development. Sure, there are other sites, even Microsoft&#8217;s MSDN Library which has pretty good documentation on a lot of the [...]]]></description>
			<content:encoded><![CDATA[<p>If you do any sort of Web Development at all and you don&#8217;t know about either of these sites, you&#8217;re severely missing out on one of the Internets most useful resources ever created for Web Development.  Sure, there are other sites, even Microsoft&#8217;s MSDN Library which has pretty good documentation on a lot of the same stuff, but none are as easy to navigate and have as many tips and information about cross-browser application.</p>
<p>I&#8217;m talking of course about Brian Wilson&#8217;s <a title="Index DOT Html" href="http://www.blooberry.com/indexdot/html/index.html" target="_blank">Index DOT Html</a> and <a title="Index DOT Css" href="http://www.blooberry.com/indexdot/css/index.html" target="_blank">Index DOT Css</a> sites.  I have been using these sites over the past 8+ or so years as one of my primary resources when it comes to Web Development.  They document the majority of the HTML and CSS elements and properties, how they work and what browsers support them (and to what degree) &#8211; complete with browser specific tips and notes.<br />
<span id="more-107"></span><br />
The sites may not be up to date with Firefox 3 and Internet Explorer 7 or 8, but the information they provide is still very relevant and still very useful.  They&#8217;re always my first stop when I need to look up a particular HTML element or CSS property, and to be honest I don&#8217;t know where I would turn if they weren&#8217;t around for me to use.  I suppose I owe Brian Wilson an enormous thank you for all his hard work and dedication to the sites, and I&#8217;m pretty sure that there are many others out there who owe the same as well.</p>
<p>Brian, thank you for two of the most useful resources available on the Internet over the past decade or so.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2009/04/22/107/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AJAX problems with blank responseTexts</title>
		<link>http://www.nerdscene.com/2009/04/21/104/</link>
		<comments>http://www.nerdscene.com/2009/04/21/104/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 16:56:50 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[readyState]]></category>
		<category><![CDATA[responseText]]></category>
		<category><![CDATA[XMLHttpRequest]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=104</guid>
		<description><![CDATA[In the middle of developing a web application and doing some routine testing just to make sure my AJAX code was working, I stumbled upon a rather odd and what seemed to be rather random error in Firefox 3. It took some debugging and a bit of speculation to figure out what the problem most [...]]]></description>
			<content:encoded><![CDATA[<p>In the middle of developing a web application and doing some routine testing just to make sure my AJAX code was working, I stumbled upon a rather odd and what seemed to be rather random error in Firefox 3.  It took some debugging and a bit of speculation to figure out what the problem most likely was and how I hoped I fixed it.<br />
<span id="more-104"></span><br />
The problem was with a refresh button I had created, which would submit form data via an AJAX POST call and I would take the responseText I got back and replace a DOM node with a replacement DOM node I got from the AJAX call.  Upon initial testing everything seemed to work fine, but once in a while after hitting the refresh button about 10 or so times, the DOM node I was updating would get erased!  It didn&#8217;t seem to happen in Internet Explorer 8, just Firefox 3 (and Firefox 2 as well).</p>
<p>After doing some initial debugging, it seemed that my responseText was coming back blank &#8211; but Firebug clearly showed that Firefox was getting the full DOM document back from the AJAX POST call, so I knew something was up with how the response was being handled by AJAX.  Now, I use jQuery for the majority of my JavaScript code, so I was a bit surprised to find out that there was an AJAX problem since I figured that a bug like this would have likely at least already been reported.  After a lot of searching on Google however, I only turned up one result that was quite similar to my problem which had no resolution.  So it looked like I would have to solve this one entirely on my own.</p>
<p>I did more debugging, and out of pure luck I ended up noticing that the readyState on my XHR object was set to 0, which means that apparently an AJAX call hadn&#8217;t even been made yet.  I found this rather odd to see a readyState of 0 since clearly an AJAX call <em>had</em> been made (and returned with success).  I thought about the situation a bit and figured that perhaps I should move my debugging call (I was using console.log()) up the chain a bit so I did it as the first call from my AJAX completion callback function.  After doing that I noticed that it was now correctly showing a readyState of 4.  This meant that somewhere down the line, something was happening to my XHR object causing the readyState to be reset&#8230; and possibly resetting my entire XHR object!</p>
<p>Sure enough, I was indeed correct!  The problem was that I was trying to directly access my XHR object from within a jQuery animation callback which obviously uses timers.  Now, here is where I speculate because the problem only happens in Firefox, but I&#8217;m guessing that the XHR object was somehow being reset or altered after some time&#8230; very likely an internal browser cache system that was purging my XHR object.  My solution was to simply copy the responseText to a variable before entering in to any timer based jQuery calls (essentially, I assigned the responseText to a variable as the first call from my completion callback function).  Then, from within my jQuery animation callback I simply referred to the variable I created which had a copy of the responseText.  No more random blank responseTexts!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2009/04/21/104/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

