unattend.xml and autounattend.xml

Discussion in 'Windows 7' started by omdhar, Sep 30, 2009.

  1. omdhar

    omdhar MDL Junior Member

    Aug 1, 2009
    94
    40
    0
    #1 omdhar, Sep 30, 2009
    Last edited by a moderator: Apr 20, 2017
  2. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,773
    1,085
    60
    #2 Mr Jinje, Sep 30, 2009
    Last edited by a moderator: Apr 20, 2017
  3. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,709
    3,066
    300
    Along with Mr Jinje info you need to rename unattend.xml to autounattend.xml.
     
  4. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,773
    1,085
    60
    #4 Mr Jinje, Sep 30, 2009
    Last edited by a moderator: Apr 20, 2017
    Urie is right, rename the file to autounattend.xml, then it will work.

    What happens is windows looks for Autounattend.xml on the root of drives, then copy/rename that file into C:\Windows\Panther\unattend.xml.

    Another thing is missing you password parameter, if you get prompt during install, try run this to enter a blank password (untested so report back)

    Code:
             <Password>
                <Value></Value>
                <PlainText>True</PlainText>
             </Password>
    I hope you are testing in VM, no reason to be burning DVD until you have things working.
     
  5. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,773
    1,085
    60
    #5 Mr Jinje, Sep 30, 2009
    Last edited by a moderator: Apr 20, 2017
  6. kukubau

    kukubau MDL Addicted

    Dec 15, 2008
    691
    45
    30
    WAIK documentation is very well written. Read it twice if needed and test the xml file over and over again.

    EULA, network settings and more can be hidden at oobe minisetup stage after sysprepping, but I don't have WAIK or OPK installed on this PC so can't help you with details.

    Check waik and WSIM (Windows System Image Manager) inside waik. Everything is there. Check all the branches/strings/settings in wsim, they all have a help section that explains what they do.
    If tomorrow I'll have some free time, I'll build a generic working Autounattend.xml and post it here.

    Greets
     
  7. kukubau

    kukubau MDL Addicted

    Dec 15, 2008
    691
    45
    30
    #7 kukubau, Oct 1, 2009
    Last edited by a moderator: Apr 20, 2017
  8. Phazor

    Phazor MDL Expert

    Sep 1, 2009
    1,145
    517
    60
    What makes you say that?

    The WAIKs ImageManager is exactly the tool with which these answer files are being generated, and since it has a GUI, (which even prevents you from adding something to the wrong pass), adding the different sections is a mere matter of choose-and-click.

    (Plus it is safe because the ImageManager auto-checks the syntax of the file for errors before you can save it. That way a non-working answer file due to syntactical mistakes is out of the question, which means you save yourself a lot of trial and error too...)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. kukubau

    kukubau MDL Addicted

    Dec 15, 2008
    691
    45
    30
    WSIM checks the syntax, but that doesn't always guarantees you a foul proof xml and unattend installation. It's all about trial and error, and I burnt myself numerous times with non-working deployment scenarious, where the xml created with wsim was the culprit.

    One thing to mention is the inconsistencies and out-of date settings that no longer work with windows 7. And more. As I said, trial and error.
     
  10. SoLoR

    SoLoR MDL Expert

    Jul 30, 2008
    1,341
    1,214
    60
  11. mathan

    mathan MDL Novice

    Dec 25, 2009
    15
    0
    0
    i need a sperate x86 and x64 file
     
  12. omdhar

    omdhar MDL Junior Member

    Aug 1, 2009
    94
    40
    0
    #12 omdhar, Dec 27, 2009
    Last edited: Feb 26, 2010
    (OP)
    latest autounattend.xml posted by me in first post will work both in x86 and x64 seperately.
     
  13. apollopimp

    apollopimp MDL Junior Member

    Jan 12, 2008
    65
    3
    0
    so where is this located i cant find the one your talking about anywhere thanks in advance