none
Help with Windows System Image Man

    Question

  • I searching websites and reading till I'm blind but I could really use some help here. I captured an image without any errors on MDT 2012. However, when the pc rebooted that the image was captured from I received a parse/process error and the pc won't boot. Found that IE10 and MDT 2012 don't play well and this causes the error. 

    I copied the image off the MDT server and used wsim to make changes to the unattend.xml file. Once the changes are made where does the xml file get saved to? All the posts I have read say save the xml file when completed, but doesn't state where, unless your using a usb or dvd. So, I have the captured image file, the .clg file and the xml file. My question is, where do I save all these files on the MDT server to alleviate any errors in deployment.

    Any assistance would be greatly appreciated.

    Thursday, June 27, 2013 1:29 PM

Answers

  • Firstly, IE10 and Windows 7/8 not playing well within the Unattend.xml is a known issue.  To fix this, remove <IEWelcomeMsg></IEWelcomeMsg> from your Unattend.xml.

    Each Task Sequence in MDT has it's own Unattend.xml.  This file is stored at %DeployRoot%\Control\<Task Sequence ID>\Unattend.xml.  On a Task Sequence, on the "OS Info" Tab, is an "Edit Unattend.xml".  Clicking this will directly open WSIM and that Task Sequence's Unattend.xml.  If you've not generated the CLG yet, it will do that first.  Opening it this way or opening it directly in the path is best, since you know you have the default MDT Unattend.xml for your Task Sequence.

    If you create an Unattend.xml and then try to copy it into this location, it will be missing some of the import MDT "sauce" like Bootstrap and Autologon (just as examples) and may not function correctly.  You should always start with the Task Sequence's MDT created Unattend.xml.


    David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek

    • Marked as answer by Burntout Thursday, June 27, 2013 2:38 PM
    Thursday, June 27, 2013 2:08 PM

