I'm trying to remotely initiate the Windows 24H2 update since the 23H2 version no longer receives security updates, but I'm running into issues. Even though everything I push indicates that 24H2 has been applied, it doesn't seem to commit after a reboot. Has anyone successfully done this? For context, I'm working in a hybrid AD/EntraID domain with tools available for pushing scripts, but I don't have Intune.
2 Answers
If you can run scripts remotely, I recommend using this approach:
```
$dir = 'C:_Windows_FUpackages'
mkdir $dir
$webClient = New-Object System.Net.WebClient
$url = 'https://go.microsoft.com/fwlink/?linkid=2171764'
$file = "$($dir)Win11Upgrade.exe"
$webClient.DownloadFile($url,$file)
Start-Process -FilePath $file -ArgumentList '/quietinstall /skipeula /auto upgrade /copylogs $dir'
```
It works well for troublesome devices, though it's not 100% guaranteed. Give it a try!
You can try using the Windows11InstallationAssistant with these options:
`Windows11InstallationAssistant.exe /QuietInstall /SkipEULA /SkipCompatCheck /auto upgrade /NoRestartUI /UninstallUponUpgrade`. Just a heads up, this can take hours to run and the computer shouldn't go to sleep during the process. Running it as system is better for overnight upgrades, but keep in mind if it's run as a user, it might fail due to lack of admin rights. It defaults to upgrading to the latest, which is 25H2 now.

That sounds like a solid plan for cleaning up lab systems! Appreciate the input.