autounattend.xml

  • Thread starter Thread starter Deleted member 36428
  • Start date Start date

D

Deleted member 36428

Guest

I did Windows 11 24H2 clean install with autounattend.xml on new gaming laptop. I copied my autounattend.xml to Windows 11 USB Flash Drive installation, install Windows without internet but autounattend.xml not worked 100%. I had Local Account and installed Windows 11 without internet but i had all bloatware and new right click instead old.

autounattend.xml only worked if i install from ISO or do i need internet connected while installing Windows 11?
 
@Rad,

You do not need to have an Internet connection when performing an unattended installation.

Unfortunately, that is all that I can tell you because you have provided insufficient information to troubleshoot further. For example:

What does "but autounattend.xml not worked 100%" even mean? Could you provide more specific details?

Are there any error messages? What precisely did not work? How did it behave vs. what were you expecting?

Could you post a copy of the answer file that you were using?
 

My Computers My Computers

  • At a glance

    Win11 Pro 26H2 (Release Preview)Intel i7-14650HX32 GBNo GPU - Built-in Intel Graphics
    OS
    Win11 Pro 26H2 (Release Preview)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acemagic Matrix M5
    CPU
    Intel i7-14650HX
    Memory
    32 GB
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    Varies as machine will often be moved to locations with different monitors
    Screen Resolution
    Varies
    Hard Drives
    1 x 1TB Gen 4 NVMe SSD
    PSU
    120W Power Brick
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
  • At a glance

    Win11 Pro 26H2 (Release Preview)Intel i7-1255U16 GBIntel Iris Xe Graphics
    Operating System
    Win11 Pro 26H2 (Release Preview)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    4 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging Using an Anker 160W Charger
    Keyboard
    Backlit, spill resistant keyboard
    Mouse
    Buttonless Glass Precision Touchpad
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
My autounattend.xml:




What does "but autounattend.xml not worked 100%" even mean? Could you provide more specific details?

Bloatware and new right click instead old.


24H2 Setup now calls SetupPrep.exe to perform the actual install. This workflow is incompatible with Schneegan's method for embedding scripts or files inside the autounattend.xml.


Just have Rufus prepare a normal 23H2 ISO. Copy your autounattend.xml to the finished USB drive.


From the PC, have File Explorer mount the 24H2 ISO file (.iso). Browse to the mount folder's \sources folder, copy the 24H2 install.wim to the USB drive's \sources folder. It's easier when everything is treated as a normal file instead of being inside an archive (ISO).

When done, unmount the 24H2 ISO from Explorer.
 

Attachments


I did Windows 11 24H2 clean install with autounattend.xml on new gaming laptop. I copied my autounattend.xml to Windows 11 USB Flash Drive installation, install Windows without internet but autounattend.xml not worked 100%. I had Local Account and installed Windows 11 without internet but i had all bloatware and new right click instead old.

Check the log files and verify the C:\Windows\Panther\unattend.xml file exists.

I assume your “Windows 11 USB Flash Drive” was created by the Media Creation Tool? I have just prepared a flash drive with the current Media Creation Tool and then placed an autounattend.xml file in its root folder – this worked flawlessly. In particular, bloatware was removed, and the classic context menu was enabled.

If you want to create a local user account in Windows 11, you do not need to disconnect from the internet – the autounattend.xml process will be able to create local user accounts regardless of your internet connection state.
 

My Computer My Computer

At a glance

Windows 10
OS
Windows 10
24H2 Setup now calls SetupPrep.exe to perform the actual install. This workflow is incompatible with Schneegan's method for embedding scripts or files inside the autounattend.xml.

This is simply not true. autounattend.xml files generated by my service work with any version of Windows 10 and Windows 11, including 24H2, in both ConX and legacy setup modes.

The main reason why an answer file is not processed as expected is that some other software (including Rufus or Ventoy) has inserted their own autounattend.xml file into the Windows Setup files, and this file is higher up in the search order and thus takes preference.
 

My Computer My Computer

At a glance

Windows 10
OS
Windows 10
Hey Deleted member 36428,

Showing gratitude is important in online communities. Use the "like" button to appreciate helpful content. This motivates people to keep sharing knowledge. A "like" gives 1 point, "Helpful" gives 5 points, and "Great support" gives 10 points for exceptional help.

Back
Top Bottom