Boy in Red Shirt Sitting on Chair in Front of Black Flat Screen Tv

Easy Windows Upgrade Script

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’

Similar Posts