<?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>Nixadmins.net &#187; XP Professional</title>
	<atom:link href="http://www.nixadmins.net/category/windows/xp-professional/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nixadmins.net</link>
	<description>Blogging for knowledge</description>
	<lastBuildDate>Thu, 26 Jan 2012 12:18:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Shrink VHD in Windows 7</title>
		<link>http://www.nixadmins.net/2009/12/07/shrink-vhd-in-windows-7/</link>
		<comments>http://www.nixadmins.net/2009/12/07/shrink-vhd-in-windows-7/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 14:06:11 +0000</pubDate>
		<dc:creator>Mats Hellman</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[XP Professional]]></category>
		<category><![CDATA[Shrink VHD]]></category>
		<category><![CDATA[Virtual PC]]></category>

		<guid isPermaLink="false">http://www.nixadmins.net/2009/12/07/shrink-vhd-in-windows-7/</guid>
		<description><![CDATA[I got a new HP Z400 Workstation to my office today and decided to recycle the old DC5800 to someone who needs a trusty workhorse and doesn’t work with memory intensive tasks like Virtual Systems like I do. Even if my old desktop was getting a new life I still wanted to keep it because [...]]]></description>
			<content:encoded><![CDATA[<p>I got a new HP Z400 Workstation to my office today and decided to recycle the old DC5800 to someone who needs a trusty workhorse and doesn’t work with memory intensive tasks like Virtual Systems like I do. Even if my old desktop was getting a new life I still wanted to keep it because I’ve installed many tools on it I still use and I like to do some Group policy testing on it.</p>
<p>I found the <strong><em>great</em></strong> tool Disk2VHD by Sysinternals. It converts your physical disk to a VHD file so you can use it in Virtual PC or some other virtualization software that supports Microsoft&#8217;s VHD format. Disk2VHD homepage <a title="http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx" href="http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx">http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx</a></p>
<p>Before you start this you may want to make a backup of your VHD file in case something goes wrong.</p>
<h3>Shrinking the VHD for Virtual PC</h3>
<p>So I captured my old hard drive and moved it to my new workstation. The file was only 80Gb as Disk2VHD makes it a <em>dynamically expanding</em> disk. Everything looks fine so far. The problem is that Virtual PC only supports 127Gb drives or smaller and my physical drive was 250Gb so booting the drive in Virtual PC didn’t work. I had to get it resized to under 127Gb to get it booting. Googling around I found a few tools but none of them worked the way I needed them to. I had to get my drive size under 127Gb. Some researching later I found that the computer management console, disk management, in Windows 7 was able to mount and shrink my VHD. So fingers crossed I started compmgmt.msc and mounted the drive.</p>
<p><a href="http://www.nixadmins.net/wp-content/uploads/2009/12/cmpmgmt1.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="cmpmgmt1" border="0" alt="cmpmgmt1" src="http://www.nixadmins.net/wp-content/uploads/2009/12/cmpmgmt1_thumb.jpg" width="593" height="424" /></a> </p>
<p>Right clicking on Disk Management and selecting attach Virtual Hard disk worked like a charm. So now let’s shrink the drive. Select your drive from the list and right click selecting <strong><em>Shrink</em></strong>. </p>
<p><a href="http://www.nixadmins.net/wp-content/uploads/2009/12/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.nixadmins.net/wp-content/uploads/2009/12/image_thumb.png" width="403" height="109" /></a> </p>
<p>After the query is done it will tell you how much it will be able to shrink the volume. If it’s still over 127Gb you can activate the drive in Computer Management and go delete some files. I had a lot of downloaded files I had to delete before I could get it to shrink under 127Gb. When the shrink operation is done we still have to shrink the vhd file. This just made our Windows partition smaller and now we want to get rid of the unused partition from the VHD file to get it under the magic 127Gb line.</p>
<h3>VHDResizer to the rescue</h3>
<p>All you need to do now is get the software vhdresizer and have it resize your vhd. You can get VHDResizer from <a title="http://vmtoolkit.com/files/folders/converters/entry87.aspx" href="http://vmtoolkit.com/files/folders/converters/entry87.aspx">http://vmtoolkit.com/files/folders/converters/entry87.aspx</a></p>
<p><a href="http://www.nixadmins.net/wp-content/uploads/2009/12/image1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.nixadmins.net/wp-content/uploads/2009/12/image_thumb1.png" width="304" height="278" /></a>&#160;</p>
<h3>Still no roses</h3>
<p>I was hoping this would be the end of the journey and I would be able to boot the system. You could try it at this point but for some reason my system wont boot. I booted into the XP setup and ran FIXBOOT and FIXMBR and the system still won’t boot. So next I tried an Repair install. Victory!</p>
<p>The repair install fixed any issues but I’m tempted to go trough the same again to check where this really fails. I’m sure you can do this without the repair install.</p>
<p>But the result is the same, I have my old desktop OS back and can use the tools when I need to and I didn’t have to reinstall from scratch. If anyone else has had the same problems and solved them without repair install I would be curious to know what you did.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nixadmins.net/2009/12/07/shrink-vhd-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using Windows Server 2003 32-bit print server with Windows 7 64-bit clients</title>
		<link>http://www.nixadmins.net/2009/12/05/using-windows-server-2003-32-bit-print-server-with-windows-7-64-bit-clients/</link>
		<comments>http://www.nixadmins.net/2009/12/05/using-windows-server-2003-32-bit-print-server-with-windows-7-64-bit-clients/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 14:39:42 +0000</pubDate>
		<dc:creator>Mats Hellman</dc:creator>
				<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[XP Professional]]></category>
		<category><![CDATA[Print management]]></category>
		<category><![CDATA[print server]]></category>

		<guid isPermaLink="false">http://www.nixadmins.net/2009/12/05/using-windows-server-2003-32-bit-print-server-with-windows-7-64-bit-clients/</guid>
		<description><![CDATA[I’ve seen this question come up on discussion forums and other support resources a lot since the release of Vista. Many organizations still use Windows Server 2003 to serve users print services. And the need to upgrade isn’t really behind the corner yet. I know, I feel the same. We still use a Windows Server [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve seen this question come up on discussion forums and other support resources a lot since the release of Vista. Many organizations still use Windows Server 2003 to serve users print services. And the need to upgrade isn’t really behind the corner yet. I know, I feel the same. We still use a Windows Server 2003 R2 as a print server and it it 32-bit, not 64-bit.</p>
<h3>Can a 32-bit server handle 64-bit drivers</h3>
<p>Short answer, yes. The server uses it’s own 32-bit driver as a interpreter between the spooler and the printer but it can serve clients with the drivers they need. The server really doesn’t care if the drivers it serves to clients are 32 or 64 bit. It can store all of them on the filesystem.</p>
<h3>How do I install the drivers?</h3>
<p>I’ve been using Windows 7 RSAT(Remote Server Administration tools) to add the drivers to our print server. The important step is to <strong><em>upgrade your current 32-bit drivers</em></strong>. If the driver versions of the 32 and 64 bit differ the server wont recognize them as the same driver. So if you’re using old drivers on your server I’m sorry to say you’ll have to start by upgrading the 32-bit ones first. I suggest you download both the 32-bit and the 64-bit version of the driver when you’re out driver hunting. First upgrade the 32-bit drivers you want to add 64-bit drivers for. I did this directly on the print server and I removed any old versions of the driver. Next add the 64-bit driver. Adding drivers from RSAT is really simple so I won’t go trough it in any detail. Just open Print Manager</p>
<p><a href="http://www.nixadmins.net/wp-content/uploads/2009/12/printmgmt.jpg"><img style="border-right-width: 0px; margin: 5px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="printmgmt" border="0" alt="printmgmt" src="http://www.nixadmins.net/wp-content/uploads/2009/12/printmgmt_thumb.jpg" width="567" height="248" /></a> </p>
<p>Right click drivers and select add driver, add your 64-bit driver. As you can see in the image booth Toshiba drivers have the same version number, the difference is only the <em>Environment.</em></p>
<h3>Group policy edits for Windows 7</h3>
<p>Next we’re going to create a group policy to allow restricted users to install their drivers, and we don’t want UAC to disturb or scare them. Side note: if you’re thinking of disabling UAC take a look at a previous article here <a title="http://www.nixadmins.net/2009/12/04/why-uac-is-the-best-thing-that-ever-happened-to-windows/" href="http://www.nixadmins.net/2009/12/04/why-uac-is-the-best-thing-that-ever-happened-to-windows/">http://www.nixadmins.net/2009/12/04/why-uac-is-the-best-thing-that-ever-happened-to-windows/</a> .</p>
<p>Open your Group policy management console and create a new / or add these settings to an old policy. You’ll find the setting under <strong><em>Computer Configuration \ Policies \ Administrative templates \ Printers \ Point and Print Restrictions</em></strong>.</p>
<p><a href="http://www.nixadmins.net/wp-content/uploads/2009/12/gpmc1.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="gpmc1" border="0" alt="gpmc1" src="http://www.nixadmins.net/wp-content/uploads/2009/12/gpmc1_thumb.jpg" width="574" height="230" /></a> </p>
<p>Set the policy to <strong><em>Enabled</em></strong> and set the <em>Security prompts <strong>Do not show warning or elevation prompt</strong></em>.</p>
<p><a href="http://www.nixadmins.net/wp-content/uploads/2009/12/gpmc_setting.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="gpmc_setting" border="0" alt="gpmc_setting" src="http://www.nixadmins.net/wp-content/uploads/2009/12/gpmc_setting_thumb.jpg" width="565" height="518" /></a> </p>
</p>
<p>Push the group policy setting to your clients, point to your printer and you’ll be able to install it as a normal user.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nixadmins.net/2009/12/05/using-windows-server-2003-32-bit-print-server-with-windows-7-64-bit-clients/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Setting up a Windows Deployment Services environment</title>
		<link>http://www.nixadmins.net/2009/03/23/setting-up-a-windows-deployment-services-environment/</link>
		<comments>http://www.nixadmins.net/2009/03/23/setting-up-a-windows-deployment-services-environment/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 12:24:16 +0000</pubDate>
		<dc:creator>Mats Hellman</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Deployment]]></category>
		<category><![CDATA[XP Professional]]></category>
		<category><![CDATA[Automated Installation Toolkit]]></category>
		<category><![CDATA[ImageX]]></category>
		<category><![CDATA[Unattended installation]]></category>
		<category><![CDATA[Windows Deployment Services]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[WinPE]]></category>

		<guid isPermaLink="false">http://www.nixadmins.net/2009/03/23/setting-up-a-windows-deployment-services-environment/</guid>
		<description><![CDATA[Windows deployment services was released to replace the old Windows RIP. Windows Deployment Services (WDS) makes it easier for us to deploy Windows Vista or even Windows XP using images. In this article I will go trough some of the steps I had to do to get everything up and working. For someone using Microsoft [...]]]></description>
			<content:encoded><![CDATA[<p>Windows deployment services was released to replace the old Windows RIP. Windows Deployment Services (WDS) makes it easier for us to deploy Windows Vista or even Windows XP using images. In this article I will go trough some of the steps I had to do to get everything up and working. For someone using Microsoft only environment this should be a very straightforward process but we run DHCP on Linux servers and have quite a mixed environment so there where some things to consider.</p>
<h3>What you need</h3>
<p>- Technician computer (your desktop/laptop)<br />
- Master computer (the computer from which the image will be captured)<br />
- Client computer (In the example this is the same as the master computer)<br />
- Windows Deployment services configured and running on a server.<br />
- DHCP server in the network.</p>
<p>First of all install <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=C7D4BC6D-15F3-4284-9123-679830D629F2&amp;displaylang=en" target="_blank">Windows Automated Installation Toolkit</a> to your technician computer. You will need it to modify the WindowsPE image we use to capture the .wim image.</p>
<p> </p>
<h3>Creating and imaging an Master Installation</h3>
<p>First and foremost you need to have a Master installation. This will be the starting point for any of the deployments you will do so think carefully about what you want to install on this machine. Because we still deploy Windows XP Professional 32-bit this is what this article will cover. At some point I will make a Vista image article but let’s save it for later as the process is almost the same.</p>
<p>Things I want to install are Microsoft Office and programs that we don’t deploy normally trough group policies or other central management systems. I also like to change the OEM information on our installations, like adding the company logo at the Computer information page and information on how to get in contact with our support. So if you have a logo in some format save it as oemlogo.bmp and create oeminfo.ini file. In the oeminfo.ini add the following lines</p>
<p>[general]<br />
Manufacturer=Your Company name<br />
[Support Information]<br />
Line1=For technical support call<br />
Line2=123-456-789<br />
Line3=http://www.nixadmins.net/</p>
<p>Of course change the settings to match your own company. Done customizing? Let’s get on to generalizing the computer.</p>
<h3>Using Sysprep to prepare the computer to be imaged.</h3>
<p>To remove anything that identifies this computer we need to run sysprep on it. If you are installing Windows XP Professional Service Pack 3 from your Volume License media slip it in and go to <strong>SupportTools</strong>. In the folder you’ll find <strong>Deploy.cab.</strong> Extract <strong>sysprep.exe</strong>,<strong>setupcl.exe</strong> to <strong>C:Sysprep</strong>. Also copy the <strong>I386</strong> folder from the CD to <strong>C:I386</strong>, we will need it if we want any kind of regional settings applied to the installation. While we are at it extract the setupmgr.exe to your technician computer, this step is optional but it speeds up creating the Sysprep.inf file quite a bit. Done?</p>
<p>Start up setupmgr.exe on your Technician Computer and select <em>Create New</em> and <em>Sysprep</em> setup file, select Windows XP Professional. Select fully automated and start filling in blanks, fill in the local administrator password also, you can encrypt it and the sysprep folder will be deleted from the target computer once the image is done. We won’t make this installation fully automated (even if we chose that option, but you still can) because I want to keep our company naming policy on the computers. So after filling in your volume license key and owner information save the sysprep.inf file somewhere and open it for editing.  Your file should look something like this.</p>
<blockquote><p>;SetupMgrTag<br />
[Unattended]<br />
    OemSkipEula = Yes<br />
    DriverSigningPolicy=Ignore<br />
    ExtendOemPartition=1<br />
    InstallFilesPath=C:i386<br />
    TargetPath=WINDOWS</p>
<p>[GuiUnattended]<br />
    AdminPassword=A lot of bla bla.<br />
    AutoLogon=Yes<br />
    AutoLogonCount=3<br />
    OemSkipRegional=1<br />
    OemSkipWelcome=1<br />
    TimeZone=125<br />
    EncryptedAdminPassword=Yes</p>
<p>[UserData]<br />
    OrgName=&#8221;Your company name&#8221;<br />
    ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX<br />
    FullName=&#8221;IT Department&#8221;<br />
    ;ComputerName=* ;<strong><em>&lt;- Notice I commented this line out to make the Mini installer ask for a computer name.</em></strong> </p>
<p>[RegionalSettings]<br />
    LanguageGroup=1<br />
    Language=0000081d</p>
<p>[Sysprep]<br />
    BuildMassStorageSection=Yes</p>
<p>[TapiLocation]<br />
    CountryCode=358<br />
    Dialing=Tone<br />
    AreaCode=09</p>
<p>[Branding]<br />
    BrandIEUsingUnattended=Yes</p>
<p>[Proxy]<br />
    Proxy_Enable=0<br />
    Use_Same_Proxy=0</p>
<p>[Identification]<br />
    JoinDomain=domain.com</p>
<p>[Networking]<br />
    InstallDefaultComponents=Yes</p></blockquote>
<p>Compare your file with the one above. That’s how it should look like. After you are done with the file copy it over to the same folder you placed <strong>sysprep.exe</strong> on the master installation. Which should be in <strong><em>C:Sysprep. </em></strong>Once that is done let’s prepare the computer for ImageX.</p>
<p>Open the command line (cmd.exe) and go to the<em> C:sysprep</em> folder. In the folder run
<div class="terminal"><em><strong>sysprep.exe –mini –reseal</strong></em></div>
<p>. The switch mini stands for mini setup which will be called once the computer reboots, it will use the sysprep.inf file to fill in as many of the blanks as possible. So if you are using a file like mine it should ask only for a computer name. The reseal switch clears Event Viewer and prepares the computer for delivery, it also sets the mini setup to start at boot up. Once Sysprep is done the computer will shutdown.</p>
<h3>Follow up</h3>
<p>So what have we done so far?</p>
<p>- Set up the Technician computer with Windows Automated Installation toolkit and setupmgr.exe.</p>
<p>- Created a master installation to use as a base for our future images.</p>
<p>- Used sysprep to prepare the computer for ImageX.</p>
<p>In the next article I’ll go trough setting up a custom WinPE image to use to capture our current master installation using ImageX and using it to capture the .wim image to our Windows Deployment server. So I hope to see you in a few days once the next part of this article is done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nixadmins.net/2009/03/23/setting-up-a-windows-deployment-services-environment/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

