Disable Windows Installer Rollback Feature In Windows 11/10

One of the best things about Windows is the excellent platform support for tons of software. Windows users always appreciate this fact and try or use a lot of software. However, there are some scenarios where we just can’t complete the software installation. This could be due to a missing installer component, incompatibility, corrupt settings, etc.

By default, if an installation fails, Windows Installer attempts to recover the system to its original state. So, to do this, it undoes the changes it made while installing this failed program. basically it’s called Cancellation of the installation. For example, if you installed Visual Studio or any other version of it when the installer does not complete the installation, it generates the rollback script to undo the changes made to your computer.

While this feature is certainly useful, as a system administrator, there may be times when you want to disable this restore feature. You can do this by setting the Forbidden restore group policy. This policy is designed to reduce the amount of temporary disk space required to install programs. It can also prevent malicious users from interrupting an installation to compromise the system.

Disable rollback using Registry Editor

one. Hurry Windows key + R jumpsuit guy Regedt32.exe inside Class dialog box and press Enter to open the registry editor.

two. Navigate to this registry key:

HKLMSoftwarePoliciesMicrosoftWindowsInstaller

3. In the right pane of this location, you will see the DWORD Disable rollback have your value data adjusted to one. Double click to edit:

Forbid-Revert-Windows-8-1

Four. To fix the Windows installer, in the box above, put the value data is equal to 0. Click on RIGHT. Alternatively, you can erase the Disable rollback DWORD, and that will also solve the problem.

That is! You can close Registry Editor and restart; your problem should be solved.

Do not allow restore using local group policy editor

one. Hurry Windows key + R jumpsuit guy gpedit.msc inside Class dialog box and press Enter to open the Local Group Policy Editor.

two. Browse here:

Computer ConfigurationAdministrative TemplatesWindows ComponentsWindows Installer

Prohibit-Revert-Windows-8-3

This policy setting prevents Windows Installer from generating and saving the files that it needs to roll back an interrupted or unsuccessful installation. If you enable this policy setting, Windows Installer cannot save the original state of the system and the sequence of changes that it makes during installation. It also prevents Windows Installer from keeping files that it tries to delete later. Therefore, Windows Installer cannot restore the computer to its original state if the installation does not complete. This policy setting is designed to reduce the amount of temporary disk space required to install programs. Additionally, it prevents malicious users from interrupting an installation to collect data about the internal state of the computer or to search for safe system files. However, because an incomplete installation can render the system or a program unusable, do not use this policy setting unless it is essential. These policy settings appear in the Computer Configuration and User Configuration folders. If the policy setting is enabled on one of the folders, it is considered enabled, even if it is explicitly disabled on the other folder. Microsoft now does not support linking 2 email IDs or Microsoft accounts.

3. In the right pane of this location, find the settings Do not allow restore. Since you are facing the problem, this policy should state Activated condition. Double click to edit:

Disable Windows Installer Rollback

Four. In the window above, set the policy to not configured or then Deactivate State to solve your problem. Click on Apply Followed by RIGHT.

That is! You can close Group Policy Editor and restart to see the results.

As we mentioned earlier, if you set this policy, Windows Installer will not be able to save the original state of the system and the sequence of changes that it makes during installation and save the files that it intends to delete later. Therefore, Windows Setup cannot restore your computer to its original state if Setup does not complete. And because an incomplete installation can render your system or a program unusable, don’t use this policy unless it’s essential.

Disable Windows Installer Rollback Feature in Windows 11/10

Leave a Comment