<?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>zach.blog &#187; Windows</title>
	<atom:link href="http://blog.zachtib.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.zachtib.com</link>
	<description>General geekery and whatnot</description>
	<lastBuildDate>Mon, 28 Nov 2011 19:20:36 +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>My Review of Windows 7</title>
		<link>http://blog.zachtib.com/2009/09/my-review-of-windows-7/</link>
		<comments>http://blog.zachtib.com/2009/09/my-review-of-windows-7/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 20:23:53 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://collegegeek.org/?p=568</guid>
		<description><![CDATA[A couple of days ago, I got my hands on a copy of Windows 7 Professional through MSDNAA.  Both of my computers were already running on the release candidate and have now been updated to the final build, both with &#8230; <a href="http://blog.zachtib.com/2009/09/my-review-of-windows-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago, I got my hands on a copy of Windows 7 Professional through MSDNAA.  Both of my computers were already running on the release candidate and have now been updated to the final build, both with fresh installs.</p>
<p>First, some background info:  It should be said that I&#8217;m not exactly a huge fan of Microsoft. I switched from Windows to Linux almost exclusively starting in 2004.  Since then, I have used Linux as my day-to-day operating system, and have only used Windows when I had to, usually by way of virtualization.  When I bought my new laptop in 2008, my desktop returned to Windows as it was now the weaker of the two systems and was rarely used, except for some light gaming.  Then, at the beginning of this last semester, I bought a USB Tablet in order to start taking all my notes digitally. Unhappy with the note-taking apps available on Linux, I installed the Windows 7 RC onto my laptop in order to use Evernote and PDF Annotator.  As a result of this, I&#8217;m looking at this operating system from the perspective of a Linux user that hasn&#8217;t used Windows on a regular basis since XP.</p>
<p><span id="more-568"></span></p>
<h2>Test Computers:</h2>
<p>Dragon (Desktop):</p>
<ul>
<li> Core i7 920 2.66GHz</li>
<li>6GB DDR3-1333</li>
<li>300GB 10,000rpm hard drive</li>
<li>2x Geforce GTS 250 1GB</li>
</ul>
<p>Krayt (Laptop):</p>
<ul>
<li>Core 2 Duo 2.5GHz</li>
<li>4GB DDR2-667</li>
<li>160GB 7,200rpm hard drive</li>
<li>Quadro FX 570m 256MB</li>
</ul>
<p>Both computers serve different purposes.  My laptop is my general day-to-day machine, handling internet browsing, communication, and development.  My desktop, on the other hand, is primarily used for gaming and anything else that would potentially need or make use of it&#8217;s processing power.  Both machines use WUXGA (1920&#215;1200) displays, and both are running the x64 version of Windows 7 Professional.</p>
<h2>First impression:</h2>
<p>I had used the Windows 7 beta in a virtual machine, and the release candidate on actual hardware, so the user interface wasn&#8217;t much of a shock to me. I was struck, however, at how clean the default desktop is.</p>
<div id="attachment_577" class="wp-caption aligncenter" style="width: 510px"><a href="http://collegegeek.org/uploads/2009/08/screenshot-1.PNG"><img class="size-medium wp-image-577" title="screenshot-1" src="http://collegegeek.org/uploads/2009/08/screenshot-1-500x312.PNG" alt="The default desktop on Windows 7" width="500" height="312" /></a><p class="wp-caption-text">The default desktop on Windows 7</p></div>
<p>Unfortunately, it&#8217;s not a sight that most people will see, as most people get Windows preinstalled on their computer, and most vendors will load it down with additional software.</p>
<h2>User Interface Improvements:</h2>
<p>The most prominent UI change is the new taskbar, which abandons the Icon/Window Name approach we&#8217;ve grown used to in favor of a more &#8220;dock-like&#8221; style that shows only a larger application icon for each running program.  While several people have complained about this, I personally like it as it does help to clean up all the clutter that can be onscreen when several applications are running.  When you click on an application&#8217;s icon, it pops out to show all windows in that application.  The taskbar also now has the functionality of the quick launch bar.  Applications can be &#8220;stuck&#8221; to the taskbar, meaning their icons remain visible even if the program is not running. Active applications&#8217; icons are shown in a box, while the launchers are not.  In the screenshots below, Eclipse is not running.</p>
<div id="attachment_579" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-579" title="taskbar-1" src="http://collegegeek.org/uploads/2009/08/taskbar-1.png" alt="The newly designed Windows 7 taskbar" width="500" height="50" /><p class="wp-caption-text">The newly designed Windows 7 taskbar</p></div>
<div id="attachment_580" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-580" title="taskbar-2" src="http://collegegeek.org/uploads/2009/08/taskbar-2.png" alt="The taskbar showing an application with multple windows" width="500" height="250" /><p class="wp-caption-text">The taskbar showing an application with multple windows</p></div>
<p>Another new feature of the new taskbar is the ability to embed controls in the popup, as shown in this media player screenshot:</p>
<div id="attachment_586" class="wp-caption aligncenter" style="width: 310px"><img class="size-full wp-image-586" title="media-player-1" src="http://collegegeek.org/uploads/2009/08/media-player-1.png" alt="media-player-1" width="300" height="250" /><p class="wp-caption-text">Media player controls embedded in window preview</p></div>
<p>The start menu has remained mostly the same from Vista, with a couple minor tweaks.  First, the search functionality has been expanded to include items from the Control Panel, and items in the start menu can now fly out to list &#8220;tasks&#8221; which usually list the most commonly used functions of that application.</p>
<div id="attachment_581" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-581" title="start-menu-1" src="http://collegegeek.org/uploads/2009/08/start-menu-1.png" alt="The start menu" width="500" height="600" /><p class="wp-caption-text">The start menu</p></div>
<div id="attachment_582" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-582" title="start-menu-2" src="http://collegegeek.org/uploads/2009/08/start-menu-2.png" alt="The start menu showing an application's tasks" width="500" height="600" /><p class="wp-caption-text">The start menu showing an application&#39;s tasks</p></div>
<h2 style="font-size: 1.5em;">Included Applications:</h2>
<h3 style="font-size: 1.17em;">Internet Explorer 8:</h3>
<div style="text-align: center;">
<dl id="attachment_585" style="display: block; margin-left: auto; margin-right: auto; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin-top: 10px; margin-bottom: 10px; -webkit-border-top-right-radius: 3px 3px; -webkit-border-top-left-radius: 3px 3px; -webkit-border-bottom-left-radius: 3px 3px; -webkit-border-bottom-right-radius: 3px 3px; width: 510px; border: 1px solid #dddddd;">
<dt><a href="http://collegegeek.org/uploads/2009/08/internet-explorer-1.PNG"><img style="padding: 0px; margin: 0px; border: 0px none initial;" title="internet-explorer-1" src="http://collegegeek.org/uploads/2009/08/internet-explorer-1-500x350.PNG" alt="Internet Explorer 8" width="500" height="350" /></a></dt>
<dd style="font-size: 11px; line-height: 17px; padding-top: 0px; padding-right: 4px; padding-bottom: 5px; padding-left: 4px; margin: 0px;">Internet Explorer 8</dd>
</dl>
</div>
<p>It&#8217;s Internet Explorer. Really, what do you want to know? The user interface is almost identical to IE7, although it does now appear to run each tab in a separate process, similar to the way Google Chrome works.  It also features several &#8220;accelerators&#8221; which are basically context menus that allow it to easily hook into Windows Live services from anywhere. Beyond that, I can&#8217;t comment much except to say it did an excellent job of downloading Google Chrome for me.</p>
<h3 style="font-size: 1.17em;">Media Player 12:</h3>
<div class="mceTemp mceIEcenter" style="text-align: center;">
<dl id="attachment_592" class="wp-caption aligncenter" style="width: 510px;">
<dt><a href="http://collegegeek.org/uploads/2009/08/media-player-2.PNG"><img style="margin-top: 0px; margin-bottom: 0px; padding: 0px;" title="media-player-2" src="http://collegegeek.org/uploads/2009/08/media-player-2-500x343.PNG" alt="Media Player 12" width="500" height="343" /></a></dt>
<dd style="font-size: 11px; line-height: 17px; padding-top: 0px; padding-right: 4px; padding-bottom: 5px; padding-left: 4px; margin: 0px;">Media Player 12</dd>
</dl>
</div>
<p>Likewise, Media Player hasn&#8217;t changed much since it&#8217;s previous release (version 11). The only difference that I notice immediately is the hook in with the new taskbar, which I mentioned above.  Although, it seems to have come a ways (at least since XP) in file format support, especially related to video.  At least to the point that I haven&#8217;t bothered to install VLC yet.  However, with more advanced codecs, you will need to install something, whether it&#8217;s a new player or just plugins for WMP.  The first file type that wouldn&#8217;t play for me was an mkv.</p>
<h3 style="font-size: 1.17em;">Wordpad:</h3>
<div id="attachment_593" class="wp-caption aligncenter" style="width: 510px"><a href="http://collegegeek.org/uploads/2009/08/wordpad-1.PNG"><img class="size-medium wp-image-593" title="wordpad-1" src="http://collegegeek.org/uploads/2009/08/wordpad-1-500x421.PNG" alt="Wordpad" width="500" height="421" /></a><p class="wp-caption-text">Wordpad</p></div>
<p>Wordpad, on the other hand, has seen significant changes.  The user interface has been updated to resemble that of Microsoft Office 2007 with the &#8220;ribbon&#8221; UI element.  Like IE, though, I can&#8217;t comment in depth as I don&#8217;t really use it.  However, it does support both Office Open XML and OpenDocument Text formats, which should make it a decent word processor for people who don&#8217;t want to shell out for office.</p>
<h3>Paint:</h3>
<div id="attachment_596" class="wp-caption aligncenter" style="width: 510px"><a href="http://collegegeek.org/uploads/2009/08/ms-paint-1.PNG"><img class="size-medium wp-image-596" title="ms-paint-1" src="http://collegegeek.org/uploads/2009/08/ms-paint-1-500x307.PNG" alt="Paint" width="500" height="307" /></a><p class="wp-caption-text">Paint</p></div>
<p>Paint is another app that has received the ribbon treatment, though it&#8217;s functionality stays largely the same.</p>
<h2>Performance:</h2>
<p>Unfortunately, I don&#8217;t have a lower end system on which to test Windows 7.  However, my manager at VMware did run the beta on his Dell Mini 9 (specs: Intel Atom N270 1.6GHz, 2GB DDR2-667, Intel GMA 950, 16GB SSD), and seeing as, in my experience, the OS has been further refined since the beta release, it stands to reason it should run just as well now.  Performance on the netbook seemed to be just fine, as it was able to run Aero without issue and run a few application concurrently, usually Firefox, Outlook, and some sort of instant messaging software.</p>
<p>On my laptop (and of course desktop), Windows 7 absolutely flies.  Startup is quick, and resuming from sleep or hibernate is even quicker (usually just a few seconds).  It connects to wifi instantly (and is ready to go by the time I&#8217;ve typed my password to unlock the machine).</p>
<p>(As I&#8217;m out in San Francisco at the moment, I don&#8217;t have access to my desktop to test startup and shutdown times, among other things.)</p>
<h2>Security:</h2>
<p>Windows 7 continues to use UAC for security measures, and I continue to urge people to use it.  It operates in a similar manner to sudo in Linux distros, by only elevating user permissions when they are needed.  However, it does popup less often than in Vista.  While it is still being used for any action that needs it, minor actions (such as opening Resource Monitor, or changing the system clock) do not prompt the user for permission, but go ahead and elevate permissions for that action.  The primary action that I notice actually prompting for permission is now application installation.</p>
<p>Windows 7 ships with Windows Firewall and Windows Defender as well, although I still augment those with my own antivirus. During the RC testing stages, I used AVG&#8217;s free antivirus tool, and now I&#8217;m using ESET&#8217;s NOD32.  Both applications work well and are detected by Windows 7, but the primary reason for my switch was the increasing nagging of AVG to upgrade to their paid version.  So far I&#8217;ve yet to have a Virus or Spyware infection (knock on wood).</p>
<h2>Conclusion:</h2>
<p>Windows 7 is a very usable operating system. If you need to run Windows applications and have moderately decent hardware, I&#8217;d suggest it over XP or Vista.  The included applications are reasonably useful, and by the virtue of it being Windows, there are a ton of additional applications available for installation.  It also (for the moment at least) tends to have a leg up on XP in terms of security, and is less invasive in that regard than Vista.  Hardware support is also excellent, the only driver that I installed on either system was a video driver.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zachtib.com/2009/09/my-review-of-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Update</title>
		<link>http://blog.zachtib.com/2009/05/windows-7-update/</link>
		<comments>http://blog.zachtib.com/2009/05/windows-7-update/#comments</comments>
		<pubDate>Wed, 27 May 2009 18:27:45 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://collegegeek.org/2009/05/27/windows-7-update/</guid>
		<description><![CDATA[Just a short update on Windows 7. It turns out that media sharing with Media Center actually works pretty well, with little or no configuration. If you have Media set to be streamable in the Network and Sharing Center, then &#8230; <a href="http://blog.zachtib.com/2009/05/windows-7-update/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just a short update on Windows 7. It turns out that media sharing with Media Center actually works pretty well, with little or no configuration.  If you have Media set to be streamable in the Network and Sharing Center, then all you have to do on the other computer is open Media Center, select TV Shows, and move over to &#8220;Shared.&#8221; After a moment, it should show your networked computers and allow you to watch their recorded shows.  However, it does not allow you to watch Live TV.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zachtib.com/2009/05/windows-7-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Continued Windows 7 Testing</title>
		<link>http://blog.zachtib.com/2009/05/continued-windows-7-testing/</link>
		<comments>http://blog.zachtib.com/2009/05/continued-windows-7-testing/#comments</comments>
		<pubDate>Tue, 19 May 2009 03:28:53 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[krayt]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://collegegeek.org/?p=527</guid>
		<description><![CDATA[So, yesterday, I installed the Windows 7 RC (Again, 64bit) onto my laptop (a Thinkpad T61p). At first, drivers seemed to be a bit of a problem, as I couldn&#8217;t get the generic Nvidia driver to install on my laptop &#8230; <a href="http://blog.zachtib.com/2009/05/continued-windows-7-testing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So, yesterday, I installed the Windows 7 RC (Again, 64bit) onto my laptop (a Thinkpad T61p).</p>
<p>At first, drivers seemed to be a bit of a problem, as I couldn&#8217;t get the generic Nvidia driver to install on my laptop (Most vendors only allow their specific video drivers to be installed for some reason).  However, Windows Update had a working driver for me after a reboot.  The main thing I find myself missing in Windows on my laptop is multiple virtual desktops, which is made possible via <a href="http://www.codeplex.com/vdm">http://www.codeplex.com/vdm</a>.  While not as good as a native solution, it does get the job done.</p>
<p>My tablet works very well, once I install the Wacom driver, and I&#8217;ve been using Evernote to take notes in class.  Battery life is right at what it was in Ubuntu Jaunty, which isn&#8217;t horrible, but still less than I like (of course, I&#8217;m the one that bought a desktop replacement), and wireless configuration is much improved over XP (and a little better than Vista).  The new wifi interface is similar to NetworkManager&#8217;s UI, and native WPA support in Windows is certainly nice.</p>
<p>As soon as I booted a second copy of Windows on my network, Windows asked to connect to the other install (my desktop) to share files via &#8220;Homegroup.&#8221; Sadly, one sharing feature that I wanted was in Media Center, as I&#8217;d like to be able to play back MCE recordings over the network to my laptop.  While I was able to get this working, it didn&#8217;t allow access to my tuners from my laptop.</p>
<p>Another big thing in Windows 7 is the new RDP.  With RDP 7, Aero is possible over a decent connection.  It funs flawlessly when I&#8217;m on the same network as my computer, and only lags a little bit when connecting from school using a VPN.  However, as I understand it, all the rendering is being done client-side, so it&#8217;s not streaming video from the server or anything.</p>
<p>So far, the more I use W7, the more I like it, which for a Microsoft product is very odd.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zachtib.com/2009/05/continued-windows-7-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7</title>
		<link>http://blog.zachtib.com/2009/05/windows-7/</link>
		<comments>http://blog.zachtib.com/2009/05/windows-7/#comments</comments>
		<pubDate>Sat, 09 May 2009 00:30:18 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://collegegeek.org/?p=458</guid>
		<description><![CDATA[For the last couple of days, I&#8217;ve been playing with the RC of Windows 7 x64, and I thought I&#8217;d post some thoughts. For the most part, W7 looks a lot like Vista, as they both use the same themes. &#8230; <a href="http://blog.zachtib.com/2009/05/windows-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For the last couple of days, I&#8217;ve been playing with the RC of Windows 7 x64, and I thought I&#8217;d post some thoughts.<span id="more-458"></span></p>
<p>For the most part, W7 looks a lot like Vista, as they both use the same themes.  The only major difference is the new taskbar, which does away with text labels in favor of larger icons, making it feel more like a dock than a taskbar.  The new taskbar also has some additional functionality that developers will need to hook into first, but for an example, try hovering your mouse over Windows Media Player&#8217;s icon while its running to get controls without needing to bring the window up.</p>
<p>Most of the included applications are the same as what are currently available for Vista (IE8, MP11, etc.), but in particular, Media Center has been greatly improved to support QAM, meaning I can now watch and record local HD stations and Digital Cable.</p>
<p>W7 now ships with a decent screengrabber rather than forcing you to PrintScrn and paste into Paint (It&#8217;s called &#8220;Snipping Tool&#8221; and can actually be installed on Windows XP or Vista). Speaking of Paint, its UI has also been overhauled&#8230; not that I ever use it.</p>
<p>Most of the changes in W7 are so called &#8220;Under the Hood&#8221; improvements (hence the version number of 6.1, up from Vista&#8217;s 6.0).  While I don&#8217;t have any numbers for comparison, it does seem incredibly fast, but on my desktop, that&#8217;s not a surprise.  W7 is supposedly less resource intensive, most likely due to the recent netbook craze, and I did get a chance to see the Beta running on a Dell Mini 9 last semester.</p>
<p>Computer enthusiasts will be happy to know that the Windows Experience Index cap has been raised (from 5.9 to 7.9), so they can go back to worrying over what&#8217;s bottlenecking their system now (For me it&#8217;s my 10,000rpm Velociraptor drive).</p>
<p>One disappointment so far has been that Google Chrome 1.0 doesn&#8217;t seem to want to play nicely with W7. I&#8217;ve been getting the &#8220;Oh, Snap&#8221; error page pretty frequently since upgrading.  I&#8217;ve yet to give the 2.0 beta a try, but I&#8217;ll be doing that shortly (though nothing in the changelog mentioned improved W7 compatibility).</p>
<p>Windows 7 final is supposed to be out by the end of this year.</p>
<p>EDIT:</p>
<p>Chrome 2.0 seems to be much more stable on Windows 7&#8230; Huzzah!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zachtib.com/2009/05/windows-7/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>XPe on ESX 3.x</title>
		<link>http://blog.zachtib.com/2008/07/xpe-on-esx-3x/</link>
		<comments>http://blog.zachtib.com/2008/07/xpe-on-esx-3x/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 06:24:20 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[scsi]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XPe]]></category>

		<guid isPermaLink="false">http://collegegeek.org/?p=166</guid>
		<description><![CDATA[So, after I posted my method for building and testing XPe images in Workstation, I was asked to get my XPe VMs working in ESX as well.  ESX uses an older version of VMware&#8217;s Virtual Hardware, so XPe VMs I &#8230; <a href="http://blog.zachtib.com/2008/07/xpe-on-esx-3x/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So, after I posted my method for building and testing XPe images in Workstation, I was asked to get my XPe VMs working in ESX as well.  ESX uses an older version of VMware&#8217;s Virtual Hardware, so XPe VMs I created with my previous method will not run if transferred directly to an ESX machine.</p>
<p>Creating the virtual hardware component is pretty straightforward, and follows the same general process as my previous guide.  For your convenience, I&#8217;ve uploaded my component that I created running XP on ESX.</p>
<p><a href="http://collegegeek.org/uploads/vmware/vmware4.sld">vmware4.sld</a></p>
<p>However, just the component isn&#8217;t enough for ESX.  ESX 3.x doesn&#8217;t support virtual IDE hard drives.  Likewise, Windows XPe doesn&#8217;t support SCSI drives.  So, you&#8217;ll have to install the VMware SCSI driver.  During a normal XP installation, you can do this by pressing F6 during installation and loading the drivers from a floppy, but because you build XPe rather than installing it, you have to componetize the driver.  Again, I&#8217;ve already done this for you.</p>
<p><a href="http://collegegeek.org/uploads/vmware/vmscsi.zip">vmscsi.zip</a></p>
<p>If this doesn&#8217;t work for you, you can download the floppy image containing the driver from VMware.com, extract it, and then import the vmscsi.inf file into the XPe Component Designer.</p>
<p>Once you have both the vmware4 and vmscsi components added to your XPe profile, run dependency checks to pull in the required components and build the image like you did in the last guide.  After that, move the Virtual Machine onto your ESX box (assuming you didn&#8217;t create it there) and fire it up.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zachtib.com/2008/07/xpe-on-esx-3x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using VMware to Build and Run XP Embedded</title>
		<link>http://blog.zachtib.com/2008/06/using-vmware-to-build-and-run-xp-embedded/</link>
		<comments>http://blog.zachtib.com/2008/06/using-vmware-to-build-and-run-xp-embedded/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 01:28:24 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XPe]]></category>

		<guid isPermaLink="false">http://collegegeek.org/?p=155</guid>
		<description><![CDATA[Update 9/2011: Unfortunately, I&#8217;ve lost the .sld files that are referenced in this article. At this point, the information here is probably quite out of date. While some of it may still be of use, you may want to look &#8230; <a href="http://blog.zachtib.com/2008/06/using-vmware-to-build-and-run-xp-embedded/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Update 9/2011: </strong>Unfortunately, I&#8217;ve lost the .sld files that are referenced in this article. At this point, the information here is probably quite out of date. While some of it may still be of use, you may want to look elsewhere for getting XPe running in a virtual machine.</p>
<p>XP Embedded Studio isn&#8217;t actually a horrible application at it&#8217;s core.  Now, the user interface and documentation are God-awful, which is why I&#8217;m writing this post.  As you saw in my last two entries, I&#8217;ve been working with XPe for the last few days, and there has been plenty of frustration to go along with it.  What should have been a fifteen minute task wound up taking several days.  However, one week and a few dozen BSODs later, I present this how to:<br />
<span id="more-155"></span></p>
<p>The idea here is to use VMware to not only run, but create your XPe images, though you could easily do the development in your host environment with only minor changes to these directions.</p>
<h3><span style="text-decoration: underline;">Step 1: Prepare your development environment</span></h3>
<p>First, let&#8217;s get the virtual machines set up.  You&#8217;ll need at least two, one for doing the development, and another to test the image.  The first image is just a regular Windows XP virtual machine.  I already had a Windows XP Pro virtual machine that I use on a daily basis, so I just used that.  You&#8217;ll need to set up the Windows XP Embedded development environment.  If you don&#8217;t already have it, you can download a 30 day evaluation copy <a href="http://www.microsoft.com/downloads/details.aspx?familyid=dacd1722-256b-48c5-91c1-af6062340efc&amp;displaylang=en" target="_blank">from Microsoft.</a></p>
<p>Now, go ahead and create the second virtual machine, which you will use to run your XPe image.  Create a new VM in VMware and choose Windows XP Professional as the Guest OS. (Note: If you are using WS 6.5 or later, you don&#8217;t want to use easy install.  Choose to install the guest OS later.)  I selected some pretty basic specs for the VM:</p>
<ul>
<li>Memory: 256MB</li>
<li>Processors: 1</li>
<li>Hard Disk (IDE 0:0): 512MB</li>
</ul>
<p>It doesn&#8217;t take much to run XPe, and those listed specs should be fine unless you&#8217;ll be putting a lot of data on the image.</p>
<p>Now that your VM is created, you need to add it&#8217;s hard drive to your original XP VM.  Make sure your XP VM is shut down, then open the Virtual Machine Settings dialog and click Add.  Choose to add a new Hard Disk, and when prompted, choose to add an existing virtual disk.  Navigate to your XP Embedded Virtual Machine and choose the vmdk associated with it.  After it has been added, open the Advanced properties for that disk and make it Independent and Persistent.</p>
<h3><span style="text-decoration: underline;">Step 2: Load a profile of your virtual hardware</span></h3>
<p>This was the part that gave me grief.  Fortunately for you, you can benefit from my experience.  You need a profile of the hardware you will be running XPe on so that XPe knows which drivers to load.</p>
<h3><span style="text-decoration: underline;">Step 2a: The easy way</span></h3>
<p>I have prepared a component for Windows XPe that will automatically load in a set of generic drivers that are capable of running on VMware virtual hardware version 6, which is the version used in Workstation 6.0.  If you are using Workstation 6.5, it uses version 7 of VMware&#8217;s virtual hardware.  Chances are you&#8217;ll still be able to use my component, and you should definately try it.</p>
<p><a href="http://collegegeek.org/uploads/vmware/vmware6.sld">Download my XPe VMware Component</a></p>
<p>You&#8217;ll need to install the .sld file using the Component Database Manager.</p>
<p>If you ultimately wind up with an unbootable XPe image, you&#8217;ll want to come back and perform the steps in 2b, but for now, proceed to step 3.</p>
<h3><span style="text-decoration: underline;">Step 2b: The not-so-easy way</span></h3>
<p>So, you need to create your own profile for your virtual machine.  First, you&#8217;ll want to create a third VM.  Again, it should be Windows XP Professional, and the hardware should be as similar to your XPe VM as possible, though you&#8217;ll need more hard drive space.  I wound up needing about 1.5GB of disk space for this step, but it wouldn&#8217;t be a bad idea to allocate more just in case.</p>
<p>Install Windows XP Professional (Professional is important here) on the new virtual machine.  It&#8217;s very important that you DO NOT install VMware tools on this VM (This gave me trouble during my experimenting).  This means that if you&#8217;re using VMware 6.5 or later, you need to install the OS manually and not use Easy Install. (Note: You don&#8217;t need to bother activating this VM if you don&#8217;t want to, you&#8217;ll only need it for a minute.)</p>
<p>Once you have a vanilla installation of XP Pro up and running, you&#8217;ll need some of the XPe tools.  Go back to that link I posted near the beginning of this post and download and run the XPe downloader again.  This time, you only need the Windows XP Embedded SP1 Tools package, which is around 7 MB.</p>
<p>Let that download and start(You may get a warning, ignore it), then choose to Browse the CD.  Open the fodler named XPE and look for a file named TAP.EXE (Or probably just TAP, as XP will hide the file extensions by default).  Double-click it and it will run, leaving behind a file named devices.pmq in that same directory.  Now you need to get that pmq file back to your original XP VM where you&#8217;re doing the XPe development.  I just opened Internet Explorer and Gmailed it to myself.  Once you have the pmq file, you don&#8217;t need this extra VM anymore and you can delete it.</p>
<p>Back in your original VM, grab your devices.pmq file and put it somewhere on the hard drive.  Now open Microsoft Component Designer and choose File &gt; Import and open devices.pmq.  Go through the import process, then if you want you can give your component a name and other info.  Finally, save the component as a *.sld file and then import that sld using the Component Database Manager.  Now your component should be available when building XPe images.</p>
<h3><span style="text-decoration: underline;">Step 3: Create the Image</span></h3>
<p>Open the XPe Target Designer and start a new project.  On the left hand side of the window, you should see a list of components, including the VMware hardware profile that you either downloaded from me or created yourself.  Double click it to add it to the project.</p>
<p>Now, press F5 to perform a dependency check.  It will run through and automatically add most of the needed components, but it will need your input on a few of them.  If you are using my profile, you should wind up with 6 errors, which will be displayed at the bottom of the screen.  For each item, double click the icon next to it to see the list of available components that will satisfy that dependency.  Choose the components that best suit your need, but for a standard set up, I recommend using the following whenever they come up as options:</p>
<ul>
<li>NT Loader</li>
<li>FAT</li>
<li>Windows Logon</li>
</ul>
<p>After all of the dependencies are taken care of, it&#8217;s time to&#8230; run another dependency check!  For some reason, Microsoft doesn&#8217;t do recursive dependency checking here.  Press F5 again, and wait for it to finish.  At this point there should be one more error, the shell.  Handle this one just like the last set.  For a standard set up, I&#8217;d recommend just using the Explorer Shell.</p>
<p>Continue to run dependency checks until it comes back with no errors.</p>
<p>You&#8217;re almost there.  At this point, it&#8217;s a good idea to save your work.</p>
<h3><span style="text-decoration: underline;">Step 4: Prepare the virtual disk</span></h3>
<p>Open up XP&#8217;s built in disk manager and find your XPe VM&#8217;s hard drive that you attached to your original XP VM.  Make sure it is initialized, then partition and format the entire disk as FAT32.</p>
<p>You&#8217;ll also need to make sure that the partition is marked as bootable.  You can do this however you like, I booted the VM to an Ubuntu Live CD and used the built in partition editor.</p>
<h3><span style="text-decoration: underline;">Step 5: Build XP Embedded</span></h3>
<p>Back in the Target Designer, you need to build the XPe image.  To do this, press F7.  For build type, choose Release.  For Destination, enter the path where your XPe VM&#8217;s is mounted, for example, D: or E:.  Note that it will be mounted at C: in XPe.  Finally, press Build.  If all goes well, you will get no errors, and maybe a warning or two.</p>
<h3><span style="text-decoration: underline;">Step 6: Run it</span></h3>
<p>Only one VM can access a particular vmdk at a time, so you&#8217;ll want to suspend your XP VM now.  Once that&#8217;s done, switch over to your XPe VM and power it on.  If you&#8217;ve done everything correctly, you should be a Windows XP Embedded loading screen, then the First Boot Assistant, after which it will boot into your embedded environment.</p>
<p>Congratulations! You now have a minimal XPe system that is capable of running on virtual hardware.  In order to add additional components to your XPe image, shut down the VM and resume your original XP VM.  Modify the image as you see fit, then reformat the target disk and build again.  There shouldn&#8217;t be a need to mark the partition as bootable again.</p>
<p>If your XPe image crashed, you&#8217;ll need to do some debugging.  If you were using my pre-made profile, go back to Step 2b and create a profile yourself.  This should be guaranteed to work, but if not, I&#8217;d start by checking for information on MSDN.  If your image is crashing with a BSOD, try Googling the error number and seeing what you get.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zachtib.com/2008/06/using-vmware-to-build-and-run-xp-embedded/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>More Frustrations</title>
		<link>http://blog.zachtib.com/2008/06/more-frustrations/</link>
		<comments>http://blog.zachtib.com/2008/06/more-frustrations/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 02:52:23 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XPe]]></category>

		<guid isPermaLink="false">http://collegegeek.org/?p=153</guid>
		<description><![CDATA[Trying again to deal with XPe only lead to more frustrations today.  I managed to get the virtual disk marked as bootable, and the virtual machine did start up, but then I was faced with another problem.  As is, the &#8230; <a href="http://blog.zachtib.com/2008/06/more-frustrations/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Trying again to deal with XPe only lead to more frustrations today.  I managed to get the virtual disk marked as bootable, and the virtual machine did start up, but then I was faced with another problem.  As is, the image would complain that it couldn&#8217;t find System32driverspci.sys, so, I rebuilt the image and included the PCI subsystem that contained the needed file.  After rebuilding the image and again booting to it, the image bluescreened as soon as it started loading.  Removing pci.sys fixed the bluescreen, but reverted to the other problem.  I still have some tinkering to do, but I don&#8217;t know how successful it will be.</p>
<p>During some of my sporadic downtime when Windows was crashed, loading, or rebooting, I took a look at the iPhone SDK and emulator.  Some of the webapps for the iPhone are really impressive, notably Facebook and Meebo.  I even found a plugin/theme for WordPress to make a site more iPhone friendly and set it up for Collegegeek.org.  I haven&#8217;t started coding anything yet, but the first step will be to start learning some Objective C.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zachtib.com/2008/06/more-frustrations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedded Headache</title>
		<link>http://blog.zachtib.com/2008/06/embedded-headache/</link>
		<comments>http://blog.zachtib.com/2008/06/embedded-headache/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 02:53:55 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XPe]]></category>

		<guid isPermaLink="false">http://collegegeek.org/?p=152</guid>
		<description><![CDATA[Today, I had a unique opportunity to work with Window XP Embedded. *Shudders* Microsoft has made some lousy products in the past, but the Embedded SDK has to be one of the worst.  The application isn&#8217;t remotely intuitive to use, &#8230; <a href="http://blog.zachtib.com/2008/06/embedded-headache/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today, I had a unique opportunity to work with Window XP Embedded.</p>
<p>*Shudders*</p>
<p>Microsoft has made some lousy products in the past, but the Embedded SDK has to be one of the worst.  The application isn&#8217;t remotely intuitive to use, and even once you&#8217;ve learned what you&#8217;re doing, it&#8217;s not easy.  The task I had was simple: create an XPe image to test a particular program with.  However, this was far more difficult than it needed to be.  Even though I had a list of the DLLs that I needed, there was no easy way to find those DLLs in the XPe tools.  Each time that I wanted to load a DLL, I had to manually create a new filter for &#8220;Contains&#8221; and the name of the DLL, rather than use the integrated search box.  For some reason, the search box would not look at the names of the DLL files themselves, just the name of the packages they were in.  Even creating a filter didn&#8217;t work 100% of the time (actually, I don&#8217;t think it even found 10% of the files I needed).</p>
<p>Secondly, the built in dependency generation was a joke.  When you clicked on &#8220;Build,&#8221; it would ask you if you wanted to automatically fulfill dependencies.  You click yes, and it does that, but it&#8217;s not recursive.  Whast I mean, is after it&#8217;s done, and you click &#8220;Build&#8221; again, you know have X number of new components that need to have their dependencies checked, and so XPe will go on to scan <em>every component</em> again.  It took 5 or 6 rounds of dependency checking before it was finally happy for me.  Then, I got to build the image.  The software did some hocus pocus, and then spat out a standard looking C: filetree in a directory on my hard drive.  Now what?  I had Program Files, Documents and Settings, and WINDOWS, but no idea what to do with them.  I tried putting them on a virtual 512MB hard disk and creating a virtual machine to boot to it, but no luck, there was no MBR on the disk.  After 30 minutes or so of reading documentation on the matter, I called it quits for the day and went on to work on other things.</p>
<p>I know it&#8217;s not an impossible issue to overcome, and I&#8217;m sure I&#8217;ll get past it tomorrow, but creating an embedded image was far more difficult than it needed to be, and in my opinion, should be handled something like this:</p>
<ol>
<li>Start a new Embedded project.</li>
<li>Load any number of executables that you need your system to run into the project.  The software scans the EXEs to determine which libraries they are linked against, and copies those files into the project as well. (Visual Studio has a tool to scan an EXE and determine it&#8217;s dependencies, so this should be possible.) The included EXEs will be copied into Program Files when the image is created.</li>
<li>Create a profile of the hardware that the image needs to run on, and load the appropriate drivers.  For more common hardware, this could be done automatically, otherwise, the user could manually download and add the needed drivers.</li>
<li>Now, perform a single, recursive, dependency check to satisfy all of the previously included components.</li>
<li>Finally, export the image to a specified format, such as a CD ISO for installing the image, or a bootable USB jump drive.</li>
</ol>
<p>That&#8217;s just a rough outline, but I think that it&#8217;s relatively feasible and that creation of embedded systems could be much easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zachtib.com/2008/06/embedded-headache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows: Past, Present, and Future</title>
		<link>http://blog.zachtib.com/2007/04/windows-past-present-and-future/</link>
		<comments>http://blog.zachtib.com/2007/04/windows-past-present-and-future/#comments</comments>
		<pubDate>Tue, 03 Apr 2007 22:22:41 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://collegegeek.org/index.php/2007/04/03/windows-past-present-and-future/</guid>
		<description><![CDATA[As a computer science student, I&#8217;m allowed access to free copies of Microsoft&#8217;s Windows operating system. Recently, I&#8217;ve been downloading and trying different versions of it out of pure boredom, and felt like typing up some impressions. The versions of &#8230; <a href="http://blog.zachtib.com/2007/04/windows-past-present-and-future/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As a computer science student, I&#8217;m allowed access to free copies of Microsoft&#8217;s Windows operating system.  Recently, I&#8217;ve been downloading and trying different versions of it out of pure boredom, and felt like typing up some impressions.  The versions of Windows that I looked at were 2000 Professional SP4, XP Professional SP2, 2003 Server Enterprise SP2, and Vista Business.  They all have their pros and cons, of course, but it&#8217;s interesting to see what has changed over the last decade or so.<br />
<span id="more-85"></span></p>
<p>All of these were installed and tested on a virtual machine with 512MB of dedicated memory in VMWare Workstation 6.</p>
<p><strong>Windows 2000 Professional:</strong></p>
<p>Before today, I had never actually installed and used Windows 2k.  Back when I actually used Windows on a daily basis, I had made the jump from 98 directly to XP, so I didn&#8217;t really know what to expect from 2000.  My initial impression was that it was very quick, which stands to reason as 512MB of memory was a lot back in 2000.  However, I was stuck at 800&#215;600 and 16 bit color until I installed the proper video drivers.</p>
<p>Windows 2000 took me back a lot farther than I expected it to.  I was anticipating something similar to XP running in classic mode, but the user interface was much closer to that of 98.  Windows 2000 came with the ancient Internet Explorer 5, which I used just long enough to go and download Firefox 2.0, which looks very shiny relative to the rest of the applications in 2000.  Then for fun, I decided to see just how many updates there were to install, but it appeared I had to update Update before I could update to the latest updates.  Then, I had to install Internet Explorer 6 in order to see any updates.  At this point, I don&#8217;t care enough to keep playing with 2000, so I move on.</p>
<p><strong>Windows XP Professional:</strong></p>
<p>What can I say? XP is XP.  There really wasn&#8217;t anything of note here other than my usual bitching about it, which is why I don&#8217;t actually use it on a day to day basis.</p>
<p><strong>Windows Server 2003 Enterprise:</strong></p>
<p>Server 2k3 is essentially the server version of XP.  I initially downloaded 2003 because I used it in the remote desktop trick that I wrote about a few days ago.  Server 2003 manages to be a fairly stable operating system when compared to XP, although I haven&#8217;t put it through much.  While I never made use of any of the actual &#8220;server&#8221; services of it, it made a decent client OS as well, and sometimes it replaces XP for me when I need to virtualize something.  In particular, 2003 really doesn&#8217;t like to be shut down, so I generally suspend the virtual machine rather than powering it off.</p>
<p><strong>Windows Vista Business:</strong></p>
<p>And here&#8217;s the impression that really matters today.  Now, I&#8217;ve been saying bad things about Vista since I used it during open beta testing, but it&#8217;s possible that Microsoft has done a little better than I had expected them to.  Now, it&#8217;s still utter shit, but as far as shit goes, it&#8217;s not that bad.  It is the fillet mignon of shit, if you will.</p>
<p>Now sadly, the first thing I saw when I booted Vista up for the first time was the log in screen.  Robin Williams once had the following to say about golf, &#8220;&#8230;you can wear colors that would make even a blind, gay man go &#8216;Oh, dear Christ.&#8217;&#8221;  Well, the Windows Vista login screen invokes a similar reaction.  The rest of the stupid effects I was able to disable and revert to the &#8220;classic look,&#8221; but the login screen remained there to torment me.  Now, a couple other things Microsoft did go over the top on.  For instance, I can&#8217;t properly play Solitaire now because it requires 3D acceleration, and I&#8217;ve yet to figure out how to disable the stupid animations.</p>
<p>However, there are a few things that Microsoft has really improved on.  The first thing is the directory structure of the C drive.  If you open up the C drive in Vista, you&#8217;ll only see three folders: Program Files, Users, and Windows.  As always, Program Files contains your applications and Windows contains the operating system itself.  However, your personal directories are now located at C:UsersYourUserName so for me, C:UsersZach.  This is much better than the previous way of doing things which was to put them at C:Documents and SettingsZach TibbittsMy Documents.  As a terminal junkie, it&#8217;s a lot easier to cd into my home directory now than it was in XP.</p>
<p>The next thing that has been somewhat improved in Vista (and I use the term somewhat here, because some things may have been changed for the worse) is the overall design of the user interface.  I&#8217;m not talking about Aero, which is roughly as useless as my pet cat, but the design of the interface itself.  The Start Menu is the most obvious example.  Gone are the endless nested menus, and instead there is a simple list of applications.  Clicking on All Programs displays the rest of the installed programs, but instead of popping up another menu, they are displayed in the original Start Menu.</p>
<p>Now, there are a few things that Microsoft left out of Vista that they really should have included.  The first is Windows Powershell, also known as Monad.  Although you can install it later, it really should have been included by default.  The second thing is WinFS, a new filesystem to replace the archaic NTFS filesystem in use now.  However, Microsoft scrapped WinFS some time ago, which is sad really, as NTFS is almost 14 years old at this point.</p>
<p>Then there&#8217;s the UAC.  It&#8217;s intrusive, it&#8217;s annoying, but if you insist on using Vista then take my advice: learn to love it and never turn it off.  It only takes a fraction of a second to click ok whenever you need administrative rights, and the benefit of an extra level of protection from a malicious software installer or a random PEBKAC error is worth the slight inconvenience.</p>
<p>Finally, there are the things in Vista that I flat out don&#8217;t like or want there.  First is of course, the implementation of DRM in the operating system.  I&#8217;ve yet to see an application of DRM that I would consider valid, and refuse to buy a copy of Vista solely on this fact (though I obviously don&#8217;t mind playing with a free copy).  Aero I&#8217;m not particularly fond of, though it can be disabled.  Now, I don&#8217;t mind compositing in general, and if I had a computer that could run it smoothly, I&#8217;d probably even use Aero.</p>
<p>All in all, I&#8217;m not sure about Vista yet.  If Microsoft wasn&#8217;t so damned anticompetitive and generally oppressive with their operating system, I&#8217;d be more inclined to use it alongside Linux, but at this point I&#8217;m just not sure.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zachtib.com/2007/04/windows-past-present-and-future/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Applications in Linux with SeamlessRDP</title>
		<link>http://blog.zachtib.com/2007/03/windows-applications-in-linux/</link>
		<comments>http://blog.zachtib.com/2007/03/windows-applications-in-linux/#comments</comments>
		<pubDate>Sat, 31 Mar 2007 20:31:09 +0000</pubDate>
		<dc:creator>Zach</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://collegegeek.org/index.php/2007/03/31/windows-applications-in-linux/</guid>
		<description><![CDATA[There are several ways to run Windows applications under Linux. One of the most common ways is through wine, which redirects system calls to effectively emulate windows programs under Linux. Another popular solution is through virtualization products such as VMWare.Â  &#8230; <a href="http://blog.zachtib.com/2007/03/windows-applications-in-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are several ways to run Windows applications under Linux.  One of the most common ways is through wine, which redirects system calls to effectively emulate windows programs under Linux.  Another popular solution is through virtualization products such as VMWare.Â  In this post, I will describe a method for virtualizing single applications rather than the entire operating system, so you only see the program you&#8217;re trying to run rather than the entire OS.<br />
<span id="more-84"></span></p>
<p>For this process, you will need the following:</p>
<ul>
<li>A Linux host operating system (I used Ubuntu 7.04)</li>
<li>rdesktop 1.5 or newer</li>
<li>A virtualization product of some sort (I used VMWare Workstation 6)</li>
<li>A copy of Windows capable of running an RDP server (I used Windows Server 2003 Enterprise Edition)</li>
</ul>
<p>I&#8217;m assuming you already have your copy of Linux up and running, so I&#8217;m not going to bother talking about that.  I&#8217;m also going to assume that you already have rdesktop installed (it was installed by default on Ubuntu 7.04).</p>
<p>In this case, the first step is going to be to install VMWare.  At the time of writing, you can download a free copy of  the Release Candidate of VMWare Workstation 6 from VMWare&#8217;s webpage.  Download the .tar.gz and be sure to copy down the serial number they give you, or you will not be able to use Workstation.  Extract the archive you&#8217;ve downloaded and install VMWare normally.</p>
<p>After you get VMWare installed and running, the next step is to install Windows inside of a virtual machine.  This process is relatively simple, and shouldn&#8217;t give you any problems.  If you encounter any difficulty installing VMWare or Windows, look elsewhere for support, because that&#8217;s not what this guide is about.</p>
<p>Now, start up your virtual machine and log in as Administrator (you specified the password for this account during installation).  The first step is to create a limited user account for yourself so you aren&#8217;t always running as Administrator.  Bring up the Start Menu, then right click on My Computer and go to Manage.  When the Computer Management window appears, expand the Local Users and Groups item in the left hand column.  Then, right-click on Users and then select New User.  The dialog that appears is pretty self explanatory.  Enter a user name, actual name, and password.  Then be sure to uncheck &#8220;User must change password at next logon&#8221; and then select &#8220;Password never expires.&#8221;</p>
<p>Now you need to enable Remote Desktop.  From the Start Menu, right-click on My Computer and select Properties.</p>
<ul>
<li>Switch to the &#8220;Remote&#8221; tab in the System Properties window</li>
<li>Check the option &#8220;Enable Remote Desktop on this computer&#8221;</li>
<li>Click on &#8220;Select Remote Users&#8221;</li>
<li>Click &#8220;Add&#8221;</li>
<li>Enter your username</li>
<li>Click &#8220;Check Names&#8221;</li>
<li>Click &#8220;OK&#8221;</li>
<li>Click &#8220;OK&#8221; again to close out of the dialog</li>
</ul>
<p>Now, Remote Desktop should be enabled and your user should have the proper permission to use it.  To test this, open a terminal in your Linux operating system and run the command:</p>
<blockquote><p>rdesktop <em>servername</em></p></blockquote>
<p>Where <em>servername</em> is the IP address of your virtual machine.  If all goes well, a window will appear allowing you to login with your username and password, and then give you access to a Windows desktop session.  Go ahead and exit out of the remote session for now.</p>
<p>Now we need to install SeamlessRDP onto the virtual machine.  Download the <a href="http://www.cendio.se/files/thinlinc/seamlessrdp/seamlessrdp.zip">SeamlessRDP .zip file</a> from the <a href="http://www.cendio.com/seamlessrdp" target="_blank">SeamlessRDP homepage</a>.  Extract the contents of that archive somewhere on your server.  For the sake of this guide, I&#8217;m going to extract it to &#8220;C:seamlessrdp&#8221;.  In Windows Explorer, right-click the newly created directory &#8220;C:seamlessrdp&#8221; and select Properties.  Go to security, click Add, and add the group &#8220;Remote Desktop Users&#8221; and click OK.</p>
<p>Now, we need to test SeamlessRDP.  Again, open a terminal in your Linux OS and run the following command:</p>
<blockquote><p>rdesktop -A -s &#8220;C:seamlessrdpseamlessrdpshell.exe notepad&#8221; <em>servername</em></p></blockquote>
<p>Just like before, it will ask you for your username and password.  However, instead of showing you a new Windows session, it will return only a Notepad window, which will act and behave similarly to your normal application windows.  Now, rdesktop supports several commandline options to redirect things like soun, disks, and even clipboard use from the remote session.  However, adding all of these flags everytime you want to run a Windows application is tedious, so I&#8217;ve created a better solution, which is to use a script.</p>
<p>Start by making a script directory that we&#8217;ll add to your path.  Open a terminal and do that following:</p>
<blockquote><p>EDIT 6/18/08: This section of the post originally instructed you to download a small shell script that I had written.  Due to my server having to be reformatted, the file no longer exists, but it can be recreated.  Look at the rdesktop command above and read the rdesktop man page and you should be able to get it working.  Feel free to post a comment if you need additional help.</p></blockquote>
<p>Now, open the downloaded script in a text editor, and fill in a couple values. Add your username after &#8220;LOGIN=&#8221; and the address of the server after &#8220;SERVER=&#8221;.  By default, the value of PASSWD is &#8220;-&#8221;, which will prompt you for your password when running the script.  You can replace it with your actual password and it won&#8217;t prompt you, but if anyone has access to this text file, they&#8217;ll be able to get your password from it.</p>
<p>Now, make the script executable by running &#8220;chmod +x seamless&#8221;, and then open your ~/.bashrc file for editing.  At the end of the file, append the line:</p>
<blockquote><p>PATH=~/bin:$PATH</p></blockquote>
<p>You&#8217;ll have to open a new terminal window to reload your bashrc file, but once you do, you&#8217;ll be able to use seamless as a normal command.  To use it, simply run &#8220;seamless <em>program</em>&#8221; from a terminal.</p>
<p>This script will do the following things: It will connect to the server, start the specified program, then connect your home directory to that program (which can be accessed via My Computer), redirect clipboard use to your clipboard so that you can copy and paste from Linux to Windows programs and vice-versa, and also redirect sound to your Linux OS so that you can play sound in your Windows applications.</p>
<p>Test it out by trying to launch a couple of built-in Windows applications:</p>
<ul>
<li>For Notepad:
<ul>
<li>seamless notepad</li>
</ul>
</li>
<li>For Paint:
<ul>
<li>seamless mspaint</li>
</ul>
</li>
<li>For Internet Explorer
<ul>
<li>seamless &#8220;C:Program FilesInternet Exploreriexplore.exe&#8221;</li>
</ul>
</li>
<li>For Media Player:
<ul>
<li>seamless &#8220;C:Program FilesWindows Media Playerwmplayer.exe&#8221;</li>
</ul>
</li>
<li>For Outlook Express:
<ul>
<li>seamless &#8220;C:Program FilesOutlook Expressmsimn.exe&#8221;</li>
</ul>
</li>
</ul>
<p>Now, here&#8217;s what&#8217;s nice about VMWare workstation 6, and one of the reasons I chose to use it.  If you close the VMWare window with Windows still running, it will ask you what to do.  One of the options is to run the virtual machine in the background and close the window.  By doing this, VMWare will close to the tray, but leave Windows running, so that the seamless script will still work just fine.</p>
<p>And now, I&#8217;ll leave you with a few screenshots of the end result of this process: (Warning: Pictures are large)</p>
<p align="center"><a title="Notepad" href="http://collegegeek.org/wordpress/wp-content/uploads/2007/03/screenshot-notepad.png"><img title="Notepad" src="http://collegegeek.org/wordpress/wp-content/uploads/2007/03/screenshot-notepad.png" alt="Notepad" width="100" height="75" /></a><a title="Media Player" href="http://collegegeek.org/wordpress/wp-content/uploads/2007/03/screenshot-media-player.png"><img title="Media Player" src="http://collegegeek.org/wordpress/wp-content/uploads/2007/03/screenshot-media-player.png" alt="Media Player" width="100" height="75" /></a><a title="Internet Explorer" href="http://collegegeek.org/wordpress/wp-content/uploads/2007/03/screenshot-internet-explorer-7.png"><img title="Internet Explorer" src="http://collegegeek.org/wordpress/wp-content/uploads/2007/03/screenshot-internet-explorer-7.png" alt="Internet Explorer" width="100" height="75" /></a><a title="Clipboard Screenshot" href="http://collegegeek.org/wordpress/wp-content/uploads/2007/03/screenshot-clipboard.png"><img title="Clipboard Screenshot" src="http://collegegeek.org/wordpress/wp-content/uploads/2007/03/screenshot-clipboard.png" alt="Clipboard Screenshot" width="100" height="75" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zachtib.com/2007/03/windows-applications-in-linux/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

