Hello everyone, I want to ask for some help in creating this automation script as I am experiencing problems making it work without encountering any issues. Current script: # Path to the ISO file $isoPath = "C:\Users\Owner\Downloads\Upgrade\WIN11-23H2.iso" # Mount the ISO $mountResult = Mount-DiskImage -ImagePath $isoPath -PassThru $volumeInfo = $mountResult | Get-Volume # Assuming the ISO gets mounted to the D: drive $setupPath = ($volumeInfo.DriveLetter + ":\setup.exe") # Start the upgrade process Start-Process -FilePath $setupPath -ArgumentList "/Auto Upgrade /NoReboot /Showoobe None /DynamicUpdate Enable /AcceptEula" -Wait What I want to achieve: To fully automate the setup process, from accepting the EULA until the setup is done without user intervention. Issue: An unknown command-line option [/Auto] was specified.
To be clear, it's a small Enablement Package after you've made sure 22H2 is properly updated to Oct 2023 CU. 23H2's features are already hidden inside the 22H2 CU, and need to be switched on.
Thank you for this Enthousiast, 12 lb Turkey The thing is, I needed to use .iso file to upgrade directly even the first version of 22H2 or even 21H2.
Win 11 22H2 to 23H2 by small EP will work from 22621.2361 and up, from Win 11 21H2 (22000.xxxx) it will take a full ISO upgrade, can't imagine why that would need to be automated.
It is published at the 226x1 Updates Overview and quoted here: https://forums.mydigitallife.net/th...e-windows-11-22h2-to-23h2.87718/#post-1814581