Tips for Automating Silent Windows 11 Upgrades Using ISO

0
18
Asked By Tru3GamerX99 On

Hey folks! I'm reaching out for some help with automating the upgrade from Windows 11 23H2 to 24H2 using an ISO. In our environment, we're using Action1 for patching, which I find awesome. However, we've run into issues upgrading machines to 24H2, and it seems like other admins are facing similar challenges with various patching tools.

I've automated the download and mounting of the Windows 11 ISO, but I'm struggling with running the upgrade silently. The manual process works fine for around 30% of our fleet that won't take the update automatically, but it's just too tedious.

Has anyone figured out how to run the setup.exe with the right switches that avoid downloading updates and just perform the upgrade with a reboot? I want to schedule this to run overnight so machines are ready by morning. Any tips or insights would be greatly appreciated!

2 Answers

Answered By VMUpgradeNinja On

Here's a command I use for the upgrade:

`Setup.exe /auto upgrade /quiet /eula accept /dynamicupdate disable /uninstall disable /tempdrive F`

I only apply this on VMs since they have a consistent state. The `dynamicupdate` option prevents it from contacting Microsoft for updates, speeding things up. Also, the `uninstall disable` command prevents creating a large windows.old folder since you won't be able to roll back. I even use a temp drive to avoid needing a ton of free space. You can find more switches in the official documentation.

KittyCoder -

Awesome! I’m trying this out on a few devices, and it looks promising so far. Thanks a ton!

Answered By TechSavvy2021 On

You should definitely try using setupprep.exe from the sources directory instead of the regular setup. It’s way more reliable for automating the upgrade, whether it’s manual or automated.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.