Autounattend.xml doesn't work properly

Page 1 of 3 123 LastLast

  1. Posts : 8
    Windows 7 Professional 32-bit
       #1

    Autounattend.xml doesn't work properly


    Hi!
    I'm about to prepare some OEM computers and have made a simple unattend.xml-file with help from the answering file sample from WAIK, but I can't get it to work properly.

    I have copied the file to the root directory of an USB drive and it seemes like the installation program is reading the file (e.g. I don't have to specify an computer name when finalizing the installation) but it's not as automated that I would like it to be. I have to choose wich Windows version to install (basic, HP etc.), the disk partitions listed in the xml-file is not automated (I have to choose wich drive to use for installation), I need to confirm the license agreement, choose date and time options.

    What can be wrong? I would like a clean, working autounattend.xml-file that automatically installs and also temporarily activates the administrator account so I can install updates, drivers and such and then seal everything up with sysprep.

    Can anyone help me with this?
    Here's my autounattend.xml file (I've deleted the OEM info):

    autounattend.xml

    //Henrik
      My Computer


  2. Posts : 6,243
    win 7 ultimate32bit, Win8.1pro wmc 32bit
       #2

    Hi HITData, welcome to the forums, Have a look at this Windows 7 doesn't detect autounattend.xml? It may help you:)
      My Computer


  3. Posts : 8
    Windows 7 Professional 32-bit
    Thread Starter
       #3

    Thnks


    Thnks for the reply. I replaced all the "x86" posts with "AMD64" and now it works much better. :)

    I still have to choose wich version of Windows I want to install thought (basic, HP, pro or ultimate). Any way of getting around that?

    Regards, Henrik
      My Computer


  4. Posts : 6,243
    win 7 ultimate32bit, Win8.1pro wmc 32bit
       #4

    HITData said:
    Thnks for the reply. I replaced all the "x86" posts with "AMD64" and now it works much better. :)

    I still have to choose wich version of Windows I want to install thought (basic, HP, pro or ultimate). Any way of getting around that?

    Regards, Henrik
    I will have another search for you :)

    are you adding this line /settings>
    <cpifflineImage cpi:source="wim:/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    add whichever version you wish to install

    Dont know why it put the smily face instead of an "o"
    Last edited by pebbly; 27 Nov 2010 at 13:06. Reason: added reason for smily face
      My Computer


  5. Posts : 8
    Windows 7 Professional 32-bit
    Thread Starter
       #5

    I have this info at the end of the xml:

    </settings>
    <cpifflineImage cpi:source="catalog:d:/sources/install_windows 7 homepremium.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    I loaded the Home Premium catalogue file when making the file. Should I change (or add) something here?
      My Computer


  6. Posts : 6,243
    win 7 ultimate32bit, Win8.1pro wmc 32bit
       #6

    HITData said:
    I have this info at the end of the xml:

    </settings>
    <cpifflineImage cpi:source="catalog:d:/sources/install_windows 7 homepremium.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    I loaded the Home Premium catalogue file when making the file. Should I change (or add) something here?
    I'm not 100% certain but I think you have got it right ,Maybe one of our excellent resident programming experts will be along shortly to verify it for you :)
      My Computer


  7. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #7

    HITData said:
    I have this info at the end of the xml:

    </settings>
    <cpifflineImage cpi:source="catalog:d:/sources/install_windows 7 homepremium.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    I loaded the Home Premium catalogue file when making the file. Should I change (or add) something here?
    Using Image Manager (wim) or catalog (clg) file has no difference, they will do the same, according to available info.

    Shouldn't there be a Windows version after the used clg or wim file name? Like "catalog:d:/sources/install_windows 7 homepremium.clg#Windows 7 HOMEPREMIUM"? Other than that, syntax of that line is correct, of course replacing that embarrasment-smiley with ":" followed by "o"

    Have you checked your tags? That every tag <XML TAG> is also closed </XML TAG>?

    Kari
      My Computer


  8. Posts : 8
    Windows 7 Professional 32-bit
    Thread Starter
       #8

    Shouldn't there be a Windows version after the used clg or wim file name? Like "catalog:d:/sources/install_windows 7 homepremium.clg#Windows 7 HOMEPREMIUM"? Other than that, syntax of that line is correct, of course replacing that embarrasment-smiley with ":" followed by "o"

    Have you checked your tags? That every tag <XML TAG> is also closed </XML TAG>?
    Hi, I've tried with the strings: cpi:source="catalog:d:/sources/install_windows 7 homepremium.clg#Windows 7 HOMEPREMIUM" and cpi:source="catalog:d:/sources/install_windows 7 homepremium.clg#Windows 7 Home Premium" but neither does work.
    I noticed that my <Xml> tag isn't "ended" properly at the end of my autounattend-file. I've tried with adding a </xml> at the end but that gives me an error like, "something went wrong when reading the autounattend.xml file.....".
    My <xml> line at the top looks like this: "<?xml version="1.0" encoding="utf-8"?>".
    How do I "end" that correctly?

    Thanks!
    //Henrik
      My Computer


  9. Posts : 6,243
    win 7 ultimate32bit, Win8.1pro wmc 32bit
       #9

    HITData said:
    Shouldn't there be a Windows version after the used clg or wim file name? Like "catalog:d:/sources/install_windows 7 homepremium.clg#Windows 7 HOMEPREMIUM"? Other than that, syntax of that line is correct, of course replacing that embarrasment-smiley with ":" followed by "o"

    Have you checked your tags? That every tag <XML TAG> is also closed </XML TAG>?
    Hi, I've tried with the strings: cpi:source="catalog:d:/sources/install_windows 7 homepremium.clg#Windows 7 HOMEPREMIUM" and cpi:source="catalog:d:/sources/install_windows 7 homepremium.clg#Windows 7 Home Premium" but neither does work.
    I noticed that my <Xml> tag isn't "ended" properly at the end of my autounattend-file. I've tried with adding a </xml> at the end but that gives me an error like, "something went wrong when reading the autounattend.xml file.....".
    My <xml> line at the top looks like this: "<?xml version="1.0" encoding="utf-8"?>".
    How do I "end" that correctly?

    Thanks!
    //Henrik
    HITData, the first line ends correctly ,your second line should look like this
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
      My Computer


  10. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #10

    Could you post the whole xml, with tags, only replacing sensitive information wit xxx's?
      My Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:19.
Find Us