How do i create an unattended file to skip only product key page


  1. Posts : 56
    Windows 10 Pro 1903
       #1

    How do i create an unattended file to skip only product key page


    As the title says i want to create an unattended file only just to skip the product key page that appears just before installation of windows begins...

    How do i create an unattended file to skip only product key page-windows-10-product-key.jpg

    i want the OOBE after installation to appear and let the user decide the settings and Username etc...

    How do i create an unattended file to skip only this part ?? I want to add this to my custom ISO i am creating..
      My Computer


  2. Posts : 17,661
    Windows 10 Pro
       #2

    This is extremely easy.

    Open Notepad, copy and paste the below code to a new text file:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="windowsPE">
            <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">
                <UserData>
                    <AcceptEula>true</AcceptEula>
                    <Organization>Ten Forums</Organization>
                    <ProductKey>
                        <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
                    </ProductKey>
                </UserData>
            </component>
        </settings>
    </unattend>

    In <ProductKey> tags, use a generic Windows product key matching the edition you are installing. Generic product keys:
    • Windows 10 Home Single Language: 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
    • Windows 10 Home: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
    • Windows 10 Pro: VK7JG-NPHTM-C97JM-9MPGT-3V66T
    Education, Enterprise and Server editions, see following Microsoft support article for generic install keys: Appendix A: KMS Client Setup Keys

    Save the file on root of your Windows 10 install media as autounattend.xml:

    How do i create an unattended file to skip only product key page-image.png

    Boot a PC with your install media, Windows Setup will now bypass edition selection, product key and EULA.

    That's it.

    Kari
      My Computer


  3. Posts : 4,173
    Windows 11 Pro, 22H2
       #3

    As alternative, you can also accomplish the same thing with no unattended setup involvement. It amounts to about the same thing because you still need to create a file, but I just thought I would present it as an alternative. You need to create a file called ei.cfg and place it in the \Sources folder on your install media.

    The file should contain the following lines:

    Code:
    [EditionID]
    Professional
    [Channel]
    Retail
    [VL]
    0
    You can replace Professional with Home if that is the edition that you are installing.

    NOTE: Make sure you create the ei.cfg with something like notepad to avoid any special formatting characters from being inserted.
      My Computers


  4. Posts : 10
    Windows 7 and 10
       #4

    Kari said:
    This is extremely easy.

    Open Notepad, copy and paste the below code to a new text file:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="windowsPE">
            <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">
                <UserData>
                    <AcceptEula>true</AcceptEula>
                    <Organization>Ten Forums</Organization>
                    <ProductKey>
                        <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
                    </ProductKey>
                </UserData>
            </component>
        </settings>
    </unattend>

    In <ProductKey> tags, use a generic Windows product key matching the edition you are installing. Generic product keys:
    • Windows 10 Home Single Language: 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
    • Windows 10 Home: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
    • Windows 10 Pro: VK7JG-NPHTM-C97JM-9MPGT-3V66T

    Education, Enterprise and Server editions, see following Microsoft support article for generic install keys: Appendix A: KMS Client Setup Keys

    Save the file on root of your Windows 10 install media as autounattend.xml:

    How do i create an unattended file to skip only product key page-image.png

    Boot a PC with your install media, Windows Setup will now bypass edition selection, product key and EULA.

    That's it.

    Kari

    Thanks. It's working fine. But it chooses only one image/version from install.wim. I've four images (pro, home, edudation, Pro N). How to choose all versions? In previous version I didn't add the ProductKey command and it shows all versions. But problem in new Win 10 ISO.
      My Computer


 

  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 10:44.
Find Us




Windows 10 Forums