Windows 10: Create media for automated unattended install of Windows 10

Discus and support Create media for automated unattended install of Windows 10 in Windows 10 Tutorials to solve the problem; As have many other readers and enthusiasts who have used this tutorial. OK, got it now *Smile Discussion in 'Windows 10 Tutorials' started by johngalt, Oct 29, 2017.

  1. Kari Win User

    Create media for automated unattended install of Windows 10


    OK, got it now *Smile
     
  2. falconer Win User

    Okay, so I've used the MBR partitioning scheme on the computers that wouldn't take the UEFI partitioning scheme. It works, however, when I go to turn on BitLocker, I get a message saying "You will no longer be able to use Windows Recovery Environment unless it is manually enabled and moved to the system drive."

    Also, when I install Windows on this computer without the unattend file, it creates a UEFI partioning scheme... and I don't get this message when enabling BitLocker.

    Edit** Nevermind on this point, it appears some of our T550s use UEFI and some use BIOS... but in any case, when I leave the partitioning out of the unattend file, and manually select disk during install, BitLocker works fine. This seems to only happen with the MBR BIOS partitioning scheme.
     
    falconer, Nov 19, 2017
    #32
  3. Hi Kari. Thank you so much for the great articles over the years.

    I've really enjoyed this article and another article you wrote "Customize Windows 10 Image in Audit Mode with Sysprep"

    I have a few questions:

    On Step 7 of this article, how much customization can we do here? Is it ok to apply windows updates? Install applications? Tweak settings? IE Favorites? Can we do all the things that were possible like in the previous "Customize Windows 10 Image in Audit Mode with Sysprep" article?

    Also, How much of this could I apply to Windows Server 2016? I haven't tried yet, but I'm guessing a lot of this might translate to Server as well since they share the same Windows ADK and SIM applications (I think). My goals are for creating testing environments with Windows 10 and Server 2016, not necessarily to roll into a production environment.

    Thanks in advance to Kari or anybody who could help answer these questions.


    Customize Windows 10 Image in Audit Mode with SysprepCustomize Windows 10 Image in Audit Mode with SysprepCustomize Windows 10 Image in Audit Mode with Sysprep
     
    UrbanLegend619, Jan 22, 2018
    #33
  4. eightbit Win User

    Create media for automated unattended install of Windows 10

    I have a question about the hard drive section of this set up. This media I've created using your guides works on any system with two HDD's but I want it to work on some of my systems with only 1 HDD. When I use the media on single drive systems it will error out in the <disk configuration> portion of the autounattend.

    Any ideas on how to use the same image on both?
     
    eightbit, Mar 26, 2018
    #34
  5. Kari Win User
    Please post your autounattend.xml file here, use the code tags when posting as in following example:

    Code:
    Your autounattend.xml file content here
     
  6. eightbit Win User
    Code: <?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SetupUILanguage> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>0409:00000409</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>en-US</UserLocale> </component> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DiskConfiguration> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Size>450</Size> <Type>Primary</Type> </CreatePartition> <CreatePartition wcm:action="add"> <Order>2</Order> <Size>100</Size> <Type>EFI</Type> </CreatePartition> <CreatePartition wcm:action="add"> <Order>3</Order> <Size>16</Size> <Type>MSR</Type> </CreatePartition> <CreatePartition wcm:action="add"> <Order>4</Order> <Type>Primary</Type> <Extend>false</Extend> <Size>65000</Size> </CreatePartition> <CreatePartition wcm:action="add"> <Order>5</Order> <Extend>true</Extend> <Type>Primary</Type> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Format>NTFS</Format> <Label>WinRE</Label> <Order>1</Order> <PartitionID>1</PartitionID> <TypeID>REMOVED</TypeID> </ModifyPartition> <ModifyPartition wcm:action="add"> <Format>FAT32</Format> <Label>System</Label> <Order>2</Order> <PartitionID>2</PartitionID> </ModifyPartition> <ModifyPartition wcm:action="add"> <Order>3</Order> <PartitionID>3</PartitionID> </ModifyPartition> <ModifyPartition wcm:action="add"> <Format>NTFS</Format> <Label>Windows</Label> <Letter>C</Letter> <Order>4</Order> <PartitionID>4</PartitionID> </ModifyPartition> <ModifyPartition wcm:action="add"> <Format>NTFS</Format> <Label>Warehouse</Label> <Letter>D</Letter> <Order>5</Order> <PartitionID>5</PartitionID> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> <Disk wcm:action="add"> <DiskID>1</DiskID> <WillWipeDisk>true</WillWipeDisk> <CreatePartitions> <CreatePartition wcm:action="add"> <Extend>true</Extend> <Order>1</Order> <Type>Primary</Type> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Format>NTFS</Format> <Label>Database</Label> <Letter>E</Letter> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> </ModifyPartitions> </Disk> </DiskConfiguration> <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>4</PartitionID> </InstallTo> </OSImage> </ImageInstall> <UserData> <ProductKey> <Key>REMOVED</Key> </ProductKey> <AcceptEula>true</AcceptEula> </UserData> </component> </settings> <cpiCreate media for automated unattended install of Windows 10 :eek:fflineImage cpi:source="catalog:c:/iso_files/sources/install_windows 10 pro.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>[/quote] You can see that I've got it pointing to a disk1 which is what I want but I also want it to ignore disk1 if there isn't one installed. I'm open to suggestions.
     
    eightbit, Mar 26, 2018
    #36
  7. Kari Win User
    You can see that I've got it pointing to a disk1 which is what I want but I also want it to ignore disk1 if there isn't one installed. I'm open to suggestions.[/quote] I am sorry but I cannot read your answer file. Please simply open it in Notepad, select everything, copy, and finally paste it here in CODE tags.

    That keeps the formatting and makes it easier to read.
     
  8. eightbit Win User

    Create media for automated unattended install of Windows 10

    I used notepad++ thinking it'd come over in a sane way. Sorry about that!

    I edited the post.
     
    eightbit, Mar 26, 2018
    #38
  9. Kari Win User
    Thanks. Give me some time to read it, I will reply when gone it through.
     
  10. Kari Win User
    I cannot find any obvious syntax errors in your file. I will do a test install using your answer file, will reply when done. Notice it will take half an hour or more.
     
  11. Kari Win User
    Call me an idiot if you'd want to, I cannot understand how I could not see this obvious reason in the first place.

    Your answer file is told to create UEFI system partitions, Windows partition and an additional data partition called Warehouse on Disk 0, primary hard disk.

    In addition, the answer file is told to create a partition called Database on Disk 1, secondary HDD, using its full capacity.

    Naturally, if the machine where you use this answer file only has one HDD, installation will fail. Answer file is trying to create partitions on two separate disks when only one disk exists. Impossible.
     
  12. eightbit Win User
    So there is no way to tell my answer file to ignore drive1 if drive1 does not exist?

    I did some heavy internet digging and saw an error.cmd or something like that where you can script a response should a critical failure of the install happens. Is it possible for me to script a swap of answer files to one that only deals with drive0?
     
    eightbit, Mar 26, 2018
    #42
  13. RBCC Win User

    Create media for automated unattended install of Windows 10

    What is compliance check,diagnostics,pagefile,runasyncronous,runsynchronous,upgradedata and
     
  14. RBCC Win User
    What are compliance check,diagnostics,pagefile,runasyncronous,runsycronous,upgradedata in the windowsPE section? What kinds of things would I fill that in with? Also how do I package the drivers so setup can use them?
     
  15. hello123 Win User
    The answer file only does what you have told it to do. Change the InputLocal value both in autounattend.xml and unattend.xml files. For English, the values are as follows:
    • UK English > 0809:00000809, en-GB
    • US English > 0409:00000409, en-US

    Kari[/quote] Thank you, this worked! *Smile
     
    hello123, Apr 4, 2018
    #45
