none
MDT2012 and Windows XP Deployment

    Question

  • Hi All,

    Environment : Windows Server 2008, MDT 2012, Windows XP WIM image (Sysprepped and captured)

    I'm have captured Windows XP image using WDS and customized image in in MDT ie, partition details, license keys etc.

    But, when I'm deploying the Lite touch image (x86) that's created by MDT 2012 using WDS. I'm not getting the required settings that I have selected ie :

    -After the setup the product key is asked,

    -After the setup is complete, computer name is asked even though I have created a DB entry in MDT DB for Computer Name vs its MAC address

    - EULA page

    -Domain Addition.

    Also, other things works well like formatting of partitions and application added to MDT.

    Is it not possible that I can deploy Windows XP SP3 using MDT and WDS? Or I'm making some mistake here??

    I have modified bootstrap.ini and customsetting.ini in the MDT2012 and added the product key. But still its not working.

    Any suggestions will be appreciated.

    --Arnav Sharma


    Arnav Sharma | Facebook | Twitter Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.


    Tuesday, July 30, 2013 8:27 AM

Answers

  • Make sure your customsettings.ini defines what the computer name should be and that it sets the option to skip that part of the wizard.

    example:

    SkipComputerName=YES

    OSDComputerName=%SerialNumber%


    http://scriptimus.wordpress.com/2011/05/06/mdt-2010-skipping-deployment-wizard-pages/

    • Proposed as answer by gbillig Tuesday, July 30, 2013 11:25 PM
    • Unproposed as answer by arnavsharmaMVP Wednesday, July 31, 2013 2:37 AM
    • Marked as answer by arnavsharmaMVP Tuesday, October 15, 2013 9:31 AM
    Tuesday, July 30, 2013 11:25 PM
  • Does the Unattend.txt have the product key entered under the UserData section, OEMSkipWelcome under GuiUnattended, etc.? It's been awhile since I needed to make a custom image for XP. It's usually far easier to deploy the base OS, patch, and then sysprep & capture with all of the required settings, like product key, domain join, so on. (Minisetup vs. Unattended setup.)

    I'd have to look back through my notes but there are many variables that cannot be injected into Windows XP like they can with Vista and above.

    -Nick O.

    • Marked as answer by arnavsharmaMVP Tuesday, October 15, 2013 9:31 AM
    Monday, August 05, 2013 2:20 PM

