<?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>Scottopolis &#187; Microsoft</title>
	<atom:link href="http://www.scottopolis.com/tag/microsoft/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scottopolis.com</link>
	<description>A community of ramblings and musings by Scott Dale Robison and comments thereon.</description>
	<lastBuildDate>Thu, 25 Nov 2010 03:37:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.2</generator>
		<item>
		<title>Reinstalling Windows XP</title>
		<link>http://www.scottopolis.com/2005/12/06/reinstalling-windows-xp/</link>
		<comments>http://www.scottopolis.com/2005/12/06/reinstalling-windows-xp/#comments</comments>
		<pubDate>Wed, 07 Dec 2005 02:08:15 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Clone]]></category>
		<category><![CDATA[Ghost]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.scottopolis.com/?p=42</guid>
		<description><![CDATA[DriveImage XML is a handy tool if you want to reinstall your operating system without getting permission from Microsoft.]]></description>
			<content:encoded><![CDATA[<p>As a tech guy, I periodically reformat my computer and reinstall the operating system. This is almost required of Windows XP. No, you don&#8217;t have to do it, but the more software you install and remove over time, the more things are likely to build up (files, registry entries, etc) and adversely affect performance. The problem is the more frequently you install Windows XP, the more frequently you have to go through Windows Product Activation. Generally speaking, Windows Product Activation isn&#8217;t a big deal (speaking of convenience anyway). That being said, I recently bought a used HP notebook and wanted to flush it and start from scratch. I had the Windows XP Home Edition CD that came with it, and it had a registration key sticker on the case as it was supposed to. Unfortunately, for whatever reason, when I tried to activate the product, I got a message that I could not do it and would have to call someone. I did, it was relatively painless, but I hate the process. They don&#8217;t need to know why I&#8217;m reinstalling the operating system. If I want to reinstall it daily, I should be able to without having to call them for permission in the form of an activation code.</p>
<p>In theory, the easiest way to do something like this is to backup a couple of files from the Windows folder, then reinstall, then restore those files. In theory being the important part. The reality is that there are so many things that can change that will &#8216;void&#8217; the WPA information that this isn&#8217;t a practical solution for a complete reinstall.</p>
<p>The &#8216;safest&#8217; way to accomplish something like this is to save a copy of the disk image, which would include virutally all the same information used to originally activate Windows. There are a number of programs that do this, some free, most not. The free ones have typically been based on GNU/Linux or BSD Unix, but I came across a cool free program the other day that will do this in Windows!</p>
<p>DriveImage XML (available <a href="http://www.runtime.org/dixml.htm">here</a>) is a free program released by <a href="http://www.runtime.org/">Runtime Software</a>. It allows you to build an image of a hard drive, even one in use, which can be later used to restore the drive to the exact state of when the image was created.</p>
<p>Here&#8217;s what I did. First, I backed up whatever was important enough to save. (You will be reformatting your hard drive, so don&#8217;t skip this or you&#8217;ll be sorry!) Second, I installed Windows XP Home Edition on my notebook from the original CD. Third, I called in and reactivated my installation. Fourth, I installed all necessary drivers and all updated software and fixes from Windows Update. Fifth, I installed DriveImage XML (but no other software; at this point the only things installed on this computer were the operating system, updates from microsoft, drivers, and DriveImage XML).</p>
<p>At this point I discovered that I had 7 gigabytes used, which seemed high to me. After a little investigation, I discovered about half my used space was due to System Restore having created restore points during the update process. After deleting those, I was down to about 3.5 gigabytes, which seemed more reasonable (though still larger than absolutely necessary; Microsoft is not known for their leanness).</p>
<p>After running DriveImage XML, I was able to create a drive image that was about 1.8 gigabytes after compression. I created a bootable ISO image with PE Builder (another freebie &#8211; more about that later) that included DriveImage XML and the hard drive image. I then burned that ISO image to my DVD writer with Nero. Finally, I removed the DVD+R disc from my desktop and used it to boot my notebook and restore the drive image. Voila!</p>
<p>Note that I did have a couple of problems with the DVD, but I don&#8217;t think they were related to DriveImage XML, PE Builder, or Nero. It took a total of 3 attempts to successfully boot the DVD+R, but once it booted, it worked flawlessly.</p>
<p>Oh, and in addition to backup and restore, DriveImage XML can perform Drive to Drive copies, and it can open an archive and allow individual files and/or folders to be extracted instead of restoring everything first.</p>
<p>If you are interested in saving images of hard drives for archival purposes, take a look at DriveImage XML. I think you&#8217;ll like it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottopolis.com/2005/12/06/reinstalling-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gripes about Microsoft</title>
		<link>http://www.scottopolis.com/2005/11/09/gripes-about-microsoft/</link>
		<comments>http://www.scottopolis.com/2005/11/09/gripes-about-microsoft/#comments</comments>
		<pubDate>Wed, 09 Nov 2005 20:29:01 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.scottopolis.com/?p=24</guid>
		<description><![CDATA[Microsoft documentation stinks sometimes, and it really hurt me this time.]]></description>
			<content:encoded><![CDATA[<p>Reason 1: The supposed versioning of the Remote Access Services API is broken. You pass the address of a structure to a function with the first DWORD of that structure set to the size of the structure. This is supposed to enable RAS (or any similar API) to detect what version you want to work with and deal with it. BUT NO! If you compile a program to use RAS on Windows XP, it will not work on Windows 98. At least not without a lot of gymnastics to figure out what operating system version you are running on and then setting the size appropriately. Why couldn&#8217;t they just take whatever block of memory you pass them (as long as it is a size that conforms to some standard of the specification) and just use it appropriately? Even then, the only thing I can think of that they should do is make sure the memory is large enough to accommodate the original version of the structure. If there are extra bytes, leave them alone, or zero fill them.</p>
<p>Reason 2: Multimedia timers are a way to get relatively high precision timing for events. I need to use them for animation in a program I&#8217;m working on for both Windows XP as well as Windows 98. I took my program to a Windows 98 machine to test it, and kept getting garbage back from the API. I assumed I was doing something wrong for a couple of hours. Finally it dawned on me to reboot the machine, and suddenly, it started working correctly.</p>
<p>Reason 3: The documentation in the platform SDK lies. Ok, I&#8217;ve known that for a long time, but it bit me today. One of the RAS structures is documented to have a certain number of fields when used with Windows XP. It doesn&#8217;t. The documentation is not the same as the structure as described in the platform SDK header files. {sigh}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottopolis.com/2005/11/09/gripes-about-microsoft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

