Create media for automated unattended install of Windows 10  

Page 38 of 39 FirstFirst ... 2836373839 LastLast
  1. hsehestedt's Avatar
    Posts : 1,007
    Windows 10 Pro, 1909
       #370

    @harisW10, welcome to Ten Forums!

    Could you post a copy of the answer file that you created here? The format where you placed has lots of blank spaces which just make it a little more difficult to parse the way I am doing it.

    Also, is the system that you intend to use it on BIOS based or UEFI based? I just want to be sure that you are creating partitions appropriate for your type of system.

    One more note: You should be able to place images in your post here rather than having to place them on another hosting service.
      My Computers

  2. hsehestedt's Avatar
    Posts : 1,007
    Windows 10 Pro, 1909
       #371

    @harisW10,

    I've looked over your answer file and see several problems right off the bat:

    1) There is no user account information listed. Unattended installation needs to create a user account. You are missing this as well as the related info such as a password.

    2) I see that the license key that you specific is a KMS setup key for Windows 10 Pro. Are sure that is what you want or did you intend to use the Retail setup key (VK7JG-NPHTM-C97JM-9MPGT-3V66T)? You might just want to make sure to double-check your choice. Please see this tutorial for a list of applicable installation keys:

    Generic Product Keys to Install Windows 10 Editions

    3) The messages that you are seeing regarding partitions make me wonder if you have chosen the correct steps in the tutorial. Note that is step 3.14 of Kari's tutorial, Kari differentiates between the configuration of an BIOS based / MBR partition scheme and a UEFI based / GPT partition scheme. Make sure that you are using the version that matches your system type. If you are sure that your choice is correct, post back and we will investigate further.

    4) Please also refer to step 4.7 of the tutorial. The items noted there are also missing.

    At that point I didn't look any further since we already have several things to address. My suggestion would be to simply go through the tutorial one more carefully double checking your work. If you adhere to the steps in the tutorial I GUARANTEE that it will work. Kari has really make this tutorial bulletproof and it's has had a lot of people test it.

    If you still encounter any difficulties, please do let us know and we'll be happy to troubleshoot further with you.
      My Computers

  3. Kari's Avatar
    Posts : 17,120
    Windows 10 Pro
    Thread Starter
       #372

    hsehestedt said:
    I've looked over your answer file and see several problems right off the bat:
    In addition to your findings, the answer file does not set size of Windows partition. The size must be set, or if it's the last partition, you can use the <Extend>true</Extend> setting.

    One of the following two options must be used:

    Use all remaining free space for C: partition:

    Code:
    <CreatePartition wcm:action="add">
     <Extend>true</Extend>
     <Order>4</Order>
     <Type>Primary</Type>
    </CreatePartition>

    --OR--

    Set a fixed size for C: partition:

    Code:
    <CreatePartition wcm:action="add">
     <Size>Size of Windows partition in MB</Size>
     <Order>4</Order>
     <Type>Primary</Type>
    </CreatePartition>

    Kari
      My Computer


  4. Posts : 3
    Windows 10 Enterprise
       #373

    @Kari
    i want to apply OEM theme from Multi-OEM/Retail Project {MRP} - Mk3 project but want to use my own unattend.xml
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-International-Core" 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">
                <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-Shell-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">
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <ProtectYourPC>1</ProtectYourPC>
                    <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
                </OOBE>
                <UserAccounts>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Password>
                                <Value>MQAwAC0AMQA3ADkANQAxAC0AMwBQAGEAcwBzAHcAbwByAGQA</Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <Description>main Local admin</Description>
                            <DisplayName>Faradis drubo</DisplayName>
                            <Group>Administrators</Group>
                            <Name>faradis</Name>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
                <RegisteredOrganization>Faradis-ROG</RegisteredOrganization>
                <RegisteredOwner>Faradisdrubo</RegisteredOwner>
                <TimeZone>Central Asia Standard Time</TimeZone>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-Shell-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">
                <OEMInformation>
                    <Manufacturer>AsusTeK</Manufacturer>
                    <Model>ROF Maximus VIII Formula</Model>
                    <SupportAppURL>https://www.asus.com/support/Product/ContactUs/Services/questionform/?lang=en-bd</SupportAppURL>
                    <SupportHours>09.00  to 18.00</SupportHours>
                    <SupportPhone>096 123 77 123</SupportPhone>
                    <SupportProvider>Email / CHAT service</SupportProvider>
                    <SupportURL>https://www.asus.com/bd/</SupportURL>
                    <Logo>C:\Windows\System32\ASUS_BADGE.bmp</Logo>
                </OEMInformation>
                <CopyProfile>true</CopyProfile>
                <OEMName>Asus ROG Maximus VIII Formula</OEMName>
                <RegisteredOrganization>Faradis-ROG</RegisteredOrganization>
                <RegisteredOwner>Faradisdrubo</RegisteredOwner>
                <TimeZone>Central Asia Standard Time</TimeZone>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:d:/auto/esd-iso/x64/sources/install.wim#Windows 10 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    can you pls help me
    here is the project from above
    i want to use the ASUS OEM icon logo login screen wallpaper etc in audit mode and create a image with sysprep so that i can use it whenever i want to insatll the windows again and i want to deploy the same image to my other machines that i own (as they are all asus system)
    dont mind my english its bad as it is not my first language
      My Computer


  5. Posts : 7
    Windows 10x64
       #374

    hsehestedt said:
    @harisW10,

    I've looked over your answer file and see several problems right off the bat:

    1) There is no user account information listed. Unattended installation needs to create a user account. You are missing this as well as the related info such as a password.

    2) I see that the license key that you specific is a KMS setup key for Windows 10 Pro. Are sure that is what you want or did you intend to use the Retail setup key (VK7JG-NPHTM-C97JM-9MPGT-3V66T)? You might just want to make sure to double-check your choice. Please see this tutorial for a list of applicable installation keys:

    Generic Product Keys to Install Windows 10 Editions

    3) The messages that you are seeing regarding partitions make me wonder if you have chosen the correct steps in the tutorial. Note that is step 3.14 of Kari's tutorial, Kari differentiates between the configuration of an BIOS based / MBR partition scheme and a UEFI based / GPT partition scheme. Make sure that you are using the version that matches your system type. If you are sure that your choice is correct, post back and we will investigate further.

    4) Please also refer to step 4.7 of the tutorial. The items noted there are also missing.

    At that point I didn't look any further since we already have several things to address. My suggestion would be to simply go through the tutorial one more carefully double checking your work. If you adhere to the steps in the tutorial I GUARANTEE that it will work. Kari has really make this tutorial bulletproof and it's has had a lot of people test it.

    If you still encounter any difficulties, please do let us know and we'll be happy to troubleshoot further with you.
    Sorry for such a delay response @hsehestedt. Wanna update you that I successfully managed to create answer file.
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    
    -<unattend xmlns="urn:schemas-microsoft-com:unattend">
    
    
    -<settings pass="windowsPE">
    
    
    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-International-Core-WinPE">
    
    
    -<SetupUILanguage>
    
    <UILanguage>en-GB</UILanguage>
    
    </SetupUILanguage>
    
    <InputLocale>4009:00004009</InputLocale>
    
    <SystemLocale>en-GB</SystemLocale>
    
    <UILanguage>en-GB</UILanguage>
    
    <UserLocale>en-GB</UserLocale>
    
    <UILanguageFallback>en-US</UILanguageFallback>
    
    </component>
    
    
    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Setup">
    
    
    -<DiskConfiguration>
    
    
    -<Disk wcm:action="add">
    
    
    -<CreatePartitions>
    
    
    -<CreatePartition wcm:action="add">
    
    <Extend>true</Extend>
    
    <Order>5</Order>
    
    <Type>Primary</Type>
    
    </CreatePartition>
    
    
    -<CreatePartition wcm:action="add">
    
    <Order>4</Order>
    
    <Type>Primary</Type>
    
    <Size>134103</Size>
    
    </CreatePartition>
    
    
    -<CreatePartition wcm:action="add">
    
    <Order>3</Order>
    
    <Size>16</Size>
    
    <Type>MSR</Type>
    
    </CreatePartition>
    
    
    -<CreatePartition wcm:action="add">
    
    <Order>2</Order>
    
    <Size>100</Size>
    
    <Type>EFI</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>
    
    <Letter>D</Letter>
    
    <Order>5</Order>
    
    <PartitionID>5</PartitionID>
    
    </ModifyPartition>
    
    
    -<ModifyPartition wcm:action="add">
    
    <Format>NTFS</Format>
    
    <Letter>C</Letter>
    
    <Order>4</Order>
    
    <PartitionID>4</PartitionID>
    
    </ModifyPartition>
    
    
    -<ModifyPartition wcm:action="add">
    
    <Order>3</Order>
    
    <PartitionID>3</PartitionID>
    
    </ModifyPartition>
    
    
    -<ModifyPartition wcm:action="add">
    
    <Format>FAT32</Format>
    
    <Order>2</Order>
    
    <PartitionID>2</PartitionID>
    
    </ModifyPartition>
    
    
    -<ModifyPartition wcm:action="add">
    
    <Format>NTFS</Format>
    
    <Order>1</Order>
    
    <PartitionID>1</PartitionID>
    
    <TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
    
    </ModifyPartition>
    
    </ModifyPartitions>
    
    <DiskID>0</DiskID>
    
    <WillWipeDisk>true</WillWipeDisk>
    
    </Disk>
    
    </DiskConfiguration>
    
    
    -<ImageInstall>
    
    
    -<OSImage>
    
    
    -<InstallTo>
    
    <DiskID>0</DiskID>
    
    <PartitionID>4</PartitionID>
    
    </InstallTo>
    
    </OSImage>
    
    </ImageInstall>
    
    
    -<UserData>
    
    
    -<ProductKey>
    
    <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
    
    </ProductKey>
    
    <AcceptEula>true</AcceptEula>
    
    <Organization>dell</Organization>
    
    </UserData>
    
    </component>
    
    </settings>
    
    <cpi:offlineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:c:/win10/sources/install.wim#Windows 10 Pro"/>
    
    </unattend>
    But one thing I let you know is that oemlogo is missing from Control Panel > System & Security > System
    Create media for automated unattended install of Windows 10-capture.png

    Here is the unattend script:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-International-Core" 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">
                <InputLocale>4009:00004009</InputLocale>
                <SystemLocale>en-GB</SystemLocale>
                <UILanguage>en-GB</UILanguage>
                <UserLocale>en-GB</UserLocale>
                <UILanguageFallback>en-US</UILanguageFallback>
            </component>
            <component name="Microsoft-Windows-Shell-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">
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <ProtectYourPC>1</ProtectYourPC>
                    <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
                </OOBE>
                <UserAccounts>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Group>Administrators</Group>
                            <Name>admin</Name>
                            <DisplayName>admin</DisplayName>
                            <Description>Main local admin account</Description>
                        </LocalAccount>
                        <LocalAccount wcm:action="add">
                            <Description>Daily standard account</Description>
                            <DisplayName>haris</DisplayName>
                            <Group>Users</Group>
                            <Name>haris</Name>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
                <RegisteredOrganization>dell</RegisteredOrganization>
                <RegisteredOwner>haris</RegisteredOwner>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-Shell-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">
                <OEMInformation>
                    <Logo>C:\Windows\System32\oemlogo.bmp</Logo>
                    <Manufacturer>dell</Manufacturer>
                    <SupportHours>Monday to Friday 9 a.m. - 6 p.m.</SupportHours>
                    <SupportPhone>1800-425-8045</SupportPhone>
                    <SupportURL>https://www.dell.com/support/home/in/en/inbsd1/</SupportURL>
                </OEMInformation>
                <CopyProfile>true</CopyProfile>
                <RegisteredOrganization>dell</RegisteredOrganization>
                <OEMName>dell</OEMName>
                <RegisteredOwner>haris</RegisteredOwner>
                <TimeZone>India Standard Time</TimeZone>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="catalog:c:/users/haris/desktop/install_windows 10 pro.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    Regards
      My Computer

  6. hsehestedt's Avatar
    Posts : 1,007
    Windows 10 Pro, 1909
       #375

    Did you make certain to save the oemlogo.bmp file as a 120 x 120 BMP file? Also, you did manually copy it to C:\Windows\System32, correct?
      My Computers


  7. Posts : 7
    Windows 10x64
       #376

    hsehestedt said:
    Did you make certain to save the oemlogo.bmp file as a 120 x 120 BMP file? Also, you did manually copy it to C:\Windows\System32, correct?
    Yes I did it.
    Downloaded dell oem logo in png format from here:
    Dell Logo - Dell Oem Logo Bmp - Free Transparent PNG Clipart Images Download
    & change its dimensions into 120*120 plus .bmp format from here:
    Online Image Resizer - Crop, Resize & Compress Images, Photos and Pictures for FREE

    Move it to the C:\Windows\System32 manually after saving it but still no success. Tried two times already. Don't know what's the issue here.

    Regards.
      My Computer


  8. hsehestedt's Avatar
    Posts : 1,007
    Windows 10 Pro, 1909
       #377

    I'm going to take a closer look at your answer file in a little while, but in the meantime, could you unzip and try the BMP file I'm attaching here? I know for a fact that this file works and I just simply want to eliminate the possibility that it might be something with the file itself.
      My Computers


  9. Posts : 7
    Windows 10x64
       #378

    hsehestedt said:
    I'm going to take a closer look at your answer file in a little while, but in the meantime, could you unzip and try the BMP file I'm attaching here? I know for a fact that this file works and I just simply want to eliminate the possibility that it might be something with the file itself.
    Where is the attachment zip file @hsehestedt, I can't locate it.

    Regards.
      My Computer

  10. hsehestedt's Avatar
    Posts : 1,007
    Windows 10 Pro, 1909
       #379

    That's weird. When I try to edit my post, and I select "manage attachments", it's there, but it's not showing up in the message. Let me see if I can fix it.
      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 Threads
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 21:02.
Find Us




Windows 10 Forums