Help to Customize Windows 11 Install


Senninha

Member
Local time
7:49 PM
Posts
5
OS
W11 PRO
Good morning everyone, I would like to thank anyone who can shed some light on the problems I am having.

I am trying to customize a W11 installation completely. For that I have two files, autounattend and unattend. It goes ahead that both one and the other in Windows 10 there was no problem for it to work correctly. The problem has come to me, at the time of doing it under Windows 11 24H2.

When in the installation of Windows 11, I do the sysprep with the unattend.xml, the system does what I indicate without any problem. By means of powershell I capture the vhdx of Windows 11 24H2, to turn it into a file .WIM, that later I integrate in an iso to deploy it. As indicated, the file autounattend.xml the file must be in the root of the ISO, so that it does everything necessary to install windows at the beginning (basically I use it to partition the hard disk, the serial number, and little else).

The installation proceeds, and once the system is installed, and OOBE is done, the system does everything I have told it both in autounattend and unattend, but, and I emphasize that but, once I get to the login of the user that has been created, it goes into a continuous buble of autologin and logout.

I would be grateful to anyone who controls the windows customizations, because I, honestly, I do not know where to go, and I am lost.

Thank you in advanced.
 

Attachments

My Computer

System One

  • OS
    W11 PRO
    Computer type
    PC/Desktop
    Manufacturer/Model
    Aorus Z690
    CPU
    I9 12900K
    Motherboard
    Aorus Z690 Master
    Memory
    2*16 GB 6000 Mhz
    Graphics Card(s)
    PowerColor 6950 XT
    Sound Card
    Creative Sound Blaster Z SE
    Monitor(s) Displays
    2 * M28U
    Screen Resolution
    4K
    Hard Drives
    1* 1 TB (NVME)
    2 * 14 TB (HDD)
    1* 16 TB (HDD)
    1*8 TB (HDD)
    PSU
    Corsair Rm850i
    Case
    Corsair900D
    Cooling
    Custom WaterCooling
    Keyboard
    WASD Keyboard V2
    Mouse
    Razer Deathadder Pro V2
Off the top of head I'm not spotting anything that stands out. But a question to help me narrow the focus:

On the reference system, after you created the new install.wim image, did you boot the reference system normally without the autounattend.xml? If so, did it experience that loop or does that happen only with the autounattend.xml in place?
 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    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
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    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
The loop has started to play, when we decided to change the image on which it was made. As they have already decided to migrate to windows 11 (big mistake, they should have done it before), I migrate the image I had of windows 10, and perform the step I indicated above. Doing a test in the virtual machine, the system deploys it, but I got that error. I decide to create the model again from 0, installing Windows 11 and perform the same process and that is where it fails.

Last night I did a test, modifying these parameters in unattend.xml.
<SkipUserOOBE>true</SkipUserOOBE>.
<SkipMachineOOBE>true</SkipMachineOOBE>

Putting both in false, the installation of windows completes, and when finishing in the OOBE process, it asks me the name of the machine and user, so it is correct, but I also observe that the user that I indicate to be created, is created, but I can not login in that user (it gives the famous error), but, if I start the virtual machine that I used to capture that sysprep, the machine starts correctly with that user that gives error.

Any suggestions?

Than you in advance
 

My Computer

System One

  • OS
    W11 PRO
    Computer type
    PC/Desktop
    Manufacturer/Model
    Aorus Z690
    CPU
    I9 12900K
    Motherboard
    Aorus Z690 Master
    Memory
    2*16 GB 6000 Mhz
    Graphics Card(s)
    PowerColor 6950 XT
    Sound Card
    Creative Sound Blaster Z SE
    Monitor(s) Displays
    2 * M28U
    Screen Resolution
    4K
    Hard Drives
    1* 1 TB (NVME)
    2 * 14 TB (HDD)
    1* 16 TB (HDD)
    1*8 TB (HDD)
    PSU
    Corsair Rm850i
    Case
    Corsair900D
    Cooling
    Custom WaterCooling
    Keyboard
    WASD Keyboard V2
    Mouse
    Razer Deathadder Pro V2
