Hi Community Members,
Microsoft recently announced that Windows 10 will reach the end of support on October 14, 2025. Technical assistance, feature updates, and most importantly, security updates will no longer be provided.
There is an older on-going thread about Windows 11 updates here. To save folks some reading here is the info and scripts I worked on and posted about last Nov 2024. Links the community library are below, as well as the actual PowerShell code
FAQs
1. Does a user need to log in to update to Windows 11?
The script successfully updated test machines to Windows 11 both with a User logged in and without anyone logged in. You can run the update to win11 script remotely.
2. What happens if I run the script on a computer that is not hardware compatible with Windows 11.
In testing, the script still runs the Windows 11 installation and attempts the upgrade, but reboots back to Windows 10 login screen
3. Can I run the Win 11 Update script without running the “Update Assistance” first?
In testing, it worked without having to deal with the update assistance precheck.
Download and Run Windows 11 Installation Assistant - downloads and runs the Windows 11 Installation Assistant program from Microsoft. Please read the full comment block to understand how it works. The TLDR is the script will download and run the installation assistant regardless of the machine’s compatibility and involves potential reboots.
If you want to check first if the machine is compatibility with Windows 11 you can use the following:
Windows 11 Readiness Check - Checks for Microsoft’s standard requirements for Upgrading a machine to Windows 11:
- Architecture Type
- Screen Resolution
- Core Count
- Clock Speed
- Total Memory
- Secure Boot
- Fixed Disks
- TPM Version
and the script will write to an asset custom field for your Syncro device if a machine is ready for the upgrade or failed one of the checks.
Here is the generic powershell script that will download and run the windows 11 updater. The few machines I tried it on, I didnt have to deal with the update assistance.
Windows 11 Update PowerShell Script:
<#
This powershell script will download and run the Windows 11 Installation Assistant program from Microsoft.
If the computer meets the requirements for the Windows 11 update, after the Installation Assistant runs the machine will
automatically reboot and load Windows 11. If for some reason the machine does not meet all the requirements the script
will still download and run the Installation Assistant, which will still attempt the update but fail and reboot back
into Windows 10.
Microsoft requirements can be found here: https://www.microsoft.com/en-US/windows/windows-11-specifications
#>
$WebClient = New-Object System.Net.WebClient
# URL to Windows 11 Update Assistant
$Win11UpgradeURL = "https://go.microsoft.com/fwlink/?linkid=2171764"
$UpgradePath = "$env:TEMP\Windows11InstallationAssistant.exe"
$WebClient.DownloadFile($Win11UpgradeURL, $UpgradePath)
Start-Process -FilePath $UpgradePath -ArgumentList "/Install /MinimizeToTaskBar /QuietInstall /SkipEULA"
This has worked for me with Users Logged into the machines or not logged into the machine. If someone is logged in here is what shows on the desktop:
If the script is run on a machine that is not compatible the update is still attempted but the machine will just reboot back to the Windows 10 screen.
If you need to update an already existing Windows 11 machine to 24H2 you can review this post here