All replies

  • Just to clarify, your title says "MDT 2010", but your text all says "MDT 2012".  Can you confirm which you are using?  Also, are you using WAIK or ADK?

    Those questions aside, yes, you can deploy Windows XP using MDT 2010 / 2012 Update 1 (but not 2013 Preview).  WDS's only real role in things is to deliver the Lite Touch Boot Image, so as long as that's working it's not really part of the equation.    It sounds like the injection of your variables into your Unattend file isn't working correctly or it is, but Windows XP isn't using it for some reason.  The first thing I'd look at is ZTIConfigure.log to see if the injection is occurring successfully.  Once you validate that piece is working as expected, then I'd look at setupact.log and setuperr.log on the machine to see if there is an error with processing the Unattend file.

    If you want additional help, post your logs to some cloud storage (stripping any sensitive details like passwords, product keys, etc) and we'll take a look and see if we can point you in the right direction.


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

    Tuesday, July 30, 2013 1:04 PM
    Answerer
  • Thanks David. I've modified the Subject Line.

    I'll get back to you with logs.


    Arnav Sharma | Facebook | Twitter Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Tuesday, July 30, 2013 3:12 PM
  • Make sure your customsettings.ini defines what the computer name should be and that it sets the option to skip that part of the wizard.

    example:

    SkipComputerName=YES

    OSDComputerName=%SerialNumber%


    http://scriptimus.wordpress.com/2011/05/06/mdt-2010-skipping-deployment-wizard-pages/

    • Proposed as answer by gbillig Tuesday, July 30, 2013 11:25 PM
    • Unproposed as answer by arnavsharmaMVP Wednesday, July 31, 2013 2:37 AM
    • Marked as answer by arnavsharmaMVP Tuesday, October 15, 2013 9:31 AM
    Tuesday, July 30, 2013 11:25 PM
  • Also, everything goes well. Only after full setup I'm prompted for EULA, product key, domain join, admin password etc

    Logs:

    Validating connection to \\MYSERVER\DeploymentShare$ ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    Already connected to server MYSERVER as that is where this script is running from. ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    Updated C:\sysprep\Sysprep.inf section [UserData] with ComputerName=MININT-JLJRFKI (value was COMPNAME) ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    Updated C:\MININT\unattend.txt section [UserData] with ComputerName=MININT-JLJRFKI (value was MININT-JLJRFKI) ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for FullName ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for OrgName ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    Updated C:\sysprep\Sysprep.inf section [UserData] with ProductKey=xxx-xxxx-xxxx-xxxx-xxxx (value was xxx-xxxx-xxxx-xxxx-xxxx) ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    Updated C:\MININT\unattend.txt section [UserData] with ProductKey=xxx-xxxx-xxxx-xxxx-xxxx (value was xxx-xxxx-xxxx-xxxx-xxxx) ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for JoinDomain ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for MachineObjectOU ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    Updated C:\sysprep\Sysprep.inf section [Identification] with JoinWorkgroup=WORKGROUP (value was ) ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    Updated C:\MININT\unattend.txt section [Identification] with JoinWorkgroup=WORKGROUP (value was WORKGROUP) ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    Updated C:\sysprep\Sysprep.inf section [Identification] with DomainAdmin=MYDOMAIN\domain_id (value was MYDOMAIN\domain_id) ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    Updated C:\MININT\unattend.txt section [Identification] with DomainAdmin=MYDOMAIN\domain_id (value was MYDOMAIN\domain_id) ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    <Message containing password has been suppressed> ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    <Message containing password has been suppressed> ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for InputLocale ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for Language ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for LanguageGroup ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for SystemLocale ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    Updated C:\sysprep\Sysprep.inf section [RegionalSettings] with UserLocale=en-us (value was ) ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    Updated C:\MININT\unattend.txt section [RegionalSettings] with UserLocale=en-us (value was en-us) ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    Updated C:\sysprep\Sysprep.inf section [GuiUnattended] with TimeZone=004 (value was 85) ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    Updated C:\MININT\unattend.txt section [GuiUnattended] with TimeZone=004 (value was 004) ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for AutoLogon ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for AutoLogonCount ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    <Message containing password has been suppressed> ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for BitsPerPel ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for Xresolution ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for Yresolution ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for Vrefresh ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for AreaCode ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for CountryCode ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for Dialing ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for LongDistanceAccess ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for Home_Page ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for AutoMode ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    No value found for AutoUsers ZTIConfigure 7/31/2013 9:41:33 AM 0 (0x0000)
    ZTIConfigure COMPLETED.  Return Value = 0 ZTIConfigure 7/31/2013 9:41:34 AM 0 (0x0000)
    ZTIConfigure processing completed successfully. ZTIConfigure 7/31/2013 9:41:34 AM 0 (0x0000)

    Wednesday, July 31, 2013 3:15 AM
  • One more update, I'm able to modify the screens/settings before installation. But When the formatting is complete, I get welcome screen --> EULA --> Product Key --> Activation etc etc

    Can these be avoided post install?


    Arnav Sharma | Facebook | Twitter Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Wednesday, July 31, 2013 8:53 AM
  • Well, it's already taking the ProductKey, so at least that's working.  Have you tried setting UnattendSwitch=yes in the Unattend.txt file in the folder of the Task Sequence (per http://support.microsoft.com/kb/294801)?  It's likely there is an option for this in MDT in the CustomSettings.ini, I just don't know what it is for Windows XP.

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

    Thursday, August 01, 2013 12:58 AM
    Answerer
  • This is what I have done in Unattend.txt :

    [Data]
        AutoPartition=1
        MsDosInitiated="0"
        UnattendedInstall="Yes"

    [Unattended]
        UnattendMode = FullUnattended
        OemSkipEula=Yes
        OemPreinstall = Yes
        OemPnPDriversPath = "\Drivers"
        TargetPath = \Windows
        DriverSigningPolicy = Ignore
        DUDisable = Yes
        DUStopOnError = No
    ;    ExtendOemPartition = 1   ; If Set extends disk partition to end of disk or by x MB
    ;    FileSystem = ConvertNTFS   ; Specify wheter to leave filesystem alone or convert to NTFS
         AutoActivate = Yes    ; Determines if Windows should auto activate over Internet
    ;    ActivateProxy = Proxy   ; Proxy Setting to use when auto activating windows
        CrashDumpSetting = 3    ; 3=small memory dump 0-3
        DisableDynamicUpdates = Yes   ; Don't go get updates from Internet during install
        Hibernation = Yes    ; Yes=Enables hibernation, No=Disabled hibernation
        WaitForReboot = No    ; Yes=Wait 15seconds after guimode setup to reboot
    ;    ComputerType =    ; Defines Custom HAL type
    ;    Factory = Yes    ; Used in conjuction with OPK If yes will not delete Sysprep directory
    ;    ForceHalDetection = No   ; Used in upgrades to keep previous hal
         Keyboardlayout =en-US    ; Allows specification of keyboard type
    ;    NTUpgrade = No    ; Indicates whether or not this is an OS upgrade 
    ;    OverwriteOEMFilesOnUpgrade = 0  ; Indicates whether OEM files should be overwritten
    ;    Repartition = 1    ; Only when booting to CD specify 1 to repartition hard disk
         UnattendSwitch=yes   ; Set to yes during winnt installation to skip welcome
    ;    Win9xUpgrade = No    ; Indicats if this is an upgrade and to use [Win9xUpg] section

     Anything else that can be done to avoid ?


    Arnav Sharma | Facebook | Twitter Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Thursday, August 01, 2013 4:24 AM
  • Anything else??

    Arnav Sharma | Facebook | Twitter Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Sunday, August 04, 2013 4:02 PM
  • Does the Unattend.txt have the product key entered under the UserData section, OEMSkipWelcome under GuiUnattended, etc.? It's been awhile since I needed to make a custom image for XP. It's usually far easier to deploy the base OS, patch, and then sysprep & capture with all of the required settings, like product key, domain join, so on. (Minisetup vs. Unattended setup.)

    I'd have to look back through my notes but there are many variables that cannot be injected into Windows XP like they can with Vista and above.

    -Nick O.

    • Marked as answer by arnavsharmaMVP Tuesday, October 15, 2013 9:31 AM
    Monday, August 05, 2013 2:20 PM
  • Thanks for the reply Nick.

    Yes, product key is mentioned everywhere. Will post the full contents tomorrow. I'm bit confused as from logs it seems that all the variable are getting injected into the OS. But still, after formatting is complete its asks for EULA, Key, Internet activation etc.

    Please let me know if you find something for Windows XP.

    Thanks.


    Arnav Sharma | Facebook | Twitter Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Monday, August 05, 2013 3:35 PM