Create media for automated unattended install of Windows 10  

Page 21 of 22 FirstFirst ... 1119202122 LastLast
  1. Kari's Avatar
    Posts : 16,147
    Windows 10 Pro
    Thread Starter
       #200

    hsehestedt said: View Post
    However, let's say that I update my Windows ISO image by injecting the latest Windows updates into it. Will that same catalog file still be valid, so long as it is still the same Windows feature release, or is simply adding Windows updates enough of a change that the catalog file needs to be regenerated?
    You can always use the same catalog file. To create answer files for current 19H1 version and Insider builds for 20H1 version which will be released first half of 2020, I am still using a catalog file I have originally made for version 1803 PRO edition, and I am using it also for answer files for Education and Enterprise editions.

    Of course, new Windows versions might deprecate some old settings. Using an old catalog file is therefore not recommended, you should create a new one after the biannual release of new Windows version. I use old catalog knowing the small risk involved, but I really recommend you to create a new one for each new Windows version.

    Catalog file is only required for editing / creating answer files in Windows SIM. It's purpose is to tell Windows SIM which components should be made available.

    Reference to catalog file is the second to last line in answer file:
    Code:
    <cpi:offlineImage cpi:source="catalog://agm-w10pro03/storage/install_windows 10 pro.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

    This line can be deleted as soon as you have saved the answer file in WSIM. It is not reguired by Windows Setup, and if left in answer file, the line will be ignored when you sysprep WIndows, or run Windows Setup from a sysprepped image.

    Kari
      My ComputerSystem Spec

  2.    #201

    Thanks greatly for such a comprehensive answer!
      My ComputerSystem Spec

  3.    #202

    Kari--How do you include a second keyboard setup when you prepare the first answer file.
      My ComputerSystem Spec

  4. Kari's Avatar
    Posts : 16,147
    Windows 10 Pro
    Thread Starter
       #203

    DEEPDKHI2 said: View Post
    Kari--How do you include a second keyboard setup when you prepare the first answer file.
    If you mean the answer file for Windows Setup, autounattend.xml, you don't. It only tells Windows Setup which language will be used during the installation.

    The second answer file, unattend.xml, in that you can also only set one input language (InputLocale). That will be the default keyboard for all user accounts. To add additional languages and keyboard layouts, you will add them normally in Audit Mode, in Settings app, before you sysprep and capture the image. All languages will then be included in your custom image.

    Kari
      My ComputerSystem Spec

  5.    #204

    Hi Kari,

    I am so happy with this post, it works for me so great.

    Now I need to update the current imagen from Windows 10 64bit v1803 to v1903. what is the best steps to do this???. Because I tried to run the v1903 update on my current imagen but that image is on audit mode and it is unable to do any update.

    or I need to create from zero or repeat all those steps with the new Win version?



    Kari said: View Post
    You can always use the same catalog file. To create answer files for current 19H1 version and Insider builds for 20H1 version which will be released first half of 2020, I am still using a catalog file I have originally made for version 1803 PRO edition, and I am using it also for answer files for Education and Enterprise editions.

    Of course, new Windows versions might deprecate some old settings. Using an old catalog file is therefore not recommended, you should create a new one after the biannual release of new Windows version. I use old catalog knowing the small risk involved, but I really recommend you to create a new one for each new Windows version.

    Catalog file is only required for editing / creating answer files in Windows SIM. It's purpose is to tell Windows SIM which components should be made available.

    Reference to catalog file is the second to last line in answer file:
    Code:
    <cpi:offlineImage cpi:source="catalog://agm-w10pro03/storage/install_windows 10 pro.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

    This line can be deleted as soon as you have saved the answer file in WSIM. It is not reguired by Windows Setup, and if left in answer file, the line will be ignored when you sysprep WIndows, or run Windows Setup from a sysprepped image.

    Kari
      My ComputerSystem Spec

  6.    #205

    I have some issues with this. Let me explain the steps.
    I took one media creation tool 1903 iso and extracted the pro version from the esd to a wim. Created a new iso from this.
    This iso is used in SIM to create the catalog file and answer files. ADK 1903 seems to have some issues with the x64 so installed another x86 machine just to run SIM.

    Two answer files is created.

    autounattend.xml and unattend1903.xml

    I use Vmware to create the machine with all installed software I want.

    I run sysprep first with:
    sysprep.exe /generalize /oobe /shutdown /unattend:E:\Prog\unattend1903.xml

    From that, the wim is captured and then converted to iso. This is working to install but it will miss product key, eula. I guess it is as it should.

    Next. I take the same wim and put the autounnattend.xml and put this in the iso files folder before I create the iso. But now it will fail to install with different errors. I have tried to add generic license key and volume key just to pass without result. I have also tried without key.

    I will have to errors. I get a list to choose windows version, where you normally can choose Home, Pro, Pro N but this is empty.

    The other error is that it says "Windows cannot read the <productkey> setting from the unattend answer file."

    So Im pretty stuck without the autounattend.xml file for the moment.

    autounattend.pdf

    unattend1903.pdf

    Name:  Choose OS.PNG
