I tried when 11 first came out and the command line options didn’t work on the 11 update assistant, but maybe they’ve updated it since. I believe they said they’d start pushing it on people this month, so if you’re not blocking it and the system is compatible (a lot are not), it should just happen.
First run failed. I remember when I was doing the Win 10 upgrades, on SOME systems, I had to run the one script that would download the Upgrade Assisstant, and a second script to run the downloaded file. It would not do it in one run for some reason on some systems
I am trying that with this now. It downloaded Win11Upgrade.exe, it ran various tasks for a few hours and I thought it was working. I had to go out so I left it overnight, and today I am still on Win 10.
If this does not work I will try it in interactive mode as mentioned above and see if I can get the error message
Just doing some more research on this, found this blurb in the new terms for Win 11:
This option is new starting with Windows 11. Specifying /EULA accept instructs Windows Setup that the end user license agreement has been accepted. Starting with Windows 11, acceptance of the Windows EULA is required before Windows Setup installation begins. By specifying /EULA accept you are agreeing that when applying this operating system either (1) the applicable Windows license was purchased though volume licensing, or (2) that you are accepting the relevant Microsoft Software License Terms. Windows Setup will return error MOSETUP_E_EULA_ACCEPT_REQUIRED (0xC190010E) if /EULA accept is not specified and (1) /Quiet is specified, or (2) if Windows Setup is started where user interaction is not supported. To learn more about licensing, see Microsoft License Terms.
The last part seems to say that it will always fail if you either specify /quiet or start the upgrade from somewhere user interaction is not supported, so I guess that includes a PS script?
If I am reading this right they have made it completely impossible to script?
I’m reading it differently, but I think the language is confusing. It still says the /EULA is used to suppress the Windows Setup end user agreement user experience, I just think the /eula accept is required instead of skipping it. Try changing this line for Windows 11.
Trying to debug this getting a error from the script (below is error)
error> Start-Process : This command cannot be run due to the error: The file or directory is corrupted and unreadable.
error> At C:\ProgramData\Syncro\bin\7497a38e-18a6-40a8-a7d7-746136190f12.ps1:14 char:1
error> + Start-Process -FilePath $file -ArgumentList "/Install /MinimizeToTask …
error> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error> + CategoryInfo : InvalidOperation: ( [Start-Process], InvalidOperationException
error> + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand