Windows 7 will no longer receive patch updates on January 14, 2020, this is the time for you to Update to Windwos 10. You can Update from Windows 7 to Windows 10 by downloading the ISO file and then clicking setup step by step. display. If you don’t want to see the boring scene of clicking next, you can use the PowerShell command to upgrade Windows 7 to Windows 10. The update process will be fully automated. You just need to copy the command and press Enter.
Join the channel Telegram of the AnonyViet 👉 Link 👈 |
Now is the best time to upgrade your system to Windows 10, especially if you are using Windows 7 but updating to Windows 10 can get you a free license. Just a super simple PowerShell script that makes the upgrade easy.
Update Windows 7 to Windows 10 with the PowerShell command
This script only support for Windows 7 SP1, if you have not upgraded to SP1 then download the package update by Microsoft.
Now you click on the . button Starttyping PowerShellright click select Run as Administrator.
For security reasons, Windows will block some PowerShell commands. You need to change some registry keys. In the PowerShell window type the below command and Enter.
Set-ExecutionPolicy Unrestricted
On the message screen type: Y (note the Y on the flower), press Enter.
You can now close the PowerShell window.
Generate Windows 7 to Windows 10 upgrade script
You open notepad, copy the script to update Win 7 to Win 10 below, save it as a file: upgrade.ps1
Or you can Download file upgrade.ps1 about computers.
$dir = "c:\temp" 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" -verb runas
Start the upgrade
You Right-click the file upgrade.ps1 Select run as PowerShell.
You will see a PowerShell window informing you to allow Microsoft Windows to make changes to your system. You don’t have to worry about that. Everything is on the screen as if nothing happened.
To know exactly the Windows 10 upgrade is being done, you can open the Task Manager, via Tab Processes will see the process named Windows10UpgraderApp.exe running. Your system will automatically reboot when needed, and the Windows 10 installation will take care of itself, with no extra work required.
After the background installation of Windows 10 is completed, you will see a message similar to the one below:
You need to click 1 or 2 half steps to access the Desktop of Windows 10. When accessing Windows 10, one of the following things will happen:
One is: all your data and apps will be in their original location. Since this is an upgrade from Windows 7, instead of doing a reinstall from scratch).
Or: Maybe some programs won’t work, because the chapter is compatible with Windows 10. You can find and install this software in a different version. But most of the software that works on Win 7 can run on Win 10.
Reset PowerShell’s Execution policy
Remember in the first step, we allowed file execution from PowerShell? Now turn off this feature for security. Open PowerShell with Administrator rights and enter the command:
Set-ExecutionPolicy Restricted
Windows 10 installed will be the latest version released by Microsoft, you do not need to update further. If you want to install additional software, you should use chocolatey to install multiple software at the same time for fast.
Via: lifehacker.com