Thema:

Create media for automated unattended install of Windows 10

Loading...
  1. Create media for automated unattended install of Windows 10 - Similar Threads - Create media automated

  2. Windows 10 V1809 Unattended Installation

    in Windows 10 Installation and Upgrade
    Windows 10 V1809 Unattended Installation: We are using the following xml file for windows 10 unattended installation. But unable to Pass Keyboard layout selection , Privacy settings, Lets connect (network setup) settings. Could you please help us out. <?xml version="1.0" encoding="UTF-8"?> -<unattend...
  3. Trying to create windows 10 installation media

    in Windows 10 Installation and Upgrade
    Trying to create windows 10 installation media: On my work laptop I have the issue "Location not available" after a automatic upgrade and following the instructions to fix this problem I have been trying to create a Windows 10 installation media disk on a second laptop (a Lenovo ideapad 110) but get the error "Unable to...
  4. Multiboot USB with automated installer(s)

    in Windows 10 Customization
    Multiboot USB with automated installer(s): Hi, I'm an IT student and I want to create a Multiboot USB drive with everything one may need when diagnosing and installing windows. So, I went ahead and downloaded the ISO-s, and merged them all into one big ISO file. BUT, I want for the installer to automatically...
  5. Automated Shortcut Creating

    in Windows 10 Support
    Automated Shortcut Creating: Howdy, Right click on Desktop > Personalize > Themes > Desktop Icon Settings > Add This PC... This will make a "This PC" shortcut on desktop, which if you right click on, and choose Properties, will open up "System Details Window" rather than just showing a simple...
  6. Can't create Windows 10 Installation Media. Any ideas?

    in Windows 10 Installation and Upgrade
    Can't create Windows 10 Installation Media. Any ideas?: I'm in the process of building a new computer for my wife. I've purchased a new Windows 10 Home license and planned to use Microsoft's installation media creation tool to create an install flash drive. It seems like a no-brainer but the tool won't recognize any of my flash...
  7. Unattend install Windows 10 Pro different USB driveletter

    in Windows 10 Installation and Upgrade
    Unattend install Windows 10 Pro different USB driveletter: Hello everybody, we have a strange issue here. We're building a USB Drive to Install Windows 10 Pro with an autounattend.xml Everything works fine, but the driveletter of the USB Drive is sometimes D: and sometimes E: We're testing on a Dell Optiplex 990. We're not able to...
  8. Automated Win10 Installation?

    in Windows 10 Installation and Upgrade
    Automated Win10 Installation?: I would like to get a bit automated when it comes to clean installing Win10. All I really need, is to ONLY automate the wiping of ALL partitions so it would just only show the Unallocated disk space like the one in my image. Thats all I need. Can anyone provide me with a...
  9. Problems with unattended Windows 10 installation.

    in Windows 10 Installation and Upgrade
    Problems with unattended Windows 10 installation.: I have problem to install Windows 10 with an unattended xml file. Following error message appear "No images are available." Below the text is the content of my unattended xml file. I have also attached an picture about error message. Can someone help me with this problem?...
  10. Issue with "CopyProfile" option in Unattended Install

    in Windows 10 Support
    Issue with "CopyProfile" option in Unattended Install: 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 file (generalized mode) and...