SkipMachineOOBE & SkipUserOOBE are deprecated in W10 & 11, but still work.

You should avoid using them, because in some instances when you don't specify all the OOBE details, it will result in a "broken" setup where you can't logon. Anything that isn't properly listed in the unattended file, OOBE will stop and ask you to provide the details. Skipping it means you completely understand what's needed and take full responsibility for finishing what OOBE would have done with user provisioning.
 

My Computer

System One

  • OS
    Windows 7
If both parameters, as you indicate are being depreciated in Windows 10 & Windows 11, what parameters should I set to create a local user, automatically, without having to enter the data myself?

I find it strange, because as I indicated in W10 or W11, they work, but if I create an answer file with Windows ADK, the parameters of which we are talking about, it has them and allows to assign them.

So I come to another crossroads, which way should I go?

Once again, Than you in advance.
 

My Computer

System One

  • OS
    W11 PRO
    Computer type
    PC/Desktop
    Manufacturer/Model
    Aorus Z690
    CPU
    I9 12900K
    Motherboard
    Aorus Z690 Master
    Memory
    2*16 GB 6000 Mhz
    Graphics Card(s)
    PowerColor 6950 XT
    Sound Card
    Creative Sound Blaster Z SE
    Monitor(s) Displays
    2 * M28U
    Screen Resolution
    4K
    Hard Drives
    1* 1 TB (NVME)
    2 * 14 TB (HDD)
    1* 16 TB (HDD)
    1*8 TB (HDD)
    PSU
    Corsair Rm850i
    Case
    Corsair900D
    Cooling
    Custom WaterCooling
    Keyboard
    WASD Keyboard V2
    Mouse
    Razer Deathadder Pro V2
The point of an unattended file is you can configure as much as you want, or as little as you want. If you don't explicitly create a local user, OOBE will be forced to follow the user account creation process.

Now WSIM from the ADK is a different problem, it has a "set" way of doing things. I don't use it because I've learned to build unattended files by hand. There's nothing wrong with Skip*OOBE if you're aware of what's going on. Sometimes if you're not generalizing (resetting the user profiles), Skip can be used because your capture contains a working user profile.

I'll defer to someone else, since I don't use WSIM.

But I know Skip can be more harmful than helpful. More setup errors are visible when you don't use it.
 

My Computer

System One

  • OS
    Windows 7
I know that the unattend.xml file is correct, and I reason it, in my old job, the images and deployments were done with Ivanti, so what I had to do was little less than capture the image and create the user, everything else was done with deployment, so all the parameters of the XML, were more than controlled (whether or not I had knowledge). What I found strange, is that the user that remains created after the sysprep, gives error (now), if it has the same parameters the xml, what reason is there for it to fail in W11 24h2 and not in W1022H2.

For the rest, I can only thank you for your words and attentions. Unfortunately, as I indicated yesterday, by changing the parameters I can create a new user, so I will redo the capture entering the sysprep in audit mode and deleting the old user and letting it create the new user, to see what happens.....

Thanks a lot.
 

My Computer

System One

  • OS
    W11 PRO
    Computer type
    PC/Desktop
    Manufacturer/Model
    Aorus Z690
    CPU
    I9 12900K
    Motherboard
    Aorus Z690 Master
    Memory
    2*16 GB 6000 Mhz
    Graphics Card(s)
    PowerColor 6950 XT
    Sound Card
    Creative Sound Blaster Z SE
    Monitor(s) Displays
    2 * M28U
    Screen Resolution
    4K
    Hard Drives
    1* 1 TB (NVME)
    2 * 14 TB (HDD)
    1* 16 TB (HDD)
    1*8 TB (HDD)
    PSU
    Corsair Rm850i
    Case
    Corsair900D
    Cooling
    Custom WaterCooling
    Keyboard
    WASD Keyboard V2
    Mouse
    Razer Deathadder Pro V2

Latest Support Threads

Back
Top Bottom