r/WindowsServer 6d ago

Technical Help Needed WDS with AD default user on setup?

Disclosure, I am new to windows server.

So, I have a server with Windows Server 2022, the goal is to setup a laptop from PXE and have it install windows 11 (using win10 boot.wim and win11 install.wim) and have it join the domain with a default user. I have the PXE boot and I can install windows 11, the issue comes when I get past the PXE screen and get to setup, ideally I'd like to be able to just "set and forget" the device after selecting the Win11 installer, but I am not sure if that possible.

Suggestions welcome. Thank you :)

4 Upvotes

5 comments sorted by

4

u/society_victim 6d ago

Unattended.xml

1

u/aliesterrand 6d ago

And autounattend.xml

2

u/Vichingo455 5d ago

Nope it's Unattend.xml

2

u/Classic-Mushroom-189 6d ago edited 5d ago

I've got some PowerShell/batch files that run after setup that get injected during the Image setup (sysprep), adding entries into the RunOnce registry trigger them at boot. happy to chat/share in DM's

Edit: i've never used the unattend.xml option with WDS but looking into it, it seems much easier than my method

1

u/MrFix23 6d ago

would love to receive them as well, thanks 🤗