Questions tagged [autounattend]

9 questions
1
vote
1 answer

copy autounattend.xml to windows installation

Is it possible to programmatically get the "autounattend.xml" copied to the windows insallation during windows autounattended setup? My use case I have a USB-Stick with different unattended files for different…
wolfrevo
  • 317
1
vote
2 answers

PowerShell script do not run from autounattend.xml file

Good day! I've created an autounattend.xml file with settings to skip OOBE, create user profile and running PowerShell script during first logon. First two worked fine except running the script. I've read many topics regarding this question,…
Alex
  • 41
1
vote
1 answer

Proper RunSynchronousCommand exit code to fail autounattend installation?

I'm using an autounattend.xml file to perform an unattended installation of Windows Server 2022. In the specialize phase, I have a few Powershell scripts I want to run (defined in RunSynchronousCommand elements). I need to make sure that if either…
Crono
  • 113
  • 4
1
vote
2 answers

Sysprep removes all SQL users

I have two instances running on SQL Server (2017) - SQLEXPRESS and MYINSTANCE I've added a few users to MYINSTANCE However when I run Sysprep on the device, it deletes all but sa and Builtin\Users. It appears to leave the users on SQLEXPRESS alone…
komodosp
  • 353
0
votes
1 answer

run batch file during Windows Setup from autounattend.xml

I want to run a batch file during the windowsPE phase of an unattended Windows setup, and the autounattend.xml works fine as long as I launch the batch file from its path like this: StartUp…
0
votes
1 answer

Unattended Windows Domain Join

I was wondering if it’s possible to make an unattended Domain Join in Windows. Let’s say I have my computer object set up in my Active Directory. Each computer object has its own machine password. I was wondering ,even though it’s not possible to…
0
votes
0 answers

Unattended installation of OS for laptops

I am able to install the Windows 10 OS by creating an unattended.xml file containing basic settings like region, hostname, partition etc. But I need to include more settings for example; renaming the administrator and guest accounts, setting…
0
votes
1 answer

Disable UAC in unattended without breaking OneDrive

So this was an issue I ran into a while back and suddenly it has re-appeared. Not sure if its because of a newer build of windows or what but here goes. In my unattended file, i have the following line that disables…
0
votes
0 answers

Is there a way to disable the Windows 11 Upgrade offer from the Autounattend.xml on a fresh Windows 10 install?

I have a Windows 10 USB that I use to automate Windows installations, and I'd love to be able to disable the Windows 11 Upgrade offer without having to do the really bad workarounds like using GPO (whether local or Active Directory) of locking the…
wb6vpm
  • 29