<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Confessions of a Microsoft Consultant : MDT</title><link>http://blogs.technet.com/doxley/archive/tags/MDT/default.aspx</link><description>Tags: MDT</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>All spaced out</title><link>http://blogs.technet.com/doxley/archive/2007/11/25/all-spaced-out.aspx</link><pubDate>Mon, 26 Nov 2007 00:28:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2561524</guid><dc:creator>Daniel Oxley</dc:creator><slash:comments>19</slash:comments><comments>http://blogs.technet.com/doxley/comments/2561524.aspx</comments><wfw:commentRss>http://blogs.technet.com/doxley/commentrss.aspx?PostID=2561524</wfw:commentRss><description>&lt;P&gt;Well, as this is my first post on my blog I thought I'd use it to share the solution to a problem I had recently so that nobody else needs go through the stress of debugging it!&lt;/P&gt;
&lt;P&gt;My current project is to install and configure BDD 2007 so that my client can create images for their standard desktop build.&amp;nbsp; The build is Windows XP SP2 with all the core applications, i.e. Office 2003, PDF viewer etc.&amp;nbsp; The problem was that BDD was failing after running, what appeared to be successfully, Sysprep at the end of the reference machine installation.&amp;nbsp; The error displayed was:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;"The HKLM\System\Setup\CloneTag registry value did not exist"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;And, as advised, the key really did not exist.&amp;nbsp; I had no other errors displayed and if I rebooted the computer manually Sysprep would run normally and the machine would restart into Windows XP.&amp;nbsp; So, I had an error message which was 100% reproducible, but no symptoms of error on the computer, i.e. mini-setup ran correctly upon restart.&lt;/P&gt;
&lt;P&gt;So, dipping into the LTISysprep.wsf script, I removed the '-quiet' parameter from the Sysprep command and relaunched the BDD installation process to see if I would receive any more information.&amp;nbsp; This gave me a new error message which said:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;"An error occurred while trying to update your registry".&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;Well, I knew that already because BDD had told me that the CloneTag key did not exist!&amp;nbsp; Additionally, this problem only occurred if I used the Sysprep.inf file that the client gave to me from their own installation process.&amp;nbsp; Any other Sysprep.inf file worked normally, thus meaning that there was a problem in the contents of the clients.&amp;nbsp; After spending a lot of time with many different combinations of configuration, I asked for help from some other Microsoft BDD experts.&amp;nbsp; &lt;A class="" title="Ben Hunter" href="http://blogs.technet.com/benhunter/" target=_blank mce_href="http://blogs.technet.com/benhunter/"&gt;Ben Hunter&lt;/A&gt; (thanks again Ben) replied back to me after&amp;nbsp;reviewing the Sysprep.inf&amp;nbsp;saying that the problem was caused by a simple space before and after the equals sign&amp;nbsp;in the following line:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;PCI\VEN_8086&amp;amp;DEV_27C1&amp;amp;CC_0106 = %systemdrive%\drivers\sata\iaahci.inf&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Low and behold, by removing the space, all worked correctly!&amp;nbsp; My next question was simple.&amp;nbsp; If the client has been using the same Sysprep.inf file for a few years, then why have they never experienced this problem before?&amp;nbsp; And also, why could I find no other documented example of someone with the same problem when I searched on the Internet?&amp;nbsp; The answer is simple; if there is an error in the Sysprep.inf file then Sysprep will simply ignore the line completely if you have used the '-quiet' parameter.&amp;nbsp; Seeing as almost everyone uses this parameter, the error occurred silently and never reared it's ugly head.&amp;nbsp; One further thing, the offending line in the Sysprep.inf file is there so that Sysprep will load the correct drivers for a SATA disk.&amp;nbsp; Seeing as a large majority of people still use IDE, this line is not required thus reducing the chances of having a line like this in the file.&amp;nbsp; The strange thing is that other values in the Sysprep.inf file will still work correctly if they have a space before/after the equals sign.&amp;nbsp; For some reason the section for the mass storage devices is a bit more picky than the rest of the areas!&lt;/P&gt;
&lt;P&gt;The solution was simple, but it took quite a few very frustrating hours to find it.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2561524" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/doxley/archive/tags/Business+Desktop+Deployment/default.aspx">Business Desktop Deployment</category><category domain="http://blogs.technet.com/doxley/archive/tags/Microsoft+Deployment+Toolkit/default.aspx">Microsoft Deployment Toolkit</category><category domain="http://blogs.technet.com/doxley/archive/tags/Windows/default.aspx">Windows</category><category domain="http://blogs.technet.com/doxley/archive/tags/MDT/default.aspx">MDT</category></item></channel></rss>