In-place upgrade from Windows 10 to Windows 11: the unofficial script

In-place upgrade from Windows 10 to Windows 11: the unofficial script

L’in-place update of Windows is a process by which the operating system is updated to the next version or to a different edition without the need for a complete reinstallation. Existing system files are replaced with those of the new version or edition, while keeping installed applications, customized settings and user data intact. We have already seen in another article what in-place installation of Windows 11 is and how it works.

The same technique can be used to repair Windows 11 or any other operating system: the important thing is to use a official installation media containing the file setup.exe and refers to the same version and edition of the installed system.

How to perform an in-place upgrade from Windows 10 to Windows 11 for any edition of the operating system

An independent developer has posted a script on GitHub called Inplace Upgrade Helper which allows you to switch between Windows 10 a Windows 11 without version and edition limits.

It is an “all-weather” batch file, in the sense that it relies on the standard Windows update procedure, but allows you to force the upgrade from an edition of Windows 10 that does not match the target edition on Windows 11.

To use Inplace Upgrade Helper just create the installation media of Windows 11, for example using the Media Creation Tool (button Download now below “Creating Windows 11 installation media“) or download the Windows 11 ISO file from Microsoft servers and create a bootable USB drive with Rufus.

After creating the Windows 11 USB support (containing the installation files of the edition you are interested in), you must download this batch file and save it at the same level (root folder) as the file setup.exe.

The methods of upgrading from Windows 10 to Windows 11 proposed by Inplace Upgrade Helper

The batch in question offers four possible ones update methods. We summarize them below, also indicating the corresponding button that allows you to recall and use each of them. The only problem is that the script is currently only available in German: the author confirms that he is working to translate it into other languages ​​too.

  • k) Try to do one modifies the Product Key via the system utility slmgr. By default, it uses generic code VK7JG-NPHTM-C97JM-9MPGT-3V66T which corresponds to the Pro editions of Windows 10 and Windows 11. This method supports the path of official updatewithout requiring an in-place upgrade.
  • s) Start a standard update leaving the installation routine to automatically choose the edition. It’s the classic Windows in-place update.
  • u) Performs in-place upgrade of an edition of Windows of the user’s choice. This method prevents Windows Setup from using any built-in keys firmware and avoids checking the current edition of the operating system. The script uses a OEM GLVK key as a configuration parameter. Again the batch only supports official update paths.
  • f) Starting a Forced in-place update to keep all your apps and settings. The workaround is to edit the contents of the Windows registry before using the OEM GLVK keys, allowing a change of edition outside the Microsoft supported upgrade path. The author points out that this path is not approved by the Redmond company: it is advisable to make a complete backup of the system before proceeding.

Some general observations

The script works well even if its most important functionality consists in the forced update. For example, using the key f seen previously, it is possible to switch for example from Windows 10 Home to Windows 11 Pro without difficulty. Or even migrate to Windows 11 Enterprise. All without losing your data, system configuration or installed applications. On the other hand, this is precisely the “salt” of a in-place upgrade.

The forced update is achieved simply by issuing the following commands:

set productkey=VK7JG-NPHTM-C97JM-9MPGT-3V66T
set editionid=Professional
set productname=Windows 10 Pro
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "EditionID" /t REG_SZ /d "%editionid%" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "ProductName" /t REG_SZ /d "%productname%" /f
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion" /v "EditionID" /t REG_SZ /d "%editionid%" /f
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion" /v "ProductName" /t REG_SZ /d "%productname%" /f
setup.exe /eula accept /telemetry disable /priority normal /resizerecoverypartition enable /pkey %productkey%

In other words, the script “makes” the Windows installation and, in particular, the update procedure believe that the version of Windows 10 installed on the system is theProfessional edition (when for example, in reality, you had the Home edition). This makes it easy to perform an in-place upgrade to Windows 11 Pro. Obviously, the script allows you to to select anyone starting edition.

Create a backup of your Windows registry configuration

We suggest, at the very least, making a backup of the configuration of the Windows registry keys that the script modifies. To proceed you can type cmd in the Windows search box, choose Run as administrator then type the following:

reg export "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" %userprofile%\reg_inplace_upgrade_helper_backup.reg /y
reg export "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion" %userprofile%\reg_inplace_upgrade_helper_backup.reg /y

At most, with a double click on the file reg_inplace_upgrade_helper_backup.regautomatically saved in the current user profile folder, you can restore the system configuration before the script intervened.

Leave a Reply

Your email address will not be published. Required fields are marked *