Unattended setup (Sysprep & unattend.xml) is not working for me

Page 2 of 2 FirstFirst 12

  1. Posts : 17,638
    Windows 10 Pro
       #11

    OK, I am unable to find the reason for your unattended deployment to fail. I cannot replicate it. I went as far as trying to pretend I have no knowledge of answer files, just followed the tutorial step by step, and created a new answer file with same settings and components you used. It worked perfectly.

    Comparing your answer file to mine side by side, I cannot find any obvious differences.

    It's 6:30 AM, I must leave latest at 8 AM and will be away all day, so I can continue in about 10 to 12 hours. Until that, I repeat that the answer file I posted in post #7, with additional information in post #9, worked in my tests both on physical and virtual machines.

    Kari
      My Computer


  2. Posts : 17,638
    Windows 10 Pro
       #12

    and just after I posted the above, I started to think about your thread title:

    Unattended setup (Sysprep & unattend.xml) is not working for me

    Unattend.xml is answer file for OOBE. It does not handle Windows Setup and partitioning, which is done in another answer file called Autounattend.xml.

    It is totally OK to combine both, answer file for Windows Setup and partitioning and answer file for OOBE to a single answer file, but in that case, what I said in post #7 applies:

    Kari said:
    OK, this is the corrected and cleaned answer file. It must be saved as autounattend.xml on root of install media.
    I clarified that in post #9:

    Kari said:
    Remember, save it as autounattend.xml, not unattend.xml on root of install media.
    Conclusion: I believe you have had the answer file saved with wrong name. Could this be the case? Does the new answer file work as expected when you use the correct name?

    Kari
      My Computer


  3. Posts : 6
    Windows10 Pro
    Thread Starter
       #13

    Kari, you're the best! I'm still at work myself (partially due to this problem) and it's just going on 1:00am here. Once I get these systems back up and running I'll try the answer file you sent. It's a race against the Monday morning clock! I wonder what it could be...
      My Computer


  4. Posts : 17,638
    Windows 10 Pro
       #14

    nomaxtech said:
    I'm still at work myself (partially due to this problem) and it's just going on 1:00am here. Once I get these systems back up and running I'll try the answer file you sent. It's a race against the Monday morning clock! I wonder what it could be...
    Read posts #7 and #9, once again!

    Good luck,
    Kari
      My Computer


  5. Posts : 6
    Windows10 Pro
    Thread Starter
       #15

    OK, this is the corrected and cleaned answer file. It must be saved as autounattend.xml on root of install media.
    Kari, you rock! It was such a simple oversight. So many hours of frustration! I'm sorry to put you through that, but thank you so much for your help! I wasn't kidding about getting you a nice bottle of whisky for your troubles. How do we do this?

    Jim
      My Computer


  6. Posts : 17,638
    Windows 10 Pro
       #16

    nomaxtech said:
    I'm sorry to put you through that, but thank you so much for your help!
    Good to know all is well. No need to apologize, I very much liked "the project".

    Kari
      My Computer


  7. Posts : 1
    Windows 10
       #17

    Kari said:
    Good to know all is well. No need to apologize, I very much liked "the project".

    Kari
    Dude you are awesome, first for the in-depth guide. Second for helping this guy till the sun came back up! I ran into the same issue (no errors but mine was named autounattended.xml) Was going crazy triple checking settings and then seen you point out (in bold) about the name and yup!

    I made an account just to give you kudos!
      My Computer


  8. Posts : 1
    Windows 10
       #18

    two files


    Hi Kari
    I followed your steps and I have been using my unattend.xml file with my image without any issue for weeks.
    Then I told to myself, hey why don't I try autounattend.xml as well...and again thanks to you I was able to make my image file, partition and install, no issue.
    Problem starts when two comes together...I put autounattend.xml into root of my install media and I added my unattend.xml directly into Panther folder in the .wim file,
    Windows partitions and installs by itself then it asks me user info...
    If I delete autounattend.xml from install media, and partition manually, unattend.xml kicks in immediately and sets up everything correctly...

    I will try merge both info under autounattend.xml and will try that way, but I still would like to know,
    What do you think am I doing wrong?

    Edit: Yes when I merged them into autounattend.xml it worked with no issue...I guess I will be using this way, since it is also much easier to edit for different images as it sits in the install media openly...
    Last edited by notmeagain; 02 Nov 2021 at 13:55.
      My Computer


 

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

Designer Media Ltd
All times are GMT -5. The time now is 16:27.
Find Us




Windows 10 Forums