Create media for automated unattended install of Windows 10  

Page 22 of 22 FirstFirst ... 12202122
  1.    #210

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

    Kari said: View Post
    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
    Its 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.
    Click image for larger version. 

Name:	auto.PNG 
Views:	25 
Size:	27.1 KB 
ID:	237519
    autounattend-2.pdf
    Last edited by paracord; 17 Jun 2019 at 06:31.
      My ComputerSystem Spec

  2.    #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: View Post
    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

  3.    #212

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

    dism.log <--log file

    What is wrong with what Ive done??
    Thanks Kari
      My ComputerSystem Spec

  4. Ztruker's Avatar
    Posts : 8,479
    Windows 10 Pro X64 1903 189362.439
       #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.

    Click image for larger version. 

Name:	InstSysprepISO-nooschoice.jpg 
Views:	9 
Size:	55.9 KB 
ID:	242140

    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 ComputersSystem Spec

  5. Kari's Avatar
    Posts : 16,145
    Windows 10 Pro
    Thread Starter
       #214

    Ztruker said: View Post
    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"
    Click image for larger version. 

Name:	image.png 
Views:	14 
Size:	480.3 KB 
ID:	242147

    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:
    Click image for larger version. 

Name:	image.png 
Views:	15 
Size:	769.8 KB 
ID:	242148

    Kari
      My ComputerSystem Spec

  6. Ztruker's Avatar
    Posts : 8,479
    Windows 10 Pro X64 1903 189362.439
       #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; 2 Weeks Ago at 20:50.
      My ComputersSystem Spec

  7. Ztruker's Avatar
    Posts : 8,479
    Windows 10 Pro X64 1903 189362.439
       #216

    Got a little further then ran into partitioning problems:

    Name:  attachment.png
Views: 62
Size:  23.9 KB

    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; 2 Weeks Ago at 13:38.
      My ComputersSystem Spec


  8. Ztruker's Avatar
    Posts : 8,479
    Windows 10 Pro X64 1903 189362.439
       #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.
    Click image for larger version. 

Name:	SelectOS.jpg 
Views:	5 
Size:	50.3 KB 
ID:	242226
    Click image for larger version. 

Name:	WhereInstall.jpg 
Views:	5 
Size:	61.1 KB 
ID:	242227
    Click image for larger version. 

Name:	WindowsSetup.jpg 
Views:	5 
Size:	40.6 KB 
ID:	242228

    Was here for a long time.
    Click image for larger version. 

Name:	WindowsSetup2.jpg 
Views:	5 
Size:	42.0 KB 
ID:	242229
    Click image for larger version. 

Name:	InstallFeat.jpg 
Views:	5 
Size:	47.3 KB 
ID:	242230

    Was here for a long time too
    Click image for larger version. 

Name:	GettingReady.jpg 
Views:	5 
Size:	26.3 KB 
ID:	242231
    Click image for larger version. 

Name:	PrivacySettings.jpg 
Views:	7 
Size:	131.0 KB 
ID:	242235
    Click image for larger version. 

Name:	ChangeUsersPassword.jpg 
Views:	5 
Size:	71.3 KB 
ID:	242236

    Got this for a 2nd time
    Click image for larger version. 

Name:	PrivacySettings2.jpg 
Views:	5 
Size:	133.3 KB 
ID:	242240
    Click image for larger version. 

Name:	WelcomeToWindows.jpg 
Views:	6 
Size:	89.3 KB 
ID:	242241

    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.
    Click image for larger version. 

Name:	GoodDesktop.jpg 
Views:	5 
Size:	147.4 KB 
ID:	242239

    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; 2 Weeks Ago at 16:44.
      My ComputersSystem Spec


 
Page 22 of 22 FirstFirst ... 12202122

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