Easy Windows Upgrade Script

The image shows a person seated at a computer desk with a large flat-screen TV mounted on the wall behind them. The room has a homely feel, with a window allowing natural light to enter, and various objects such as a potted plant, speakers, and additional items on the desk are visible.

Run the following scripts in an admin PowerShell to upgrade to the desired version of Windows

Windows 10 Upgrade

$dir = 'C:_Windows_FU\packages'
mkdir $dir
$webClient = New-Object System.Net.WebClient
$url = 'https://go.microsoft.com/fwlink/?LinkID=799445'
$file = "$($dir)\Win10Upgrade.exe"
$webClient.DownloadFile($url,$file)
Start-Process -FilePath $file -ArgumentList '/quietinstall /skipeula /auto upgrade /copylogs $dir'

Windows 11 Upgrade

$dir = 'C:_Windows_FU\packages'
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'

Need help with your website?

Dynamic Technologies builds, hosts and maintains websites for small businesses in Coeur d'Alene and North Idaho.