Create media for automated unattended install of Windows 10  

Page 22 of 99 FirstFirst ... 1220212223243272 ... LastLast

  1. Posts : 3
    Windows 10 1903
       #210

    Kari said:
    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.
    Kari
    Thank you for checking. It was created with this guide but i removed the disk steps, i want to make them manually. It looks like the guide here too.
    Windows 10 Unattended install media – Part 2: Answer file for Windows Setup – Win10.Guru

    hsehestedt said:
    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.
    I have made adjustments to unattend.xml But that file was working.
    unattend1903-2.pdf

    Kari said:
    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
    It´s okay. It is the autounattend issue i really need help with. But also good to know any other issues.

    Regarding this in 3.4 "and end with build number of the install.wim file used to create the catalog"
    Does it matter if my catalog file is created with 18363.1 but the wim i have created is 18363.145?

    Step 3.10 - 3.18 (disk) Is not needed for me. I want to make that manual.

    - - - Updated - - -

    This is the things i want to pass.
    Create media for automated unattended install of Windows 10-auto.png
    autounattend-2.pdf
    Last edited by paracord; 17 Jun 2019 at 06:31.
      My Computer


  2. Posts : 14
    Windows 10 Ent.
       #211

    Hi Kari,

    on the step: 4.8) Expand UserAccounts, right click LocalAccounts, select Insert New LocalAccount:

    How I can setup password never expire. because if I follow those step the user is created but the password expire.

    Kari said:
    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 Computer


  3. Posts : 129
    Windows 10 Pro
       #212

    dism /capture-image /imagefile:H:\custom\Pro /capturedir:L: /name:"Windows 10 Pro" /compress:maximum /checkintegrity /verify /bootable

    Attachment 238214 <--log file

    What is wrong with what Ive done??
    Thanks Kari
      My Computer


  4. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #213

    @Kari,

    Tried to install from the ISO I made via oscdimg on a Oracle VM after getting everything built via WSIM and sysprep. There was no OS to select. I didn't think that choice should have even been presented.

    Create media for automated unattended install of Windows 10-instsysprepiso-nooschoice.jpg

    Attaching the xml files. I don't see anything wrong:

    autounattend.txt
    unattend.txt

    The ISO looks okay, unless Description : <undefined> is the problem.

    Code:
    >dism /Get-WimInfo /WimFile:K:\sources\install.wim
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1
    
    Details for image : K:\sources\install.wim
    
    Index : 1
    Name : 'W10'
    Description : <undefined>
    Size : 20,366,223,138 bytes
    
    The operation completed successfully.
    
    C:\Users\ztruk>dism /Get-WimInfo /WimFile:K:\sources\install.wim /index:1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1
    
    Details for image : K:\sources\install.wim
    
    Index : 1
    Name : 'W10'
    Description : <undefined>
    Size : 20,366,223,138 bytes
    WIM Bootable : No
    Architecture : x64
    Hal : acpiapic
    Version : 10.0.18362
    ServicePack Build : 30
    ServicePack Level : 0
    Edition : Professional
    Installation : Client
    ProductType : WinNT
    ProductSuite : Terminal Server
    System Root : WINDOWS
    Directories : 21220
    Files : 97532
    Created : 08/03/2019 - 12:59:58 AM
    Modified : 08/03/2019 - 12:59:59 AM
    Languages :
            en-US (Default)
    
    The operation completed successfully.
      My Computers


  5. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #214

    Ztruker said:
    The ISO looks okay, unless Description : <undefined> is the problem.
    Yes, the missing description is a problem. Use the following command in elevated Deployment and Imaging Tools Environment (it does not work in normal elevated Command Prompt):

    imagex /info X:\MyCustomImage.wim 1 "Win10 PRO x64" "Windows 10 PRO x64"
    Create media for automated unattended install of Windows 10-image.png

    In the command, X:\MyCustomImage.wim is path and name of your custom WIM file, 1 is the index (in custom captured WIM, it's always 1), "Win10 PRO x64" is the name of that index / edition, and "Windows 10 PRO x64" is the description.

    Funny enough, description is required, whereas name is not.

    When WSIM is installed, it also installs Deployment and Imaging Tools Environment.You'll find it in Start under Windows Kits:
    Create media for automated unattended install of Windows 10-image.png

    Kari
      My Computer


  6. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #215

    That worked:

    Code:
    C:\>imagex /info C:\WSIMInst\sources\install.wim 1 "Win10 Pro X64" "Windows 10 Pro X64"
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    Successfully set image name: [Win10 Pro X64]
    
    Successfully set image description: [Windows 10 Pro X64]
    Code:
    C:\>dism /get-wiminfo /wimfile:C:\WSIMInst\sources\install.wim /index:1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.17763.1
    
    Details for image : C:\WSIMInst\sources\install.wim
    
    Index : 1
    Name : Win10 Pro X64
    Description : Windows 10 Pro X64
    Size : 20,366,223,138 bytes
    WIM Bootable : No
    Architecture : x64
    Hal : acpiapic
    Version : 10.0.18362
    ServicePack Build : 30
    ServicePack Level : 0
    Edition : Professional
    Installation : Client
    ProductType : WinNT
    ProductSuite : Terminal Server
    System Root : WINDOWS
    Directories : 21220
    Files : 97532
    Created : 8/3/2019 - 12:59:58 AM
    Modified : 8/3/2019 - 9:00:40 PM
    Languages :
            en-US (Default)
    
    The operation completed successfully.
    Now I need to run Sysprep again then dism /capture-image.
    Once they are done I can run oscdimg to create a new ISO and try installing again.

    Edit: I guess I don't need to redo Sysprep or dism. Just run oscdimg to create a new ISO and try installing again.
    Last edited by Ztruker; 03 Aug 2019 at 20:50.
      My Computers


  7. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #216

    Got a little further then ran into partitioning problems:

    Create media for automated unattended install of Windows 10-attachment.png

    autounattend.xml looks okay though the DiskConfiguration order is mixed up.

    Code:
                <DiskConfiguration>
                    <Disk wcm:action="add">
                        <CreatePartitions>
                            <CreatePartition wcm:action="add">
                                <Order>2</Order>
                                <Type>Primary</Type>
                            </CreatePartition>
                            <CreatePartition wcm:action="add">
                                <Order>1</Order>
                                <Size>450</Size>
                                <Type>Primary</Type>
                            </CreatePartition>
                        </CreatePartitions>
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="add">
                                <Format>NTFS</Format>
                                <Label>System</Label>
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                                <TypeID></TypeID>
                                <Active>true</Active>
                            </ModifyPartition>
                            <ModifyPartition wcm:action="add">
                                <Format>NTFS</Format>
                                <Label>Win10</Label>
                                <Letter>C</Letter>
                                <Order>2</Order>
                                <PartitionID>2</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                    </Disk>
                </DiskConfiguration>
    I think I need to go through the p[rocess from scratch again and try to be very careful of what I do.
    Last edited by Ztruker; 04 Aug 2019 at 13:38.
      My Computers


  8. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #217

    Two errors in autounattend.xml.

    Code:
    Missing: <extend>true</extend> for Disk 2 (Win10)
    Null <TypeID></TypeID>
    Moving right along now though it is taking a lot longer. The install.wim is a tad over 7GB.
    Create media for automated unattended install of Windows 10-selectos.jpg
    Create media for automated unattended install of Windows 10-whereinstall.jpg
    Create media for automated unattended install of Windows 10-windowssetup.jpg

    Was here for a long time.
    Create media for automated unattended install of Windows 10-windowssetup2.jpg
    Create media for automated unattended install of Windows 10-installfeat.jpg

    Was here for a long time too
    Create media for automated unattended install of Windows 10-gettingready.jpg
    Create media for automated unattended install of Windows 10-privacysettings.jpg
    Create media for automated unattended install of Windows 10-changeuserspassword.jpg

    Got this for a 2nd time
    Create media for automated unattended install of Windows 10-privacysettings2.jpg
    Create media for automated unattended install of Windows 10-welcometowindows.jpg

    Finally got the modified desktop with a theme and programs installed and other tweaks I made
    seem to be there as well. Looks real good.
    Create media for automated unattended install of Windows 10-gooddesktop.jpg

    Install took about an hour, start to finish on a Oracle VB VM, 4GB single processor setup.

    So I now have a working BIOS/MBR ISO/autounattend.xml/unattend.xml for Pro X64. Need one for Home.
    I should be able to use Kari's autounattend.xml for a UEFI/GPT setup. Pro and Home..

    So all told looks like I'll need 4 ISOs.
    Last edited by Ztruker; 04 Aug 2019 at 16:44.
      My Computers


  9. Posts : 27
    Windows 10 Pro v1803
       #218

    Product Key Not working for Windows 10 Pro v1903


    Using this answer file for windows 10 Pro v1903 and im getting that it "cannot read the product key" when it is booted into the windows 10 Pro v1903 setup menu. But i have been using it for windows 10 Pro v1803 and works perfect. Has the default product key changed because of the new version? I trying searching for it but only getting this from microsoft:

    "Windows 10, all supported Semi-Annual Channel versions
    See the Windows lifecycle fact sheet for information about supported versions and end of service dates.

    Operating system edition KMS Client Setup Key
    Windows 10 Pro W269N-WFGWX-YVC9B-4J6C9-T83GX"

    and this is still not working. Any help would be appreciated.
      My Computer


  10. Posts : 4,187
    Windows 11 Pro, 22H2
       #219

    The generic installation key for Windows 10 Pro (NOT an activation key):

    VK7JG-NPHTM-C97JM-9MPGT-3V66T

    Is this the key that you were having difficulties with?
      My Computers


 

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 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 20:59.
Find Us




Windows 10 Forums