<?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</title>
	<atom:link href="http://www.nerdscene.com/tag/windows/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>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>Remove Java&#8217;s system tray icon &#8211; permanently.</title>
		<link>http://www.nerdscene.com/2009/03/26/36/</link>
		<comments>http://www.nerdscene.com/2009/03/26/36/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 20:28:40 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java control panel]]></category>
		<category><![CDATA[Java icon]]></category>
		<category><![CDATA[system tray icon]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=36</guid>
		<description><![CDATA[If you have the Java Runtime Environment installed on your Windows (Vista) system &#8211; and chances are you do &#8211; you may have tried disabling that Java system tray icon without much luck.  The problem lies in registry permissions, and the solution lies right here! As the Administrator user in Windows, you can easily go [...]]]></description>
			<content:encoded><![CDATA[<p>If you have the Java Runtime Environment installed on your Windows (Vista) system &#8211; and chances are you do &#8211; you may have tried disabling that Java system tray icon without much luck.  The problem lies in registry permissions, and the solution lies right here!</p>
<p>As the Administrator user in Windows, you can easily go in to the Java control panel and disable the &#8220;Place Java icon in system tray&#8221; setting and it will stick (meaning the setting actually gets saved in the registry).  Problem is though, the setting seems to be per-user, so you&#8217;ve only disabled it for your Administrator account &#8211; not much use for your normal user account(s) in Windows now is it.<br />
<span id="more-36"></span><br />
When you log in as one of your normal users in Windows and try to disable that same setting, every time you go back in to the Java control panel, the setting is re-enabled &#8211; it never gets saved.  The setting that has to change is stored in the HKEY_LOCAL_MACHINE area of the registry which is <em>not</em> writable to normal users &#8211; you only have permissions to read settings, so we&#8217;re going to run a batch script as Administrator to allow us to change the setting.  The reason the fix is a batch script is for simplicity; 1) if you run RegEdit as Administrator, you only have access to the Administrators files (not your current users files), so importing a registry file easily won&#8217;t work; 2) you can&#8217;t &#8220;merge&#8221; a registry file as Administrator.  For those of you who are skeptical of batch files, just open it in a text editor to see exactly what it does.</p>
<p>For those of you who don&#8217;t have this problem &#8211; chances are you&#8217;re logged in to Windows as an Administrator-level user account which is why you&#8217;re able to simply use the Java control panel(s) to disable this setting.  If that&#8217;s the case &#8211; you don&#8217;t need to follow these instructions&#8230; but you should consider what you&#8217;re doing by browsing the Internet under such an account!</p>
<p>Download the <a title="hide-system-tray.bat" href="http://www.nerdscene.com/downloads/hide-system-tray.bat">hide-system-tray.bat</a> batch script, save it to your desktop and right-click it and select &#8220;Run as Administrator&#8221;.  You may be prompted for a password from Windows UAC; type in your Administrator account password and that&#8217;s it &#8211; well, almost it&#8230;</p>
<p>You should keep this script handy because every time your Java Runtime Environment is updated, this setting apparently gets set back to it&#8217;s default value so you will have to re-run this batch script.  Thankfully it&#8217;s smart enough to hopefully work on all versions of Java (this statement refers to the fact that it can &#8220;seek out&#8221; the correct registry key to update, since it incorporates the Java version number in to the registry key that has to be updated).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2009/03/26/36/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Messing with autorun.inf</title>
		<link>http://www.nerdscene.com/2009/01/04/31/</link>
		<comments>http://www.nerdscene.com/2009/01/04/31/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 03:00:30 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[autoplay]]></category>
		<category><![CDATA[autorun]]></category>
		<category><![CDATA[exFAT]]></category>
		<category><![CDATA[PStart]]></category>
		<category><![CDATA[RoboForm]]></category>
		<category><![CDATA[shellexecute]]></category>
		<category><![CDATA[USB]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=31</guid>
		<description><![CDATA[Like most of you, I have a USB key that I store some of my portable stuff on (quite useful if you move computers &#8211; say from home to work).  I&#8217;ve found it extremely invaluable, especially when combined with PStart and RoboForm2Go.  To make my life even easier, I whipped up an autorun.inf file for [...]]]></description>
			<content:encoded><![CDATA[<p>Like most of you, I have a USB key that I store some of my portable stuff on (quite useful if you move computers &#8211; say from home to work).  I&#8217;ve found it extremely invaluable, especially when combined with <a href="http://www.pegtop.net/start/" target="_blank">PStart</a> and <a href="http://www.roboform.com/pass2go.html" target="_blank">RoboForm2Go</a>.  To make my life even easier, I whipped up an autorun.inf file for my USB key that would load up PStart for me when I plugged it in to the computer (well, close to it &#8211; it initiates Windows Vista&#8217;s AutoPlay feature which shows me a &#8220;Load Start Menu&#8221; action which I click to run PStart).</p>
<p>However, there was one very big problem that I encountered early on &#8211; the &#8220;shellexecute&#8221; and &#8220;shell\<em>verb</em>\command&#8221; actions did not work very well when there were spaces in the path names.  Now, most of you would say, &#8220;well, did you quote the path names in double quotes?&#8221; &#8211; the answer is yes, I tried that.  In fact, I tried all sorts of things and found that the only way I could get it to work was by using double quotes and having to specify the drive letter.  That sucked &#8211; that meant that my portable USB key was no longer really portable, since if the drive letter wasn&#8217;t what was in my autorun.inf file, it wouldn&#8217;t run (or worse, run the wrong program).  So that solution wasn&#8217;t acceptable &#8211; I had to find a solution.<br />
<span id="more-31"></span><br />
Well, after a bit of searching, I did come up with something&#8230; I decided to use the old MS-DOS 8.3 filenames to specify the path (the USB key was formatted with FAT32).  This worked for me and all was well &#8211; so long as the short filenames didn&#8217;t change, everything was fine.  However, I recently went out and got a new USB key (a nice super small one &#8211; pretty awesome) and noticed that Windows Vista supported a filesystem called exFAT, which is apparently the next filesystem after FAT32 and supposedly works quite well on portable devices (less overhead, less fragmentation, etc&#8230;).  So I formatted my new USB key using exFAT and copied all my data from my old USB key to the new one and figured it would just work as the old one did &#8211; wrong.</p>
<p>As it turns out, exFAT is actually pretty good&#8230; it even dropped the old short filename thing and now uses only long filenames.  Oh, yeah, damn&#8230; I was using short filenames in my autorun.inf.  Now I was really screwed &#8211; the one fix that I found worked for me was now out the door.  I need a new fix (I really wanted to try exFAT)!  So, I began searching again and to my disbelief, I finally found someone who had figured it out and posted about it (thankfully)!</p>
<p>The post I found was over at <a href="http://www.wercshop.com/2006/12/22/autoruninf-tip/" target="_blank">Wercshop</a>, and the solution to the problem is to use <strong>two</strong> sets of double quotation marks.  I don&#8217;t really know why, and I really don&#8217;t know why this isn&#8217;t documented anywhere on MSDN that I could find &#8211; in fact, almost everyone seems to just ignore this issue (and one website said to rename your files and use underscores instead of spaces).</p>
<p>For those interested, here is the autorun.inf I use on my USB key:</p>
<p><code><br />
[AutoRun]<br />
UseAutoPlay=1<br />
includeRuntimeComponents=True</code></p>
<p>action=&#8221;Load Start Menu&#8221;<br />
label=&#8221;USB Portable Apps&#8221;</p>
<p>open=&#8221;Program Files\Start Menu\PStart.exe&#8221;<br />
;icon=&#8221;Program Files\Start Menu\USB Stick.ico&#8221;</p>
<p>shellexecute=&#8221;"Program Files\Start Menu\PStart.exe&#8221;"</p>
<p>shell=load<br />
shell\load=&#8221;Load Start Menu&#8221;<br />
shell\load\command=&#8221;"Program Files\Start Menu\PStart.exe&#8221;"</p>
<p>[Content]<br />
MusicFiles=0<br />
VideoFiles=0<br />
PictureFiles=0</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2009/01/04/31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The most confusing network problem ever!</title>
		<link>http://www.nerdscene.com/2007/05/15/23/</link>
		<comments>http://www.nerdscene.com/2007/05/15/23/#comments</comments>
		<pubDate>Tue, 15 May 2007 01:58:16 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[ActiveX]]></category>
		<category><![CDATA[cable modem]]></category>
		<category><![CDATA[D-Link]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Internet access]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[LAN]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MTU]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[network card]]></category>
		<category><![CDATA[NIC]]></category>
		<category><![CDATA[Realtek]]></category>
		<category><![CDATA[Rogers]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[VOIP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[wireless router]]></category>
		<category><![CDATA[workstation]]></category>

		<guid isPermaLink="false">http://www.hoktar.com/archives/38</guid>
		<description><![CDATA[I&#8217;ve spent the last week with a very very odd networking problem, and all my attempts at figuring it out and fixing it have yielded nothing but more questions than answers. I first noticed the problem after having taken my network apart because I got a new Rogers VOIP cable box (Rogers Home Phone service) [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent the last week with a very <em>very</em> odd networking problem, and all my attempts at figuring it out and fixing it have yielded nothing but more questions than answers.</p>
<p>I first noticed the problem after having taken my network apart because I got a new Rogers VOIP cable box (Rogers Home Phone service) added, and I opted to hook it up myself so I could do a nice wiring job.  I got that done and hooked everything back up just the way it was &#8211; powered on my firewall/server box, cable modem and router all hooked up just they were before.  Things seemed normal until I tried to go to windowsupdate.microsoft.com and my browser stalled half way trying to load it up &#8211; refreshes wouldn&#8217;t help much, sometimes it would get a bit further, but it never got to loading the ActiveX part of it.  Other sites were working fine though which was really confusing.</p>
<p>I thought maybe Windows XP was pwned or something, so I tried Vista &#8211; it worked which led me to think XP was in trouble &#8211; so I spent countless hours searching for anything &#8211; something &#8211; that I thought might be the cause.  I tried fixing *everything* from network stacks, registry, hardware, drivers, WSH reinstall &#8211; you name it.  Nothing worked.  Then I noticed file transfers were very slow for uploads through XP <em>and</em> Vista, so I got to tinkering with stuff to figure that out.<br />
<span id="more-23"></span><br />
Eventually I came to messing with cables and I thought maybe my wireless router was to blame.  I reset it to factory defaults and set it up again, but it made no difference.  So then I tried tinkering with how my network was routed.  My network <em>was</em> set up as such: Internet -&gt; cable modem -&gt; linux firewall box -&gt; router -&gt; workstations.  That configuration used to be working fine until now.  After running various different setups, the following setups work fine:  Internet -&gt; cable modem -&gt; workstation; Internet -&gt; cable modem -&gt;router -&gt; workstations; Internet -&gt; cable modem -&gt; router -&gt; linux firewall box -&gt; workstation.</p>
<p>That final configuration is what really has me boggled &#8211; if the router itself works, and the workstation to the server to the router works, why doesn&#8217;t the workstation to the router to the server work?  I thought maybe it was some upgrade I had done to the box (which is running Gentoo), so I rebuilt every program on the system, recompiled the kernel, made sure iptables (which does masquerading from one nic out the other to the cable modem normally) was set up right and even tried upgrading and downgrading iptables versions &#8211; all met with no change in the problem.  I even checked stuff like IPv4 forwarding, made sure ECN was disabled and not compiled in the kernel &#8211; I honestly don&#8217;t know what else it could be.  Yes, I *even* made new cables just in case the other ones I had started to fray a bit in the ends.</p>
<p>So, I&#8217;m sitting here now, using my wireless router to handle the cable modem DHCP and my linux server just hanging off the router along with the workstations &#8211; not the setup I want, but at least sites are working.  I just hope someone reads this and has a clue as to what the hell might be going on to cause this problem!  It&#8217;s driving me f-ing nuts and I want it figured out so I can fix it! <img src='http://www.nerdscene.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><em><strong>*UPDATE*</strong></em></p>
<p>After having just given up on the problem after a week or so of messing around, I finally went and baselined the server to get a fresh Gentoo install on it since it really did need one, and I kinda hoped that it would fix the problem as well.  Unfortunately it didn&#8217;t &#8211; it was just as bad as before&#8230; however this gave me the final piece of the puzzle to really nail down what the hell was going on (oh, and I had baselined my workstation too with a fresh install of Vista Ultimate).</p>
<p>So, I had 2 fresh OS installs, a network cable I knew worked, a router I knew worked&#8230; the thing left was the network cards in use.  I was pretty sure the one in my workstation was OK since it worked fine without the server in the way.  As for the server &#8211; when I put it all back the way I wanted, I noticed that I&#8217;d experience lag &#8220;spikes&#8221; on my SSH terminal (to/from traffic out to the net seemed to be on/off as well, and consistently *slow*).  The only odd thing was that neither network card on the server was reporting *any* errors.</p>
<p>Outbound to the Internet from the server itself seemed fine, coupled with the local lag spikes I was encountering&#8230; I figured perhaps it&#8217;s the local network card on the server despite no errors.  They were both $10 Realtek NIC&#8217;s I bought over 6 years ago and I had one die on me unexpectedly before in my workstation (and then it decided to work again months later when I forgot it was busted and swapped it in to a system).  So, since I had onboard with my workstation and Vista had drivers for it, I took out my other NIC from there and removed the local NIC on my server and replaced it with the one from my workstation.  Power everything back on, check to make sure things are running right and <em><strong>presto</strong><strong>!</strong></em></p>
<p>So, next on my shopping list are two new $23 (ooh, I&#8217;m upgrading in price!) D-Link 530&#8242;s to replace those crappy Realtek&#8217;s.  I&#8217;m wondering if I&#8217;ll notice an over-all speed increase from swapping them both out too &#8211; that&#8217;d be a nice little bonus.</p>
<p><em><strong>*2nd UPDATE*</strong></em></p>
<p>It&#8217;s been a while and things were going OK, however I started noticing that my ISP POP3 account was lagging out horribly whenever I&#8217;d check for email, and also uploads were going slow again.  I thought &#8220;crap, the damned problem is still there&#8221;, which it was &#8211; it never really went away.  I went out and got 2 replacement D-Link DGE-530T cards (gigabit nic&#8217;s) which also support VLAN and other fancy stuff.  Initially I had just the one card and replaced the outbound NIC hoping it was just that one (this is the one I didn&#8217;t replace yet).  It didn&#8217;t seem to make any difference.  I then got the other NIC, and swapped it in and even switched power supplies with a beefier one I had laying around from an old system (had to cannibalize a replacement fan for it since I had yanked the one out of the new power supply for a case fan in my desktop).  I figured two new cards and a stable power supply should do the trick&#8230; but nope, still didn&#8217;t make a difference!</p>
<p>I figured the last thing I could play with were the MTU settings &#8211; I had noticed a while back that my outbound card on the server was getting 576 from the cable modem, and my internal LAN had it&#8217;s usual 1500.  I thought that Linux would just gracefully handle the additional packet info and split it up accordingly and deal with it for me &#8211; I mean after all, this problem wasn&#8217;t apparent since I&#8217;ve first had the cable modem.  Even so, I figured what the hey &#8211; chop off 16 bits (8 for the wireless router, another 8 for the server &#8211; just to be sure) and give it a whirl.  So I set my server&#8217;s internal connection to have an MTU of 560, and the same for the router&#8217;s WAN port which goes to the server.  Give it a shot and what do you know &#8211; full upload speed!</p>
<p>So, after *all* this headache, all I had to do was tweak my MTU settings!  I figure that when they came and installed my VOIP home phone service that they changed the cable modem&#8217;s MTU setting, either that or just coincidence that on that day, the ISP lowered the MTU setting enough to cause a noticable problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2007/05/15/23/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

