How to fix installation ended prematurely error on Windows 11

Are you facing issues with your App installation on your PC? Then these tips should fix installation ended prematurely because of an error on Windows 11.

You might face issues as installation ended prematurely because of an error while you are installing Apps on your PC either from the store or from any other third-party source. And this is exactly why we are writing this article.

See this problem is very common and there is no need to be afraid of it. These kinds of errors only pop up when some specific service is not running on your PC. It is annoying at times when you are in a hurry installing apps but don’t worry as troubleshooting this issue is quite straightforward.

Why am I getting the Installation ended Prematurely because of an Error popup?

There is no specific version of Windows that this error appears. The Installation stopped error can appear on the most modern and the fastest computers as well. The problem is software limited and not hardware so the causes are also software-centric. You are getting this error because most probably the Windows installer Service is not running. The other reasons can be

  1. You might get the error if you install the app without administrative permission.
  2. .NET Framework might be disabled on your PC
  3. The Antivirus software might report the app as a false positive thus not letting Windows install it.

So this article will guide you on how to fix the installation ended prematurely error on Windows 11.

Installation ended Prematurely because of an error in Windows
Installation ended prematurely because of an error in Windows

Run the App as an Admin

To install the app, run it as an administrator. Most of the apps have installation issues when the installer is not launched as an administrator. For that just right-click on the installer and select the Run as Administrator. Click on yes once it prompts you to do so.

Turn on the Windows Installer Service

To turn on the Windows Installer service first open the Start menu and type Services and press Enter. Find the Windows installer service once the window opens and right-click and select properties. Once the properties box opens, click on the Start button under the Service status if it is showing as Stopped. When Windows Installer Service is enabled, it should fix the installation ended issue along with other stability issues as well.

Clear Temp Folder

To clear the Temp folder, open the start menu and type Run. You can also open it by pressing the Win + R on your keyboard. Type %temp% and hit Ok. A new window will open and you will have to select everything and press delete.

The Temp folders contain the temporary files of the already installed apps on your PC. It helps the apps to load and work faster. But sometimes these files get corrupted and in that case, you might get these errors. So it’s best to clear the temp folder every week.

Enable .NET Framework

The .NET framework is an essential framework that helps the system run applications on your PC. You can check if you have the .net framework installed. Remember on Windows 10 you need to install the .NET framework 3.5 and for Windows 11 you need to install the .NET framework 4.8 using the same process we are showing here.

First, you need to open the Control Panel and go to Program. Select Program and Features and choose the option Turn Windows Features on or off. If you are running Windows 10 then choose version 3.5 and if you are on Windows 11 chose version 4.8. Click ok and let it install.

VBScript.dll and Windows Installer Service Reregister

You can fix the installation ended prematurely error by registering the VBScript.dll and the Windows Installer Service as these can auto disable in case of third-party virus scans or even system restorations.

To reregister the Windows Installer services first open the start menu and type Windows Powershell. Right-click to run it as an administrator. Once the CMD opens write the following commands
msiexec /unreg
msiexec /regserver

Once done hit ok.

To reregister the VBScript.dll first open the start menu and type Windows Powershell. Right-click to run it as an administrator. Once the CMD opens write the following command
regsvr32 vbscript.dll
Once done hit ok.

Reboot the system once and check if you are still getting the error.

Run a full System File Checker Scan

You can run a full system file checker scan to check and replace the corrupt files. These SFC scans are capable of fixing a variety of software issues which in turn can fix installation ended prematurely errors.

To run a full system file checker scan first open CMD by running it as an admin. Next type sfc /scannow and hit Enter. Once done, reboot your system and check if the problem persists.

Disable Antivirus Softwares

Disable any third-party antivirus software that you are running when installing the Software. This antivirus software sometimes interferes with the apps marking them as false positives and preventing them from installing. You can disable the antivirus by right-clicking on the app icon at the corner of the taskbar and then selecting the Disable protection option.

Switch to a different account

Try installing the App by switching to a different windows account or user. To do that first open the settings and choose the accounts option on the left. Click on the other user tab and add an account. Once you clicked the button follow the instructions and you will be landed on a different User account. Try installing the app again and check if the problem persists.

Clean booting

You can clean boot your PC by opening the Run dialogue box and typing MSConfig. Once you press enter, a window will open. Click on the services tab and check the option “Hide all Microsoft services at the bottom of the window”. Once you are done disable the rest of the apps and click ok. Now besides the Services tab, there will be a startup tab. Select the Startup tab and disable all the startup apps that you dont require and hit Ok. The system will perform a clean boot when it reboots next.

Reinstall your Windows

If nothing works, and that specific app is extremely important, we would highly suggest you reinstall the full operating system. Reinstalling an operating system fixes the issue and if not then your executable file (.exe) might have some errors. Recheck with the download source and reinstall again.

So this was all about how to fix the installation ended prematurely error in Windows 11. If you think we missed out on something let us know in the comments below.

That’s all folks!


A 29 year old avid gamer by choice dabbles in all things tech. Whether be it spending hours in single-player narrative-based games or going through the latest innovation in technology and chip manufacturing he prefers to stay on top of things. In the other times, you'll find him tucked away drumming and headbanging to Rock and Roll Classics.

Leave a Comment