Views: 91
Size:  9.6 KB
      My ComputerSystem Spec

  7. Kari's Avatar
    Posts : 16,147
    Windows 10 Pro
    Thread Starter
       #206

    paracord said: View Post
    ADK 1903 seems to have some issues with the x64.
    I will check your answer files later today when I have more time.

    In the mean time, Windows SIM in ADK 1903 had some issues in generating x64 catalog files, which Microsoft addressed only a few days ago:

    Microsoft Docs said:
    Windows System Image Manager known issue

    When using Window System Image Manager (SIM), you might encounter errors if the ADK is installed on a device running a 64-bit version of Windows. To create unattended Windows Setup answer files on a 64-bit version of Windows, download the WSIM 1903 update, and follow the included installation instructions.
    Quote from https://docs.microsoft.com/en-us/win...er-known-issue


    Kari
      My ComputerSystem Spec


  8. Kari's Avatar
    Posts : 16,147
    Windows 10 Pro
    Thread Starter
       #207

    paracord said: View Post
    So Im pretty stuck without the autounattend.xml file for the moment.
    OK. After checking your files, I do not know what to say, where to begin!

    Your autounattend.xml file is about as wrong as it could be. Please tell if it was created by following instructions on some website, and if yes, please post a link to it. I mean, it is quite clear you have not followed the instructions in this tutorial.

    That answer file cannot work. Too much of required information is missing, and information given has been given wrong.

    Please follow the steps 3.1 through 3.21 in this tutorial to see what is required to make a working autounattend.xml file.

    Kari
      My ComputerSystem Spec

  9.    #208

    The other answer file, the unattend.xml is also way off. It has an entire pass, the Windows PE pass, that should not even be there. Most of those settings, such as the Locale information, should appear in the "oobeSystem" pass.
      My ComputerSystem Spec

  10. Kari's Avatar
    Posts : 16,147
    Windows 10 Pro
    Thread Starter
       #209

    hsehestedt said: View Post
    The other answer file, the unattend.xml is also way off. It has an entire pass, the Windows PE pass, that should not even be there. Most of those settings, such as the Locale information, should appear in the "oobeSystem" pass.
    Well spotted.

    I must admit how lazy I was: I checked first the autounattend.xml, saw how terribly wrong it was, and didn't bother to check the other file before replying.

    Kari
      My ComputerSystem Spec


 
Page 21 of 22 FirstFirst ... 1119202122 LastLast

Tutorial Categories

Create media for automated unattended install of Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
The way Windows operating system is delivered and installed has changed quite a lot from days when Windows 3.0 was delivered on 6 floppy disks. To install, you booted PC from floppy 1, which in its turn asked you to eject it and insert floppy 2 to...
yesterday, 4 august 0400 south african time , my computer must have loaded trusteer rapport , made a system restore point before running it and my system time zone was set to cuiaba, brazil . i tried to go back to a pre trusteer rapport system...
Is an unattended upgrade possible? in Installation and Upgrade
Hi, We've got hundreds of computers running Win 7 Pro that we'd like to upgrade to Windows 10. Is there a way of running the setup with an answer file? Anywhere I can get example answer files from? I don't really care what the settings...
I have been creating generalized images for deployment in an enterprise scenario. In order to do so, I've installed Windows 10, booted into audit mode from the Welcome Screen, then customized Windows. After this, I can run sysprep with an unattend...
I had a run on the preview 10240 by unattended installation. what I wanted to see is if I could create a golden image on one very old PC (HP Elitebook 6930p), sysprep it and afterwards apply that image by autoupdating the drivers to my Dell...
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 10:00.
Find Us