<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>My personal blog about pre-installation and other topics</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/svengruenitz/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/svengruenitz/feed.xml</link>
    <description>Sven Gruenitz writes about OS and application pre-installation.</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:46:06 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Running Windows Vista on a PC with an Intel Atom processor</title>
      <link>https://docs.microsoft.com/archive/blogs/svengruenitz/running-windows-vista-on-a-pc-with-an-intel-atom-processor</link>
      <pubDate>Mon, 14 Jul 2008 05:55:59 GMT</pubDate>
      <dc:creator><![CDATA[svengru]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/svengruenitz/2008/07/14/running-windows-vista-on-a-pc-with-an-intel-atom-processor/</guid>
      <description><![CDATA[Many reviews are claiming that Windows Vista does not run well on a PC with an Intel Atom processor....]]></description>
      <content:encoded><![CDATA[<p>Many reviews are claiming that Windows Vista does not run well on a PC with an Intel Atom processor. I had to try this for myself…   <br />I am not going to post benchmark results, but can tell you that the performance is fine for Office applications (tested with Office 2007) and browsing the internet.     <br />The system was not slow at all.    <br />Here is the performance rating:    <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/RunningWindowsVistaonaPCwithanIntelAtomp_99BB/image_2.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/RunningWindowsVistaonaPCwithanIntelAtomp_99BB/image_2.png"><img title="image" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="216" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/RunningWindowsVistaonaPCwithanIntelAtomp_99BB/image_thumb.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/RunningWindowsVistaonaPCwithanIntelAtomp_99BB/image_thumb.png" width="623" border="0" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>WDS for cross-platform (32 bit WinPE to install a 64 bit OS) deployments</title>
      <link>https://docs.microsoft.com/archive/blogs/svengruenitz/wds-for-cross-platform-32-bit-winpe-to-install-a-64-bit-os-deployments</link>
      <pubDate>Fri, 04 Jul 2008 07:28:33 GMT</pubDate>
      <dc:creator><![CDATA[svengru]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/svengruenitz/2008/07/04/wds-for-cross-platform-32-bit-winpe-to-install-a-64-bit-os-deployments/</guid>
      <description><![CDATA[Having a WDS server running already? How about using it to deploy 64 bit versions of Windows Vista...]]></description>
      <content:encoded><![CDATA[<p>Having a WDS server running already? How about using it to deploy 64 bit versions of Windows Vista and Server 2008 as well? </p>  <p>The 64 bit versions of Windows Vista SP1 and Server 2008 can be deployed using a 32 bit WinPE. This means that you only need to maintain one Windows PE image.</p>  <p>So just add to 64 bit OS images to your WDS and they will be displayed on 64 bit capable PCs:   <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/WDSforcrossplatform32bitWinPEtoinstalla6_AF69/image_2.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/WDSforcrossplatform32bitWinPEtoinstalla6_AF69/image_2.png"><img title="image" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="405" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/WDSforcrossplatform32bitWinPEtoinstalla6_AF69/image_thumb.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/WDSforcrossplatform32bitWinPEtoinstalla6_AF69/image_thumb.png" width="542" border="0" /></a>     <br /></p>  <p>This is the simple part… So how about the unattend files for the images and how about drivers?   <br />    <br />You only need one WDS-Client unattend file that controls the WinPE phase of the setup.    <br />This one controls the 32 bit WinPE and the WDS client.    <br />The potential issues you could run into are drivers pathes that your have in that file for the WinPE phase as these would reference    <br />32 bit drivers that will make 64 bit OS installs fail. Solution: Remove all driver references in the WDS-Client unattend file.</p>  <p>So how can we add boot critical drivers? Simple: Add a driver path to the “Offline Service” section of your 32 and 64 bit OS image unattend files.   <br />”Offline Service”? Yes, right “Offline Service” is not only used to update an OS image using Package Manager, but also called by the Windows Setup after the image is    <br />applied to the hard disk. Here is how this looks like in System Image Manager:    <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/WDSforcrossplatform32bitWinPEtoinstalla6_AF69/image_4.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/WDSforcrossplatform32bitWinPEtoinstalla6_AF69/image_4.png"><img title="image" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="310" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/WDSforcrossplatform32bitWinPEtoinstalla6_AF69/image_thumb_1.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/WDSforcrossplatform32bitWinPEtoinstalla6_AF69/image_thumb_1.png" width="794" border="0" /></a>&#160; <br />&quot;\\wds\REMINST\StorageDriver-x64” is a share on my WDS that contains all necessary storage driver for 64 bit.    <br /></p>  <p>You also need to add the missing 32 bit storage drives to your WDS WinPE Image using PEIMG.   <br />A sample script that will help you to automate that process and needs to be launched from the “Windows PE Tools Command Prompt”    <br />looks like this:</p>  <p><font color="#000080">imagex /mountrw wds.WIM 1 mount     <br />peimg /inf=drvs\*.inf mount\Windows      <br />imagex /unmount /commit mount </font></p>  <p><font color="#000080">WDSUTIL /Replace-Image /Image:&quot;Custom WDS WinPE Image x86&quot; /ImageType:Boot /Architecture:x86 /ReplacementImage /ImageFile:wds.wim</font> </p>  <p>This mounts my WDS image “wds.wim”. Injects all drivers in the sub directory “drvs”. Unmounts the image and replaces the    <br />current image named &quot;Custom WDS WinPE Image x86&quot; on the WDS with the updated one.</p>]]></content:encoded>
    </item>
    <item>
      <title>Driver installation and updating made easy: DPInst.exe</title>
      <link>https://docs.microsoft.com/archive/blogs/svengruenitz/driver-installation-and-updating-made-easy-dpinst-exe</link>
      <pubDate>Wed, 02 Jul 2008 08:02:39 GMT</pubDate>
      <dc:creator><![CDATA[svengru]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/svengruenitz/2008/07/02/driver-installation-and-updating-made-easy-dpinst-exe/</guid>
      <description><![CDATA[Installing or updating drivers on a system does always take a long time since you need to run many...]]></description>
      <content:encoded><![CDATA[<p>Installing or updating drivers on a system does always take a long time since you need to run many different driver installers to get all the devices in a system running. How about just running one installer and all your drivers are installed afterwards? A dream? Stop dreaming and do it right now with the Driver Package Installer (DPinst).</p>  <p>The details are here: <a title="https://msdn.microsoft.com/en-us/library/ms791049.aspx" href="https://msdn.microsoft.com/en-us/library/ms791049.aspx">https://msdn.microsoft.com/en-us/library/ms791049.aspx</a></p>  <p></p>  <p></p>  <p>DPInst is part of the Windows Driver Kit (WDK). More details here: <a title="https://www.microsoft.com/whdc/devtools/WDK/default.mspx" href="https://www.microsoft.com/whdc/devtools/WDK/default.mspx">https://www.microsoft.com/whdc/devtools/WDK/default.mspx</a></p>  <p>&#160;</p>  <p>So, how can you use this tool?</p>  <ol>   <li>Download the WDK in order to get the latest version of DPInst (can be found under the “DIFx” tools) </li>    <li>Create a new directory e.g. “c:\drivers” and copy DPInst.exe to that directory     <br />Note: There is a different version for x86 and x64</li>    <li>Create a dpinst.xml file to control DPinst.     <br />All possible settings can be found here: <a title="https://msdn.microsoft.com/en-us/library/ms791067.aspx" href="https://msdn.microsoft.com/en-us/library/ms791067.aspx">https://msdn.microsoft.com/en-us/library/ms791067.aspx</a>      <br />An example can look like this:</li>    <p><font color="#000080">&lt;?xml version=&quot;1.0&quot; ?&gt;       <br />&#160; &lt;dpinst&gt; </font></p>    <p><font color="#000080">&lt;suppressAddRemovePrograms/&gt;</font></p>    <p><font color="#000080">&lt;!-- The following search and subDirectory elements direct       <br />&#160;&#160;&#160;&#160; DPInst to search all subdirectories (under the DPInst working directory) to locate driver        <br />&#160;&#160;&#160;&#160; packages. --&gt;        <br />&#160;&#160;&#160; &lt;search&gt;        <br />&#160;&#160;&#160;&#160;&#160; &lt;subDirectory&gt;*&lt;/subDirectory&gt;        <br />&#160;&#160;&#160; &lt;/search&gt; </font></p>    <p><font color="#000080">&lt;!-- The following language element localizes its child elements       <br />&#160;&#160;&#160;&#160; for the English (Standard) language. The child elements        <br />&#160;&#160;&#160;&#160; customize the text that appears on the DPInst wizard pages. --&gt;        <br />&#160;&#160;&#160; &lt;language code=&quot;0x0409&quot;&gt;        <br />&#160;&#160;&#160;&#160;&#160; &lt;dpinstTitle&gt;Device Driver Updater&lt;/dpinstTitle&gt;        <br />&#160;&#160;&#160;&#160;&#160; &lt;welcomeTitle&gt;Welcome to the Device Installer!&lt;/welcomeTitle&gt;        <br />&#160;&#160;&#160;&#160;&#160; &lt;welcomeIntro&gt;This wizard will walk you through updating the drivers for your device.&lt;/welcomeIntro&gt;        <br />&#160;&#160;&#160;&#160;&#160; &lt;installHeaderTitle&gt;Installing the software for your device...&lt;/installHeaderTitle&gt;        <br />&#160;&#160;&#160;&#160;&#160; &lt;finishTitle&gt;Congratulations! You finished installing your device drivers.&lt;/finishTitle&gt;        <br />&#160;&#160;&#160; &lt;/language&gt; </font></p>    <p><font color="#000080">&#160;&#160;&#160; &lt;scanHardware/&gt;</font></p>    <p><font color="#000080">&lt;/dpinst&gt;</font></p>    <li>Create sub directories for drivers and place the driver files (.inf, .sys, cat, .dll, etc.) into these directories.     <br />My example looks like this:      <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/Driverinstallationandupdatingmadeeas.exe_B768/image_2.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/Driverinstallationandupdatingmadeeas.exe_B768/image_2.png"><img title="image" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="156" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/Driverinstallationandupdatingmadeeas.exe_B768/image_thumb.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/Driverinstallationandupdatingmadeeas.exe_B768/image_thumb.png" width="454" border="0" /></a>&#160;</li>    <li>Copy the complete directory to an external storage drive or network location and execute DPInst.exe to install / update the drivers     <br />on that machine. This dialogue will be displayed and pressing “Next” will start the installation…      <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/Driverinstallationandupdatingmadeeas.exe_B768/image_4.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/Driverinstallationandupdatingmadeeas.exe_B768/image_4.png"><img title="image" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="249" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/Driverinstallationandupdatingmadeeas.exe_B768/image_thumb_1.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/Driverinstallationandupdatingmadeeas.exe_B768/image_thumb_1.png" width="323" border="0" /></a> </li> </ol>  <p>Done. :-) This will save a lot of your time.   <br />    <br />I created a sample package that contains all necessary files for x86 and x64. You can get it here:    <br />&#160;<iframe style="border-right: #dde5e9 1px solid; padding-right: 0px; border-top: #dde5e9 1px solid; padding-left: 0px; padding-bottom: 0px; margin: 3px; border-left: #dde5e9 1px solid; width: 240px; padding-top: 0px; border-bottom: #dde5e9 1px solid; height: 66px; background-color: #ffffff" marginwidth="0" marginheight="0" src="https://cid-68b7c02646a1899d.skydrive.live.com/embedrowdetail.aspx/Public/DPinstsamples.zip" frameborder="0" scrolling="no"></iframe></p>  <p>This sample also contains a script “installdrvs.cmd” which shows you how to use DPInst in silent mode.   <br />    <br />Using DPInst in silent mode as part of your Windows XP or Windows Vista installation does work very well and is faster than using     <br />a “Driver Path” in an unattend file as it will only install the drivers that match your hardware and not all drivers present in the driver directory.    <br />So one example would be to add a driver folder containing DPinst,the dpinst.xml file and all drivers to the $OEM$\$1\ folder     <br />(This will be on the C:\ driver after the installation) and then call installdrvs.cmd as “RunSynchronousCommand” during “Audit User” phase of     <br />the Windows Vista setup.&#160; Looks like this in System Image Manager:    <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/Driverinstallationandupdatingmadeeas.exe_B768/image_6.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/Driverinstallationandupdatingmadeeas.exe_B768/image_6.png"><img title="image" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="310" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/Driverinstallationandupdatingmadeeas.exe_B768/image_thumb_2.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/Driverinstallationandupdatingmadeeas.exe_B768/image_thumb_2.png" width="723" border="0" /></a>     <br />    <br />Have fun.</p>]]></content:encoded>
    </item>
    <item>
      <title>A guide to use WDS for OEM pre-installations… not really, but some good tips and samples</title>
      <link>https://docs.microsoft.com/archive/blogs/svengruenitz/a-guide-to-use-wds-for-oem-pre-installations-not-really-but-some-good-tips-and-samples</link>
      <pubDate>Tue, 01 Jul 2008 04:48:00 GMT</pubDate>
      <dc:creator><![CDATA[svengru]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/svengruenitz/2008/07/01/a-guide-to-use-wds-for-oem-pre-installations-not-really-but-some-good-tips-and-samples/</guid>
      <description><![CDATA[This is not a complete WDS guide as the title already indicates, but I want to share some examples...]]></description>
      <content:encoded><![CDATA[<p>This is not a complete WDS guide as the title already indicates, but I want to share some examples and best practices.</p>  <p>The generic WDS install guide can be found here:   <br /><a title="https://technet2.microsoft.com/windowsserver2008/en/library/7d837d88-6d8e-420c-b68f-a5b4baeb52481033.mspx?mfr=true" href="https://technet2.microsoft.com/windowsserver2008/en/library/7d837d88-6d8e-420c-b68f-a5b4baeb52481033.mspx?mfr=true">https://technet2.microsoft.com/windowsserver2008/en/library/7d837d88-6d8e-420c-b68f-a5b4baeb52481033.mspx?mfr=true</a></p>  <p>This will help you to setup or optimise your own WDS sever to do OEM pre-installations of Windows Vista and Server 2008.</p>  <p>&#160;</p>  <p>The most common issue I found is that people are not aware of the different answer files that a WDS server uses, so let’s start with this one.</p>  <p>There are two different answer files:    <br /></p>  <p></p>  <p></p>  <p></p>  <ol>   <li>An unattend.xml file that controls the Windows PE phase (connect to the WDS server, load storage driver, partition the disk, etc.) of the setup      <br />This one needs to be place in “c:\RemoteInstall\WdsClientUnattend\”.&#160; Than right-click on your WDS server in Server Manager and select properties.       <br />The following dialogue will be displayed and you can select the unattend file:       <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/AguidetouseWDSforOEMpreinstallationsnotr_80AA/image_2.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/AguidetouseWDSforOEMpreinstallationsnotr_80AA/image_2.png"><img title="image" style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="599" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/AguidetouseWDSforOEMpreinstallationsnotr_80AA/image_thumb.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/AguidetouseWDSforOEMpreinstallationsnotr_80AA/image_thumb.png" width="698" border="0" /></a>&#160; <br />Change the settings as displayed and select the unattend file that you created and placed in “c:\RemoteInstall\WdsClientUnattend\”.       <br />I created a sample unattend.xml file for you that you can download here:       <br /><iframe style="border-right: #dde5e9 1px solid; padding-right: 0px; border-top: #dde5e9 1px solid; padding-left: 0px; padding-bottom: 0px; margin: 3px; border-left: #dde5e9 1px solid; width: 240px; padding-top: 0px; border-bottom: #dde5e9 1px solid; height: 66px; background-color: #ffffff" marginwidth="0" marginheight="0" src="https://cid-68b7c02646a1899d.skydrive.live.com/embedrowdetail.aspx/Public/WDS-Samples/WdsClientUnattend/unattend.xml" frameborder="0" scrolling="no"></iframe>      <br />You need to edit this file using &quot;System Image Manager” (part of the OPK) to change your server, username &amp; password details.       <br />This sample includes an entry that points to “c:\RemoteInstall\StorageDriver-x86” for storage driver updates. You need create that directory or delete the entry.       <br /></li>    <li>The image unattend file. This file controls the rest of the setup process and is image specific.      <br />You can still use one answer file for all your images including Windows Vista and Server 2008. There is no need to create separate ones.       <br />Right-click on an Install Image and select properties. Make the changes as shown below and select an unattend file:       <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/AguidetouseWDSforOEMpreinstallationsnotr_80AA/image_4.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/AguidetouseWDSforOEMpreinstallationsnotr_80AA/image_4.png"><img title="image" style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="626" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/AguidetouseWDSforOEMpreinstallationsnotr_80AA/image_thumb_1.png" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/AguidetouseWDSforOEMpreinstallationsnotr_80AA/image_thumb_1.png" width="695" border="0" /></a>       <br />I created a sample file as well. This one works for Windows Vista and Server 2008. Get is from here:       <br /><iframe style="border-right: #dde5e9 1px solid; padding-right: 0px; border-top: #dde5e9 1px solid; padding-left: 0px; padding-bottom: 0px; margin: 3px; border-left: #dde5e9 1px solid; width: 240px; padding-top: 0px; border-bottom: #dde5e9 1px solid; height: 66px; background-color: #ffffff" marginwidth="0" marginheight="0" src="https://cid-68b7c02646a1899d.skydrive.live.com/embedrowdetail.aspx/Public/WDS-Samples/Unattend-for-all-images.zip" frameborder="0" scrolling="no"></iframe>      <br />This Zip-File contains the sample unattend file and a sample “$OEM$” Folder as well. You need to edit the unattend file to change your support information.       <br />Once you select an image in WDS for an install in unattended mode a new “install” folder that contains the unattend file you selected will be created.       <br />This is “c:\RemoteInstall\Images\Vista SP1\install\” in my example. This folder contains a folder called “unattend”. In that folder is a copy of the unattend file you just selected.       <br />Place the “$OEM$” sample in the “install” folder, so that this folder now contains the “unattend” and the “$OEM$” folder. </li> </ol>  <p>Try it! You will be able to do a fully unattend installation of Windows Vista or Server 2008 now. This installation will end in Audit Mode, so that you can continue to pre-install more applications.</p>  <p>The sample “$OEM$” folder also contains a script that will change the unattend file after the installation has finished and the PC enters Audit Mode.    <br />This new unattend file is copied to ”c:\Windows\Panther” and controls the Sysprep and next OOBE experience.     <br />This sample will keep all device drivers during the Sysprep Phase and not prompt the end-user for language and region specific settings during OBBE.</p>]]></content:encoded>
    </item>
    <item>
      <title>Windows Vista: Start Windows Update via script in Audit Mode</title>
      <link>https://docs.microsoft.com/archive/blogs/svengruenitz/windows-vista-start-windows-update-via-script-in-audit-mode</link>
      <pubDate>Mon, 30 Jun 2008 10:01:26 GMT</pubDate>
      <dc:creator><![CDATA[svengru]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/svengruenitz/2008/06/30/windows-vista-start-windows-update-via-script-in-audit-mode/</guid>
      <description><![CDATA[Windows Update is not enabled by default in Audit Mode.  This CMD script will enable it and check...]]></description>
      <content:encoded><![CDATA[<p>Windows Update is not enabled by default in Audit Mode.</p>  <p>This CMD script will enable it and check for updates:</p>  <p><em><font color="#000080">NET STOP &quot;Windows Update&quot;       <br />REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update&quot; /v AUOptions /t REG_DWORD /d 00000004        <br />REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update&quot; /v ScheduledInstallDay /t REG_DWORD /d 00000000        <br />REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update&quot; /v ScheduledInstallTime /t REG_DWORD /d 00000003        <br />NET START &quot;Windows Update&quot;        <br />WUAUCLT /DETECTNOW</font></em></p>]]></content:encoded>
    </item>
    <item>
      <title>WDS Client DHCP issues… Here is one solution</title>
      <link>https://docs.microsoft.com/archive/blogs/svengruenitz/wds-client-dhcp-issues-here-is-one-solution</link>
      <pubDate>Mon, 30 Jun 2008 09:07:32 GMT</pubDate>
      <dc:creator><![CDATA[svengru]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/svengruenitz/2008/06/30/wds-client-dhcp-issues-here-is-one-solution/</guid>
      <description><![CDATA[I was on the road last Friday and help one of my partners to setup a network based deployment...]]></description>
      <content:encoded><![CDATA[<p></p>  <p></p>  <p>I was on the road last Friday and help one of my partners to setup a network based deployment for his PC production floor.    <br />It all worked fine until we hit this error message:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/WDSClientDHCPissuesHereisonesolution_C6A1/wdsdhcperror_2.jpg" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/WDSClientDHCPissuesHereisonesolution_C6A1/wdsdhcperror_2.jpg"><img title="wdsdhcperror" style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="290" alt="wdsdhcperror" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_technet/svengruenitz/WindowsLiveWriter/WDSClientDHCPissuesHereisonesolution_C6A1/wdsdhcperror_thumb.jpg" original-url="https://blogs.technet.com/blogfiles/svengruenitz/WindowsLiveWriter/WDSClientDHCPissuesHereisonesolution_C6A1/wdsdhcperror_thumb.jpg" width="616" border="0" /></a> </p>  <p>Great :-( </p>  <p>So the first assumption was that the network card <strong>driver is missing in the WDS Windows PE image</strong>.     <br />I added the latest driver using the following steps:</p>  <ol>   <li>Exported the current boot image from WDS server (right click on the boot image and select “Export Image”) to c:\PE\wds.wim </li>    <li>Checked that the OPK (AIK will work as well) for Windows Vista was installed </li>    <li>Opened the “Windows PE Tools Command Prompt” and changed to the c:\PE directory </li>    <li>Created a “mount” directory (“<font color="#000080">mkdir mount</font>” will do) </li>    <li>Mounted the exported wds.wim image: “<font color="#000080">imagex /mountrw wds.wim 2 mount</font>”       <br />It’s important to use the index “2” as the wds.wim will contain 2 images. </li>    <li>Downloaded and extracted the latest network driver to c:\PE\drvs </li>    <li>Used the peimg.exe utility to integrate the drivers: “<font color="#000080">peimg /inf=drvs\*.inf mount\Windows</font>” </li>    <li>Unmounted the image and commited the changes: “<font color="#000080">imagex /unmount /commit mount</font>” </li>    <li>Replaced the current WDS image with the new one (right click on the boot image and select “Replace Image”) </li> </ol>  <p>Here is a script that would do part 5 to 8:</p>  <blockquote>   <p><em><font color="#000080">imagex /mountrw wds.WIM 1 mount          <br />peimg /inf=drvs\*.inf mount\Windows           <br />imagex /unmount /commit mount</font></em></p> </blockquote>  <p>Tested it again… Same error!! So this wasn’t the solution.</p>  <p>I opened a command prompt window while the error message was displayed by pressing “SHIFT + F10” and then checked the network connectivity.</p>  <p>“ipconfig” showed that the client does not have an IP address. Some network cards take a very long time to obtain one, so it tested it again after 20 secs and the client had an IP address.</p>  <p><strong>So the real error was that the client network card took to long to obtain an IP address and then the WDS Client timed out.</strong></p>  <p>I checked for a solution online, but was not able to find one, so I had to create one that I am happy to share with you.</p>  <p>&#160;</p>  <p><strong>Build your custom WDS Windows PE image:</strong></p>  <ol>   <li>Opened the “Windows PE Tools Command Prompt” again and typed “<font color="#000080">copype x86 c:\wdsbootimage</font>”.       <br />This created a Windows PE image in “c:\wdsbootimage” </li>    <li>Mounted the created WinPE.wim to “mount”: “<font color="#000080">imagex /mountrw WinPE.wim 1 mount</font>” </li>    <li>Added all the necessary network and storage drivers to this image (use the steps descried earlier on…) </li>    <li>Mounted the image exported earlier: “<font color="#000080">imagex /mount wds.wim 2 mount</font>” </li>    <li>Copied the “sources” (c:\pe\mount\sources) folder to the mounted WinPE.wim (c:\wdsbootimage\mount\sources)      <br />This added the necessary WDS Client setup files to the new image. </li>    <li>Opened and edited the “startnet.cmd” file in the new image “notepad c:\wdsbootimage\mount\windows\system32\startnet.cmd”      <br />This files contained one line: “wpeinit”. </li>    <li>I changed this to:      <p><em><font color="#0000a0">@echo off            <br />wpeinit </font></em></p>      <p><em><font color="#0000a0">@echo Waiting for the WDS server...            <br />:testagain             <br />ping -n 1 wds &gt; NUL             <br />if %errorlevel% == 0 goto pingok </font></em></p>      <p><em><font color="#0000a0">REM wait 3 sec. and try it again            <br />ping -n 3 127.0.0.1 &gt;nul             <br />goto testagain </font></em></p>      <p><em><font color="#0000a0">:pingok </font></em></p>      <p><em><font color="#0000a0">x:\sources\setup.exe /wds /wdsserver:WDS</font>           <br /></em></p>      <p>This small script will wait until it can ping the WDS server (in this case the server is named “WDS”) and than start the setup in WDS mode.</p>   </li>    <li>Saved the changed startnet.cmd file </li>    <li>Removed all unnecessary components from the new WDS WinPE image: “<font color="#000080">peimg /prep mount\windows</font>” </li>    <li>Unmounted the image and commit the changes: “<font color="#000080">imagex /unmount /commit mount</font>” </li>    <li>The WinPE.wim file was still around 200MB, so in order to reduce this size I had to export the new image to a new WIM-File:      <br />”<font color="#000080">imagex /export WinPE.wim 1 wds.wim “Custom WDS Windows PE</font>”       <br />The now created wds.wim was only around 120MB. </li>    <li>Replaced the current WDS image with the new one (right click on the boot image and select “Replace Image”) </li> </ol>  <p>I tested it again and it now worked. :-)</p>]]></content:encoded>
    </item>
  </channel>
</rss>