<?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>SYSADMINMAN&#187; Microsoft Windows</title>
	<atom:link href="http://sysadminman.net/blog/category/windows/feed" rel="self" type="application/rss+xml" />
	<link>http://sysadminman.net/blog</link>
	<description></description>
	<lastBuildDate>Sat, 21 Aug 2010 13:55:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>SIP soft phone &#8211; using X-Lite with Asterisk</title>
		<link>http://sysadminman.net/blog/2009/sip-soft-phone-using-x-lite-with-asterisk-572</link>
		<comments>http://sysadminman.net/blog/2009/sip-soft-phone-using-x-lite-with-asterisk-572#comments</comments>
		<pubDate>Thu, 02 Apr 2009 16:54:46 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VOIP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[soft phone]]></category>
		<category><![CDATA[softphone]]></category>
		<category><![CDATA[x-lite]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=572</guid>
		<description><![CDATA[If you&#8217;re looking for a softphone to use with Asterisk X-Lite is great.  It works on both Windows and Linux, although the configuration screens are a little different on the different versions. All you should need to get it working with Asterisk are the following settings  (screenshot from the Windows version) - Obviously you&#8217;ll need [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re looking for a softphone to use with Asterisk <a href="http://www.counterpath.net/x-lite.html&amp;active=4" target="_blank">X-Lite</a> is great.  It works on both Windows and Linux, although the configuration screens are a little different on the different versions.</p>
<p>All you should need to get it working with Asterisk are the following settings  (screenshot from the Windows version) -</p>
<p><span id="more-572"></span></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-365" style="border: 0pt none;" title="screenshot-2_28_2009-1_33_35-pm" src="http://sysadminman.net/blog/wp-content/uploads/2009/02/screenshot-2_28_2009-1_33_35-pm.png" alt="screenshot-2_28_2009-1_33_35-pm" width="439" height="500" /></p>
<p>Obviously you&#8217;ll need to change the server name to your Asterisk server&#8217;s DNS name or IP address, and the username/secret settings to the extension you created in Asterisk.</p>
<p>Please make sure you pick a difficult-to-guess secret/password, especially if your box is accessible from the Internet.</p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2009/sip-soft-phone-using-x-lite-with-asterisk-572" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2009/sip-soft-phone-using-x-lite-with-asterisk-572/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delicious bookmarks disappear</title>
		<link>http://sysadminman.net/blog/2008/delicious-bookmark-disappear-76</link>
		<comments>http://sysadminman.net/blog/2008/delicious-bookmark-disappear-76#comments</comments>
		<pubDate>Thu, 04 Sep 2008 16:12:49 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[delicious]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/archives/76</guid>
		<description><![CDATA[I really like the delicious plugin for firefox and have been recommending it to people for a while now. Recently though using the plugin with firefox 3 on both Windows and Linux (Ubuntu) has been a real pain. &#8220;Favorite Tags&#8221;  and &#8220;Tag Bundles&#8221; have been disappearing and losing their settings. This has been going on [...]]]></description>
			<content:encoded><![CDATA[<p>I really like the <a href="https://addons.mozilla.org/en-US/firefox/addon/3615" target="_blank">delicious plugin for firefox</a> and have been recommending it to people for a while now.</p>
<p>Recently though using the plugin with firefox 3 on both Windows and Linux (Ubuntu) has been a real pain. &#8220;Favorite Tags&#8221;  and &#8220;Tag Bundles&#8221; have been disappearing and losing their settings. This has been going on for a few weeks now and the developers have been working hard on resolving the problem, which turned out to be a corruption in one of the settings files.</p>
<p>They have released a beta fix for this problem, which you currently have to sign up to a Yahoo group to download. Details of the problem and how to obtain the patch can be found <a href="http://support.delicious.com/forum/comments.php?DiscussionID=987" target="_blank">here</a>.</p>
<p>Hopefully they will release a mainstream version of this patch soon!</p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2008/delicious-bookmark-disappear-76" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2008/delicious-bookmark-disappear-76/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Encrypting traffic with a VPN</title>
		<link>http://sysadminman.net/blog/2008/encrypting-traffic-with-a-vpn-74</link>
		<comments>http://sysadminman.net/blog/2008/encrypting-traffic-with-a-vpn-74#comments</comments>
		<pubDate>Tue, 02 Sep 2008 15:14:01 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/archives/74</guid>
		<description><![CDATA[Dan Goodin has written an interesting article for theregister.co.uk about the benefits of using a personal VPN for your wireless internet traffic. There are some downsides to running a VPN server at home. One of these is that all of your data must travel via your home PC/server and most peoples broadband connections will limit [...]]]></description>
			<content:encoded><![CDATA[<p>Dan Goodin has written an interesting article for <a href="http://www.theregister.co.uk/2008/09/01/openvpn_primer/" target="_blank">theregister.co.uk</a> about the benefits of using a personal VPN for your wireless internet traffic.</p>
<p>There are some downsides to running a VPN server at home. One of these is that all of your data must travel via your home PC/server and most peoples broadband connections will limit the speed that this will work at. The maximum speed of your VPN connection will be limited by the <strong>upload</strong> speed of your home broadband &#8211; which is normally quite slow. Also, dynamic IP addresses, port forwarding and NAT on your broadband router and having to leave your home PC powered on all the time could be a pain.</p>
<p>Another alternative could be to run OpenVPN on your own server (or vps) at a data center or, a cheaper alternative, to buy access to an OpenVPN server that has already been setup and configured. </p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2008/encrypting-traffic-with-a-vpn-74" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2008/encrypting-traffic-with-a-vpn-74/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modifying subinacl exports with a bash script</title>
		<link>http://sysadminman.net/blog/2008/modifying-subinacl-exports-with-a-bash-script-29</link>
		<comments>http://sysadminman.net/blog/2008/modifying-subinacl-exports-with-a-bash-script-29#comments</comments>
		<pubDate>Thu, 17 Apr 2008 19:21:36 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[subinacl]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/archives/29</guid>
		<description><![CDATA[We are currently in the process of migrating our users from one Active Directory domain to another. The users already exist in the target domain so we were looking to mass change our NTFS permissions to include the user from the new domain whilst also retaining the permissions from the old domain. A tool that [...]]]></description>
			<content:encoded><![CDATA[<p>We are currently in the process of migrating our users from one Active Directory domain to another.</p>
<p>The users already exist in the target domain so we were looking to mass change our NTFS permissions to include the user from the new domain whilst also retaining the permissions from the old domain.</p>
<p>A tool that Microsoft supplies looked ideal for the task &#8211; subinacl &#8211; apart from in one respect &#8211; the tool was deigned to replace permissions instead of adding to them. The way we got round this problem was to edit the export from subinacl and add in the new permissions that we wanted and then to run the export file against the NTFS volume.</p>
<p>So this was a 4 step process.</p>
<p><span id="more-29"></span></p>
<p>First, run the subinacl command against the NTFS volume to create an export file with all of the existing permissions -</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">subinacl <span style="color: #000000; font-weight: bold;">/</span>noverbose <span style="color: #000000; font-weight: bold;">/</span>nostatistic <span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">outputlog</span>=rights.log <span style="color: #000000; font-weight: bold;">/</span>subdirectories <span style="color: #ff0000;">&quot;r:&quot;</span> <span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">display</span>=dacl</div></div>
<p>Then create a lookup file to map the old_domain\old_user to the new_domain\new_user -</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">old_domain\domain <span style="color: #c20cb9; font-weight: bold;">users</span>:new_domain\new domain <span style="color: #c20cb9; font-weight: bold;">users</span><br />
old_domain\domain admins:new_domain\new domain admins</div></div>
<p>Next, create the bash script. Some of this will be specific to our requirements but should get you started if you need to do the same thing -</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/bash</span><br />
<span style="color: #666666; font-style: italic;"># Set file locations</span><br />
<span style="color: #007800;">ifile</span>=<span style="color: #ff0000;">&quot;./s.txt&quot;</span><br />
<span style="color: #007800;">lookup</span>=<span style="color: #ff0000;">&quot;./lookup.txt&quot;</span><br />
<span style="color: #666666; font-style: italic;"># Read in the old and new usernames and assign them to an array</span><br />
<span style="color: #666666; font-style: italic;"># Use &quot;read -r&quot; to preserve the backslashes in the string</span><br />
<span style="color: #007800;">lookindex</span>=<span style="color: #000000;">0</span><br />
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #c20cb9; font-weight: bold;">read</span> <span style="color: #660033;">-r</span> line_a ; <span style="color: #000000; font-weight: bold;">do</span><br />
olduser<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #007800;">$lookindex</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${line_a%:*}</span>&quot;</span><br />
newuser<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #007800;">$lookindex</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${line_a#*:}</span>&quot;</span><br />
<span style="color: #007800;">lookindex</span>=$<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #007800;">$lookindex</span>+<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #000000; font-weight: bold;">done</span> <span style="color: #000000; font-weight: bold;">&amp;</span>lt;<span style="color: #007800;">$lookup</span><br />
<span style="color: #666666; font-style: italic;"># Read in the subinacl output file</span><br />
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #c20cb9; font-weight: bold;">read</span> <span style="color: #660033;">-r</span> line ; <span style="color: #000000; font-weight: bold;">do</span><br />
<span style="color: #666666; font-style: italic;"># Strip off the first 3 characters of the line to use to determine the line type</span><br />
<span style="color: #007800;">first3char</span>=<span style="color: #800000;">${line:0:3}</span><br />
<span style="color: #007800;">length</span>=<span style="color: #800000;">${#line}</span><br />
<span style="color: #666666; font-style: italic;"># If the line starts &quot;===&quot; just echo it back out</span><br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$first3char</span>&quot;</span> = <span style="color: #ff0000;">&quot;===&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #000000; font-weight: bold;">then</span><br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$line</span><br />
<span style="color: #000000; font-weight: bold;">fi</span><br />
<br />
<span style="color: #666666; font-style: italic;"># If the line starts &quot;+Fi&quot; just echo it back out</span><br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$first3char</span>&quot;</span> = <span style="color: #ff0000;">&quot;+Fi&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #000000; font-weight: bold;">then</span><br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$line</span><br />
<span style="color: #000000; font-weight: bold;">fi</span><br />
<br />
<span style="color: #666666; font-style: italic;"># If the line start &quot;/pe&quot; then double the last character then echo the line reaplcing the last char with the new figure</span><br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$first3char</span>&quot;</span> = <span style="color: #ff0000;">&quot;/pe&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #000000; font-weight: bold;">then</span><br />
<span style="color: #007800;">count</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #800000;">${line:$length-1:1}</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #000000;">2</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${line:0: $length-1}</span><span style="color: #007800;">$count</span>&quot;</span><br />
<span style="color: #000000; font-weight: bold;">fi</span><br />
<br />
<span style="color: #666666; font-style: italic;"># If the line starts &quot;/pa&quot; then</span><br />
<span style="color: #666666; font-style: italic;"># echo it back out</span><br />
<span style="color: #666666; font-style: italic;"># then strip out the username</span><br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$first3char</span>&quot;</span> = <span style="color: #ff0000;">&quot;/pa&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #000000; font-weight: bold;">then</span><br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$line</span><br />
<br />
<span style="color: #007800;">stripfront</span>=<span style="color: #800000;">${line#/*=}</span><br />
<span style="color: #007800;">backtext</span>=<span style="color: #800000;">${line#/* &nbsp;}</span><br />
<br />
<span style="color: #007800;">user</span>=<span style="color: #800000;">${stripfront%Type**}</span><br />
<span style="color: #666666; font-style: italic;"># This just strips off the trailing whitespaces in the variable $user</span><br />
<span style="color: #c20cb9; font-weight: bold;">read</span> <span style="color: #660033;">-r</span> user <span style="color: #000000; font-weight: bold;">&amp;</span>lt;<span style="color: #000000; font-weight: bold;">&amp;</span>lt;<span style="color: #000000; font-weight: bold;">&amp;</span>lt; <span style="color: #ff0000;">&quot;<span style="color: #007800;">$user</span>&quot;</span><br />
<span style="color: #666666; font-style: italic;"># parse through every line in the lookup file and if the username equals old username</span><br />
<span style="color: #666666; font-style: italic;"># then set nuser to the new username</span><br />
<span style="color: #007800;">index</span>=<span style="color: #000000;">0</span><br />
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$index</span> <span style="color: #660033;">-lt</span> <span style="color: #007800;">$lookindex</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #000000; font-weight: bold;">do</span><br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$user</span>&quot;</span> = <span style="color: #ff0000;">&quot;<span style="color: #007800;">${olduser[$index]}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #000000; font-weight: bold;">then</span><br />
<span style="color: #007800;">nuser</span>=<span style="color: #800000;">${newuser[$index]}</span><br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;/pace =&quot;</span><span style="color: #007800;">$nuser</span><span style="color: #ff0000;">&quot; &nbsp;&quot;</span><span style="color: #007800;">$backtext</span><br />
<span style="color: #000000; font-weight: bold;">fi</span><br />
<span style="color: #007800;">index</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #007800;">$index</span>+<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
<span style="color: #000000; font-weight: bold;">done</span><br />
<span style="color: #000000; font-weight: bold;">fi</span><br />
<br />
<span style="color: #666666; font-style: italic;"># If the input line is empty then echo out a blank line</span><br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$first3char</span>&quot;</span> = <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #000000; font-weight: bold;">then</span><br />
<span style="color: #7a0874; font-weight: bold;">echo</span><br />
<span style="color: #000000; font-weight: bold;">fi</span><br />
<br />
<span style="color: #000000; font-weight: bold;">done</span> <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #007800;">$ifile</span></div></div>
<p>Then you just need to play the rights file against your NTFS volume.</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">subinacl <span style="color: #000000; font-weight: bold;">/</span>nostatistic <span style="color: #000000; font-weight: bold;">/</span>playfile rights.log</div></div>
<p>Warning: Obviously, make sure you know what you&#8217;re about to do when performing any kind of mass update</p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2008/modifying-subinacl-exports-with-a-bash-script-29" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2008/modifying-subinacl-exports-with-a-bash-script-29/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dell/MediaDirect wiped my data!</title>
		<link>http://sysadminman.net/blog/2008/dellmediadirect-wiped-my-data-23</link>
		<comments>http://sysadminman.net/blog/2008/dellmediadirect-wiped-my-data-23#comments</comments>
		<pubDate>Fri, 08 Feb 2008 14:58:41 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[did]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[warning]]></category>

		<guid isPermaLink="false">http://sysadminman.net/archives/23</guid>
		<description><![CDATA[I&#8217;ve used Dell laptops for a while and when I was looking for a new one about a month ago I was interested in a Dell Vostro as I&#8217;d read good things. One of the good things I&#8217;d read was that you could order it without all the crapware that comes installed on most machines [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve used Dell laptops for a while and when I was looking for a new one about a month ago I was interested in a Dell Vostro as I&#8217;d read good things. One of the good things I&#8217;d read was that you could order it without all the crapware that comes installed on most machines these days.</p>
<p>So I brought a Vostro 1400 and was pretty pleased with it. One of the first things I did was *wipe all the partitions* on the drive and set it up to dual boot between Windows Vista and Ubuntu &#8211; with a nice big partition to store my data. This could then be accessed from both Vista and Ubuntu &#8211; ideal.</p>
<p><span id="more-23"></span></p>
<p>But yesterday, when the machine was switched off, I accidentally hit the button next to the power button when switching it on &#8211; the MediaDirect button. What happens next is that the system powers on and then boots from a <a href="http://en.wikipedia.org/wiki/Host_Protected_Area" target="_blank">&#8216;Hidden Protected Area&#8217;</a> of the hard drive that wasn&#8217;t visible from Linux so hadn&#8217;t been removed when I repartitioned the drive. This tries to start MediaDirect, but obviously it couldn&#8217;t find the MediaDirect partition (as I had removed it when I installed Vista &amp; Ubuntu) so it *automatically* deleted my &#8216;Data&#8217; partition and recreated a partition ready for MediaDirect. Yep, no warning, no clue as to what it was doing &#8211; just repartitioned my drive.</p>
<p>Whoever thought up that idea *is an idiot!* Just one popup message would have been really nice &#8211; &#8220;We&#8217;re going to repartition your drive and wipe your data &#8211; continue Yes/No&#8221;</p>
<p>I&#8217;m really surprised at Dell. I&#8217;ve now taken steps to remove MediaDirect from my laptop completely but Dell really should give people the option not to have this junk installed by default.</p>
<p>Luckily I was able to recover my data (hours of raw and edited video footage) but it&#8217;s definitely left a bitter taste.</p>
<p>There is lots more inforation about this issue on the web and here are some links. Included in these is how I recovered my data (look for testdisk) and how I wiped the HPA of the drive (look for dd)</p>
<p><a title="http://ubuntuforums.org/archive/index.php/t-628229.html" href="http://ubuntuforums.org/archive/index.php/t-628229.html">http://ubuntuforums.org/archive/index.php/t-628229.html</a></p>
<p><a title="http://backports.ubuntuforums.com/showthread.php?t=481090" href="http://ubuntuforums.org/archive/index.php/t-481090.html">http://backports.ubuntuforums.com/showthread.php?t=481090</a></p>
<p><script type="text/javascript"><!--
digg_url = 'WEBSITE_URL';
// --></script> <script type="text/javascript"><!--
digg_url = "http://sysadminman.net/archives/23";
// --></script> <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2008/dellmediadirect-wiped-my-data-23" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2008/dellmediadirect-wiped-my-data-23/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PXE boot WinPE 2 (Vista) using Linux as the PXE Server</title>
		<link>http://sysadminman.net/blog/2007/pxe-boot-winpe-2-vista-using-linux-as-the-pxe-server-8</link>
		<comments>http://sysadminman.net/blog/2007/pxe-boot-winpe-2-vista-using-linux-as-the-pxe-server-8#comments</comments>
		<pubDate>Mon, 26 Nov 2007 15:40:45 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[dhcp server]]></category>
		<category><![CDATA[linux server]]></category>
		<category><![CDATA[pxe]]></category>
		<category><![CDATA[pxe server]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[static ip address]]></category>
		<category><![CDATA[syslinux]]></category>
		<category><![CDATA[tftpd]]></category>
		<category><![CDATA[waik]]></category>

		<guid isPermaLink="false">http://www.sysadminman.net/?p=8</guid>
		<description><![CDATA[Spent a little while trying to get WinPE2 (Vista) to boot via PXE from a linux server and thought it could be useful to someone. We already had our Red Hat stuff booting from there and it seemed like a good idea to keep it in one place! Some of the stuff could be useful [...]]]></description>
			<content:encoded><![CDATA[<p>Spent a little while trying to get WinPE2 (Vista) to boot via PXE from a linux server and thought it could be useful to someone. We already had our Red Hat stuff booting from there and it seemed like a good idea to keep it in one place!</p>
<p>Some of the stuff could be useful for booting via PXE from a Windows box too</p>
<p>Windows XP was used for WAIK stuff<br />
Fedora Core 6 was used for PXE Server<br />
Both running on VMWare Server along with a blank VMWare machine as the PXE client<br />
* Note &#8211; there&#8217;s a bug in RHEL5 that&#8217;s stop&#8217;s the tftpd.remap file working. Not sure how many versions this affects</p>
<p><span id="more-8"></span></p>
<p>Install a Linux Server<br />
I&#8217;m using a NAT VM to keep the DHCP server off of the LAN<br />
Do a minimum install &#8211; we will install the required packages later<br />
I&#8217;m using DHCP to give the server an IP address for testing but will need a static IP address assigning</p>
<p>I&#8217;m not using a firewall or SELinux &#8211; you might need to alter your install to accommodate them</p>
<p>On your linux PXE server</p>
<p>Ensure that the DHCP server is installed</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">yum <span style="color: #c20cb9; font-weight: bold;">install</span> dhcp</div></div>
<p>Edit /etc/dhcpd.conf for your environment. Here&#8217;s mine -</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ddns-update-style interim;<br />
ignore client-updates;<br />
allow booting;<br />
allow bootp;<br />
class <span style="color: #ff0000;">&quot;pxeclients&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><br />
match <span style="color: #000000; font-weight: bold;">if</span> substring<span style="color: #7a0874; font-weight: bold;">&#40;</span>option vendor-class-identifier, <span style="color: #000000;">0</span>, <span style="color: #000000;">9</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> = <span style="color: #ff0000;">&quot;PXEClient&quot;</span>;<br />
next-server 172.16.54.128;<br />
filename <span style="color: #ff0000;">&quot;Boot/pxelinux.0&quot;</span>;<br />
<span style="color: #7a0874; font-weight: bold;">&#125;</span><br />
subnet 172.16.54.0 netmask 255.255.255.0 <span style="color: #7a0874; font-weight: bold;">&#123;</span><br />
option routers 172.16.54.2;<br />
range dynamic-bootp 172.16.54.10 172.16.54.15;<br />
default-lease-time <span style="color: #000000;">600</span>;<br />
max-lease-time <span style="color: #000000;">7200</span>;<br />
<span style="color: #7a0874; font-weight: bold;">&#125;</span></div></div>
<p>Install tftp-server</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">yum <span style="color: #c20cb9; font-weight: bold;">install</span> tftp-server</div></div>
<p>Install syslinux</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">yum <span style="color: #c20cb9; font-weight: bold;">install</span> syslinux</div></div>
<p>Copy pxelinux.0 from the syslinux install to /tftpboot</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>syslinux<span style="color: #000000; font-weight: bold;">/</span>pxelinux.0 <span style="color: #000000; font-weight: bold;">/</span>tftpboot</div></div>
<p>Create a folder to hold the PXE config file</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> pxelinux.cfg</div></div>
<p>Create a PXE config file &#8211; /tftpboot/pxelinux.cfg/default &#8211; Here&#8217;s mine -</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">default <span style="color: #000000;">1</span><br />
timeout <span style="color: #000000;">100</span><br />
prompt <span style="color: #000000;">1</span><br />
label <span style="color: #000000;">1</span><br />
kernel Boot<span style="color: #000000; font-weight: bold;">/</span>startrom.0<br />
append -</div></div>
<p>Create a tftp remap file. This is used to translate back slashes to forward slashes. /tftpboot/tftpd.remap. This should just contain a single line</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">gr \\ <span style="color: #000000; font-weight: bold;">/</span></div></div>
<p>Enable the tftp server by editing the following file &#8211; /etc/xinitd.d/tftp. Also make it use the remap file. The -vvv is optional but it could definitely help later on! Here&#8217;s mine -</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">service tftp<br />
<span style="color: #7a0874; font-weight: bold;">&#123;</span><br />
socket_type = dgram<br />
protocol = udp<br />
<span style="color: #7a0874; font-weight: bold;">wait</span> = <span style="color: #c20cb9; font-weight: bold;">yes</span><br />
user = root<br />
server = <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>in.tftpd<br />
server_args = <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>tftpboot <span style="color: #660033;">-m</span> <span style="color: #000000; font-weight: bold;">/</span>tftpboot<span style="color: #000000; font-weight: bold;">/</span>tftpd.remap <span style="color: #660033;">-vvv</span><br />
disable = no<br />
per_source = <span style="color: #000000;">11</span><br />
cps = <span style="color: #000000;">100</span> <span style="color: #000000;">2</span><br />
flags = IPv4<br />
<span style="color: #7a0874; font-weight: bold;">&#125;</span></div></div>
<p>Start the DHCP server</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">service dhcpd restart</div></div>
<p>Start the TFTP server</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">service xinetd restart</div></div>
<p>Download the Windows Automated Installation Kit &#8211; <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c7d4bc6d-15f3-4284-9123-679830d629f2&amp;DisplayLang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=c7d4bc6d-15f3-4284-9123-679830d629f2&amp;DisplayLang=en</a></p>
<p>The file is an ISO file so can be renamed to .iso and mounted using either vmware or one of the free tools (magiciso?) so that the install can be run</p>
<p>On to a Windows XP machine now &#8230;</p>
<p>From the install CD you just downloaded</p>
<p>Install the .NET Framework Setup</p>
<p>Install the MSXML 6.0 Setup</p>
<p>Install the Windows AIK Personally I did it to c:\waik to save typing too much!</p>
<p>Run the copype command to create your PE folder</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> \waik\tools\petools\<br />
copype.cmd x86 c:\vistape</div></div>
<p>Mount the .wim image</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> \vistape<br />
imagex <span style="color: #000000; font-weight: bold;">/</span>mountrw winpe.wim <span style="color: #000000;">1</span> <span style="color: #c20cb9; font-weight: bold;">mount</span></div></div>
<p>Create a folder to store the PXE stuff</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> c:\pxe</div></div>
<p>Copy the PXE stuff to the pxe folder</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> \vistape\<span style="color: #c20cb9; font-weight: bold;">mount</span>\windows\boot\pxe<br />
copy <span style="color: #000000; font-weight: bold;">*</span> \pxe<br />
<span style="color: #7a0874; font-weight: bold;">cd</span> \vistape\<span style="color: #c20cb9; font-weight: bold;">mount</span>\windows\boot\fonts<br />
copy wgl4_boot.ttf \pxe<br />
<span style="color: #7a0874; font-weight: bold;">cd</span> \waik\tools\petools\x86\boot<br />
copy boot.sdi \pxe<br />
<span style="color: #7a0874; font-weight: bold;">cd</span> \vistape<br />
copy winpe.wim \pxe</div></div>
<p>OK &#8211; now the fun bit. Create the BCD file. This is a replacement for the boot.ini</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> vistape\<span style="color: #c20cb9; font-weight: bold;">mount</span>\windows\system32<br />
bcdedit <span style="color: #000000; font-weight: bold;">/</span>createstore \pxe\BCD<br />
bcdedit <span style="color: #000000; font-weight: bold;">/</span>store \pxe\bcd <span style="color: #000000; font-weight: bold;">/</span>create <span style="color: #7a0874; font-weight: bold;">&#123;</span>ramdiskoptions<span style="color: #7a0874; font-weight: bold;">&#125;</span> <span style="color: #000000; font-weight: bold;">/</span>d <span style="color: #ff0000;">&quot;Ramdisk options&quot;</span><br />
bcdedit <span style="color: #000000; font-weight: bold;">/</span>store \pxe\bcd <span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000; font-weight: bold;">set</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>ramdiskoptions<span style="color: #7a0874; font-weight: bold;">&#125;</span> ramdisksdidevice boot<br />
bcdedit <span style="color: #000000; font-weight: bold;">/</span>store \pxe\BCD <span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000; font-weight: bold;">set</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>ramdiskoptions<span style="color: #7a0874; font-weight: bold;">&#125;</span> ramdisksdipath \Boot\boot.sdi<br />
bcdedit <span style="color: #000000; font-weight: bold;">/</span>store \pxe\BCD <span style="color: #000000; font-weight: bold;">/</span>create <span style="color: #000000; font-weight: bold;">/</span>d <span style="color: #ff0000;">&quot;MyWinPE Boot Image&quot;</span> <span style="color: #000000; font-weight: bold;">/</span>application osloader</div></div>
<p>You should get a GUID returned &#8211; not sure what you need to do if not I&#8217;m afraid! Replace the GUIDs below with the GUID you get back<br />
The entry {ed26a7d4-0ed5-11dc-9d1a-000c29ea1605} was successfully created.</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">bcdedit <span style="color: #000000; font-weight: bold;">/</span>store \pxe\BCD <span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000; font-weight: bold;">set</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>ed26a7d4-0ed5-11dc-9d1a-000c29ea1605<span style="color: #7a0874; font-weight: bold;">&#125;</span> systemroot \Windows<br />
bcdedit <span style="color: #000000; font-weight: bold;">/</span>store \pxe\BCD <span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000; font-weight: bold;">set</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>ed26a7d4-0ed5-11dc-9d1a-000c29ea1605<span style="color: #7a0874; font-weight: bold;">&#125;</span> detecthal Yes<br />
bcdedit <span style="color: #000000; font-weight: bold;">/</span>store \pxe\BCD <span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000; font-weight: bold;">set</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>ed26a7d4-0ed5-11dc-9d1a-000c29ea1605<span style="color: #7a0874; font-weight: bold;">&#125;</span> winpe Yes<br />
bcdedit <span style="color: #000000; font-weight: bold;">/</span>store \pxe\BCD <span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000; font-weight: bold;">set</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>ed26a7d4-0ed5-11dc-9d1a-000c29ea1605<span style="color: #7a0874; font-weight: bold;">&#125;</span> osdevice <span style="color: #007800;">ramdisk</span>=<span style="color: #7a0874; font-weight: bold;">&#91;</span>boot<span style="color: #7a0874; font-weight: bold;">&#93;</span>\Boot\WinPE.wim,<span style="color: #7a0874; font-weight: bold;">&#123;</span>ramdiskoptions<span style="color: #7a0874; font-weight: bold;">&#125;</span><br />
bcdedit <span style="color: #000000; font-weight: bold;">/</span>store \pxe\BCD <span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000; font-weight: bold;">set</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>ed26a7d4-0ed5-11dc-9d1a-000c29ea1605<span style="color: #7a0874; font-weight: bold;">&#125;</span> device <span style="color: #007800;">ramdisk</span>=<span style="color: #7a0874; font-weight: bold;">&#91;</span>boot<span style="color: #7a0874; font-weight: bold;">&#93;</span>\Boot\WinPE.wim,<span style="color: #7a0874; font-weight: bold;">&#123;</span>ramdiskoptions<span style="color: #7a0874; font-weight: bold;">&#125;</span><br />
bcdedit <span style="color: #000000; font-weight: bold;">/</span>store \pxe\BCD <span style="color: #000000; font-weight: bold;">/</span>create <span style="color: #7a0874; font-weight: bold;">&#123;</span>bootmgr<span style="color: #7a0874; font-weight: bold;">&#125;</span> <span style="color: #000000; font-weight: bold;">/</span>d <span style="color: #ff0000;">&quot;Windows VISTA BootManager&quot;</span><br />
bcdedit <span style="color: #000000; font-weight: bold;">/</span>store \pxe\BCD <span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000; font-weight: bold;">set</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>bootmgr<span style="color: #7a0874; font-weight: bold;">&#125;</span> timeout <span style="color: #000000;">30</span><br />
bcdedit <span style="color: #000000; font-weight: bold;">/</span>store \pxe\BCD <span style="color: #000000; font-weight: bold;">/</span>displayorder <span style="color: #7a0874; font-weight: bold;">&#123;</span>ed26a7d4-0ed5-11dc-9d1a-000c29ea1605<span style="color: #7a0874; font-weight: bold;">&#125;</span></div></div>
<p>ok &#8211; nearly all done now. You need to copy all the files from your \pxe folder to your linux PXE server. I use winscp. Copy the files to a folder call /tftpserver/Boot (case is important!) I had some fun trying to do this with Vmware but that could have been a problem unique to me!</p>
<p>Back on the linux server &#8230; Just got to rename a few files</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>tftpboot<span style="color: #000000; font-weight: bold;">/</span>Boot<br />
<span style="color: #c20cb9; font-weight: bold;">mv</span> pxeboot.n12 startrom.0<br />
<span style="color: #c20cb9; font-weight: bold;">mv</span> bootmgr.exe ..<br />
<span style="color: #c20cb9; font-weight: bold;">mv</span> winpe.wim WinPE.wim</div></div>
<p>Now PXE boot a machine and press 1 (obviously you can make syslinux look much nicer with some menus and things!). Fingers crossed you should get a Windows PE 2 console.</p>
<p>A few extra bits &#8230;</p>
<p>If you want to boot a Vmware machine via PXE and connect to the network you&#8217;ll need the Vmware network drivers in your .wim file. This is surprisingly easy to do thanks to being able to edit the .wim file easily.</p>
<p>From your Windows XP Vmware client (or you&#8217;ll need to find the vm network drivers from somewhere)</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">cd</span> \vistape<br />
imagex <span style="color: #000000; font-weight: bold;">/</span>mountrw winpe.wim <span style="color: #000000;">1</span> <span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>you may have this <span style="color: #000000; font-weight: bold;">done</span> from above already<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
peimg <span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">inf</span>=<span style="color: #ff0000;">&quot;C:\Program Files<span style="color: #000099; font-weight: bold;">\V</span>Mware<span style="color: #000099; font-weight: bold;">\V</span>Mware Tools\Drivers<span style="color: #000099; font-weight: bold;">\v</span>mxnet<span style="color: #000099; font-weight: bold;">\v</span>mware-nic.inf&quot;</span> \vistape\<span style="color: #c20cb9; font-weight: bold;">mount</span><br />
peimg <span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">inf</span>=<span style="color: #ff0000;">&quot;C:\Program Files<span style="color: #000099; font-weight: bold;">\V</span>Mware<span style="color: #000099; font-weight: bold;">\V</span>Mware Tools\Drivers<span style="color: #000099; font-weight: bold;">\v</span>mxnet<span style="color: #000099; font-weight: bold;">\v</span>mxnet.inf&quot;</span> \vistape\<span style="color: #c20cb9; font-weight: bold;">mount</span><br />
imagex <span style="color: #000000; font-weight: bold;">/</span>unmount <span style="color: #000000; font-weight: bold;">/</span>commit \vistape\<span style="color: #c20cb9; font-weight: bold;">mount</span></div></div>
<p>Now you can copy your winpe.wim file to your PXE server and overwrite the old one. Make sure you change the case of the file again to WinPE.wim</p>
<p>Hopefully this is going to work for all sorts of drivers &#8211; raid, network, etc Also, you can obviously put anything else that you need in the .wim file.</p>
<script src="http://feeds.feedburner.com/~s/daintree1@gmail.com?i=http://sysadminman.net/blog/2007/pxe-boot-winpe-2-vista-using-linux-as-the-pxe-server-8" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2007/pxe-boot-winpe-2-vista-using-linux-as-the-pxe-server-8/feed</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
	</channel>
</rss>
