How to generate autounattend.xml file easily

Discussion in 'Windows 10' started by mehdibleu, Aug 14, 2017.

  1. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,008
    251
    60
    #1 mehdibleu, Aug 14, 2017
    Last edited: Aug 16, 2017
  2. WardocsRevenge

    WardocsRevenge MDL Expert

    Jan 13, 2012
    1,848
    645
    60
    could this be used to make a windows 10 pro advanced workstation iso
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. digital john

    digital john MDL Senior Member

    Mar 30, 2008
    265
    69
    10
  4. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,008
    251
    60
    Have you read the content of this post ? it talks about generating an answer file that you can use with any windows version to make an automatic installation so it should work with any win10 version.
     
  5. whatever127

    whatever127 MDL PHP Wizard

    Nov 9, 2012
    1,050
    7,357
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. whatever127

    whatever127 MDL PHP Wizard

    Nov 9, 2012
    1,050
    7,357
    60
    I prefer to use tool that is official and will not steal Windows keys from me.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,008
    251
    60
    you do whatever you want my friend, there is no way anything can be stolen, that makes no sense, all this website does is to generate an answer file with all setup options that you choose to skip or to keep. If you don't want to include the product key into your answer file, you can do it and you can check the content of the answer file generated and compare to the one generated by Microsoft and you will see that the same options are present in the answer file.
     
  8. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,818
    19,025
    340
  9. hb860

    hb860 MDL Expert

    May 7, 2010
    1,012
    1,860
    60
    That web site is really great. I have used it several times in past without issues. I personally recommend it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,008
    251
    60
  11. cocachris89

    cocachris89 MDL Senior Member

    Mar 1, 2013
    491
    151
    10
    @mehdibleu Thanks for your support. I'm just an individual and not related to Britec09, although I have also thanked him for spreading the word about my website. The more the merrier as they say.

    Most tags can be removed if there are settings the user wishes to have control over the installation.
     
  12. coromonadalix

    coromonadalix MDL Senior Member

    Jul 21, 2009
    440
    87
    10
    Srange but on a Entreprise x64 version, always had some unattend errors who could not let me thru a complete setup .... tried many times, and gave up
    partition errors, x86 sections errors, and a few i do not remember

    Had to resort to the official microsoft solution, hefty +/- 1 gig download windows sim ... pffffffffff

    Not to be rude but the website is incomplete, there's many more options to add, even a continue "gui" if errors found etc ... sometime the x86 and the x64 options should be separated while creating it IE: an x86 version or an x64 version only, not combined, had a hard time to pinpoint errors, with the Msoft Sim it was easier to do with an youtube tutorial found.
     
  13. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,008
    251
    60
    #15 mehdibleu, Aug 21, 2017
    Last edited: Aug 21, 2017
    (OP)
    As i said , this website was created with the intention that users who don't have enough knowledge in programming can easily generate the answer file and use it for silent installation.
    So yes, the answer file generator that is included in the website does not contain all the options but it allows to a normal user to familiarize himself to all the options that are included in the answer file and once he know a little bit about all this, he can then add more desired options and get to the heart of the matter.

    Back to the point you mentionned about the error concerning enterprise x64 , which exact windows version do you receive errors with the answer file during the installation ?
    does it concern all windows enterprise versions ?
    Have you tested the answer file from the website with other windows version rather than enterprise x64 ? if yes, did it work ?
    that's strange becaus if it works with the other windows versions, it should work with enterprise x64 as well.
    What is the exact error message that you receive during the installation with the answer file ?
    i haven't tested the answer file yet using enterprise x64 but i can tell you that it works with win10 enterprise LTSB 2016 x86.
    you have to inform @cocachris89 about this so that he can offer you a solution about this.

    Edit : i've just tested the answer file on VM with win8.1 enterprise x64 and it worked well, the silent installation finished successfully without any error and without the need of intervening during the whole process.
    So your problem is probably due to the type of partition that you use, you probably use the answer file into EFI system that uses GPT disk and as i said in my last post, the answer file that is generated through the website concerns only MBR disk so if you use GPT disk, you should add the TypeID option for GPT disk as i mentionned in my last post as well => https://forums.mydigitallife.net/th...ounattend-xml-file-easily.74916/#post-1365534

    Just to be clear, if you use EFI system, edit the answer file by removing the TypeID option for MBR disk (0x27) and by adding the TypeID for GPT disk then you save the file, this should normally fix the problem.
     
  14. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,008
    251
    60
    #16 mehdibleu, Aug 21, 2017
    Last edited: Aug 21, 2017
    (OP)
    @cocachris89 : i just want to tell you as i've just noticed it that the partition setttings concern only MBR disk (<TypeID>0x27</TypeID>)

    you should add the TypeID option for GPT disk as a lot of people use EFI system these days so i suppose they will receive error message if they use the current answer file that is generated through the website as i said it concerns only MBR disk.
    If i'm correct, here's the option to add for GPT disk => <TypeID>de94bba4-06d1-4d40-a16a-bfd50179d6ac</TypeID>

    i believe this is what happened to member @coromonadalix , i think the problem he faced is partition setting problem, he probably used the answer file into a machine that uses EFI system and he logically gor errors as he mentionned in his post.

    if you can confirm this then add it to the website, that would be great and useful for everyone.
     
  15. cocachris89

    cocachris89 MDL Senior Member

    Mar 1, 2013
    491
    151
    10
    Yeah, I've been trying to figure out a way to have both MBR and GPT answer files for a while now. Going on 3 months+. The problem I'm having is one javascript I use is for MBR and I can't figure out a way to have another javascript for GPT and have the page automatically switch to the correct one selected.

    Plus, as usual, life events gets in the way.
     
  16. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,008
    251
    60
    okay, hope you will find the solution to this javascript problem you mentionned, meanwhile people can have the answer file for GPT simply by removing the typeID option from MBR answer disk (<TypeID>0x27</TypeID>) and replacing by <TypeID>de94bba4-06d1-4d40-a16a-bfd50179d6ac</TypeID>
     
  17. whocares0270

    whocares0270 MDL Novice

    Apr 4, 2015
    1
    0
    0
    Great tool! fyi, Windows 10 Enterprise 1703 build 15063.413 bypasses part of the machine OOBE and all of the user OOBE even if both are set to false. Thoughts?
     
  18. mehdibleu

    mehdibleu MDL Expert

    Jun 14, 2017
    1,008
    251
    60
    That's strange, windows shouldn't bypasses the options if they are set to false.
    i suppose that removing part of the machine OOBE and all of the user OOBE from the file will resolve the problem by showing both of these options during the installation but it is not practical, settting both these options to false should have fix this problem.
    @cocachris89 : how do you explain this ?