All replies

  • Firstly, IE10 and Windows 7/8 not playing well within the Unattend.xml is a known issue.  To fix this, remove <IEWelcomeMsg></IEWelcomeMsg> from your Unattend.xml.

    Each Task Sequence in MDT has it's own Unattend.xml.  This file is stored at %DeployRoot%\Control\<Task Sequence ID>\Unattend.xml.  On a Task Sequence, on the "OS Info" Tab, is an "Edit Unattend.xml".  Clicking this will directly open WSIM and that Task Sequence's Unattend.xml.  If you've not generated the CLG yet, it will do that first.  Opening it this way or opening it directly in the path is best, since you know you have the default MDT Unattend.xml for your Task Sequence.

    If you create an Unattend.xml and then try to copy it into this location, it will be missing some of the import MDT "sauce" like Bootstrap and Autologon (just as examples) and may not function correctly.  You should always start with the Task Sequence's MDT created Unattend.xml.


    David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek

    • Marked as answer by Burntout Thursday, June 27, 2013 2:38 PM
    Thursday, June 27, 2013 2:08 PM
  • Thank you very much for the quick reply. I had to copy the image to a 32 bit machine to open the image in wsim.

    What I did was created the catalog file, opened the answer file. Deleted the MS x86 IE10 neutral. I then saved this, along with the image, .clg file on a thumb drive. Now, hope I really don't sound stupid here, but what do I do now with these three files. The image file, clg and the answer file. 

    Thanks for your help.

    /Bob

    Thursday, June 27, 2013 2:12 PM
  • Totally disregard my last. I'm losing my mind. I went to the folder you stated and edited the xml and saved it.

    Thanks for the help.

    Thursday, June 27, 2013 2:37 PM
  • Ok, I changed the xml and still receiving error in the specialize pass. I am including the xml for this pass hoping you might be able to tell me what's wrong. I'm new at this so there may be something you could spot right away.

           

    <settings pass="specialize">
        <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
          <Identification>
            <Credentials>
              <Username></Username>
              <Domain></Domain>
              <Password></Password>
            </Credentials>
            <JoinDomain></JoinDomain>
            <JoinWorkgroup></JoinWorkgroup>
            <MachineObjectOU></MachineObjectOU>
          </Identification>
        </component>
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
          <ComputerName></ComputerName>
          <ProductKey></ProductKey>
          <RegisteredOrganization>Bloomfield Board of Education</RegisteredOrganization>
          <RegisteredOwner>Windows User</RegisteredOwner>
          <TimeZone></TimeZone>
          <DoNotCleanTaskBar>true</DoNotCleanTaskBar>

        </component>
        <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <RunSynchronous>
            <RunSynchronousCommand wcm:action="add">
              <Description>EnableAdmin</Description>
              <Order>1</Order>
              <Path>cmd /c net user Administrator /active:yes</Path>
            </RunSynchronousCommand>
            <RunSynchronousCommand wcm:action="add">
              <Description>UnfilterAdministratorToken</Description>
              <Order>2</Order>
              <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
            </RunSynchronousCommand>
            <RunSynchronousCommand wcm:action="add">
              <Description>disable user account page</Description>
              <Order>3</Order>
              <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path>
            </RunSynchronousCommand>
          </RunSynchronous>
        </component>
        <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <InputLocale>0409:00000409</InputLocale>
          <SystemLocale>en-US</SystemLocale>
          <UILanguage>en-US</UILanguage>
          <UserLocale>en-US</UserLocale>
        </component>
        <component name="Microsoft-Windows-TapiSetup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <TapiConfigured>0</TapiConfigured>
          <TapiUnattendLocation>
            <AreaCode>""</AreaCode>
            <CountryOrRegion>1</CountryOrRegion>
            <LongDistanceAccess>9</LongDistanceAccess>
            <OutsideAccess>9</OutsideAccess>
            <PulseOrToneDialing>1</PulseOrToneDialing>
            <DisableCallWaiting>""</DisableCallWaiting>
            <InternationalCarrierCode>""</InternationalCarrierCode>
            <LongDistanceCarrierCode>""</LongDistanceCarrierCode>
            <Name>Default</Name>
          </TapiUnattendLocation>
        </component>
        <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <DisableSR>1</DisableSR>

    Thanks in advance for your assitance.

    Thursday, June 27, 2013 3:51 PM
  • I compared against a default one (for x64, but should be similar enough) and it's almost exactly the same with two minor differences notes:

    - TimzeZone is empty (mine is set)
    - DoNotCleanTaskBar comes before TimeZone

    WSIM has the ability to "validate" an Unattend.xml, I'd suggest hitting that and seeing if the file is valid or has other issues.  Your other option is to look at the machine that failed to boot with the Sysprep / Specialize issue from WinPE and see if you can find the log files for Sysprep and see the exact error.  The log files should tell you what Key Pair it failed on.


    David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek

    Thursday, June 27, 2013 5:00 PM
  • This thing is kicking my a$$. I found the panther error log on the pc. It does state that it was the IE welcome screen. I went into the folder for the unattend.xml file and deleted the ie welcome line.

    Tried to reimage the computer and received a "Dirty Environment" message. Another deployment is in progress and asked if I wanted to restart the deployment. I then ran diskpart and cleaned the disk. I still am getting the dirty environment message. 

    I will keep trying to get this straightened out. I really appreciate your responses and help. Thank you.

    /Bob

    Thursday, June 27, 2013 7:04 PM
  • Dave,

    I hope you read this. I was able to overcome this problem. I rebuilt a new image and made a capture sequence in MDT. Before capturing the image I was able to open the unattend through mdt and make the change on the IE welcome screen. 

    In any event, I was hoping if you would be able to answer one question for me. If I take a 32 bit image from mdt and open it on a 32 bit machine with Wsim. After it creates the catalog and enables me to make any adjustments and I save it. Where exactly does that saved answer file go? Back in the control folder with the image? Do I save the catalog also. 

    As you can see I'm new to using this tool. If you could point me in the right direction I would really appreciate it.

    Thanks, Bob

    Friday, June 28, 2013 4:51 PM
  • If you are editing it through "Edit Unattend.xml" on the Task Sequence, then when you save it, it just updates the file under %DeployRoot%\Control\<TS ID>.  If you open it directly with WSIM, it will save it wherever you opened it from. 

    The catalog will automatically be saved once created and you can see where if you look toward the end of your Unattend.xml for something like this:

    <cpi:offlineImage cpi:source="catalog://mymdtserver/mdt$/captures/w8x64--buildddrive.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />


    David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek

    Friday, June 28, 2013 5:15 PM
  • Ok, I understand that if I do it through the task sequence it will save automatically. But if I copy a captured image to a 32 bit machine, open it in wsim and save my changes on a thumb drive, will I be copying the image, clg and unattend back into the control folder in mdt for that image? I don't want to sound dumb but I'm missing something here.

    Thanks for taking the time to help me out.

    Bob

    Friday, June 28, 2013 6:05 PM
  • Not dumb at all, just new at it. : )

    I'm having a little difficulty understanding what you mean.  I have a few questions to understand and then hopefully can answer your question:

    • When you say "copy a captured image to a 32 bit machine", do you mean the WIM?  If you do mean WIM, how are you copying it to the machine, from a Task Sequence or ImageX directly?
    • When you say "open it in wsim", I know you must mean an Unattend.xml, but where are you opening it from?  Is it in the image you just copyied or somewhere else?

    Just a few notes of clarification:

    • You don't copy an Image into the Control folder.  You import a Custom WIM as an Operating System (stored under '%DeployRoot%\Operating Systems') and link to it from your Task Sequence (which is what is actually stored in the Control file, the ts.xml and Unattend.xml).  You pick which OS you want to deploy when you create your Standard Client Task Sequence (for Deployment).  You can change it later by editing the Step in the Task Sequence and changing the reference to the Operating System used.
    • The CLG is not necessary for MDT to function at all, it just helps you modify the Unattend.xml in the GUI.  It is not deployed or used during capture or deployment in any way.


    David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek

    Friday, June 28, 2013 7:36 PM
  • Again, thanks for your time. What I did was copy the image from mdt to a Lacie drive. I then opened the file in wsim on a 32 bit machine, as you cannot open a 32 bit image on the 64 bit machine. I then change the settings I need and save the answer file back to the Lacie drive. Now, when this is completed I have the image file, the clg file and the answer file on the Lacie. Now, do I copy these back to the control folder on the mdt machine or tell me that I'm doing this all wrong and make my day.

    Bob

    Friday, June 28, 2013 8:27 PM
  • I've never done it that way... I just open the Unattend.xml directly in WSIM (and if it needs a catalog, it generates) or open it in Notepad if I know what change or update I need.  I don't think I've ever tried to open a WIM directly with WSIM (but see that you can do so).  If you edit the Unattend.xml in the Control folder directly with WSIM, then you are done once you save it.  If you do it the way you have been, then you'd need to copy your new Unattend.xml back into the Control folder for that Task Sequence (but not the WIM / CLG)... however if you do this, I don't believe the Unattend.xml would have all the "MDT sauce" that it puts in by default since you edited the Unattend.xml directly from the Image and didn't start with the one in the Control folder.


    David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek

    Friday, June 28, 2013 8:50 PM
  • Thank God for you patience with me. You can't open an image file with wsim on a 64 bit machine, that I have read all over the web. So now, if I have a 32 bit image how can I open it with wsim if I don't move it to a 32 bit machine? Am I just not getting it? 

    Maybe I just have to try and read all micorsofts guides on wsim. However, I hate to say this but sometimes I wind up more confused after I read their information.

    Man, if you gave classes I'd sign up!

    Thanks Dave

    Friday, June 28, 2013 10:02 PM
  • What exactly are you trying to set in the Unattend.xml?

    If you know what changes you are making, you can manually merge them into the Unattend.xml in the Control\<TS ID> folder.  Just open it with a text editor (I use Notepad++) and copy and paste what you need.


    David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek

    Saturday, June 29, 2013 11:53 AM
  • Dave, I think I'll be done bothering you now. Being that the image is good the only thing I want to do is set the default profile to "true". I was really confused with wsim but I think I found what I was missing all along.

    Correct me if I'm wrong, if I want to be able to open the unattend for an x86 machine on server 2008 r2 I first have to create the catalog on a 32 bit machine and copy it to my folder on mdt. Then I can open it and make any changes.

    Thanks for your help

    Bob

    Saturday, June 29, 2013 12:33 PM
  • If you mean CopyProfile to true, I'd advise against it.  CopyProfile is an abomination and there are better ways to do things (like putting files into the Default profile area).

    To be clear, I don't think it's about the machine architecture, I think it's about the version of WSIM.  See this KB for some more details (even though it's older): http://support.microsoft.com/kb/2524737


    David Coulter | http://DCtheGeek.blogspot.com | @DCtheGeek

    Saturday, June 29, 2013 1:00 PM
  • Man, do you make my life interesting! I'll go by your suggestion with the default user profile, I don't need any more headaches. I think you helped me quite a bit and it's appreciated. I owe you a drink.

    Thanks

    Bob

    Saturday, June 29, 2013 1:47 PM