How to Fix “The Installer Has Encountered an Unexpected Error 2203” on Windows 10 and 11

You’ll sometimes encounter an installer error in Windows when you try to install a program. There are different kinds of installer errors, but if your one gives you the code “2203,” it means the user account does not have sufficient permission to install the software. Another common reason is your antivirus is acting up and blocking the installer.

In this article, we look at a few troubleshooting steps you can try to fix this problem on your Windows system.

What Causes the Windows Installer Error Code 2203?

Like we mentioned above, the installer error code 2202 indicates that you do not have sufficient permission to run the installer. The full error reads:

The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2203

In many cases, you can simply run the installer as administrator to fix the problem.

If that does not work, try to take ownership of the temp folder. Additionally, temporarily disabling your security software can also help.

1. Run the Installer as Administrator


run installer as administrator

Some programs require explicit permission to run the installer or programs that can modify the system files. So, try to run the installer with administrative privilege to provide the required permission. In most cases, this should work and allow you to complete the installation.

To run the installer as administrator:

  1. Locate and right-click on the installer you want to run.
  2. Click on the Run as administrator option from the context menu.
  3. Click Yes when prompted by UAC (User Account Control).

MAKEUSEOF VIDEO OF THE DAY

Related: Windows Administrator Account: Everything You Need to Know

2. Take Ownership of the Temp Folder

Issues with the Windows Installer service and missing permission for the temp folder can also cause the installer error 2203.

You can end the Windows Installer service and then take ownership of the temp folder to fix this problem. Here’s how to do it.

Before you proceed with the step below, create a restore point. System Restore allows you to undo any changes if you incorrectly remove or modify an essential file.

2.1 End the Windows Installer Service


stop-windows-installer-service
  1. Press the Win + R to open Run.
  2. Type services.msc and click OK to open the Services Snap-in.
  3. Locate and right-click on the Windows Installer service.
  4. Select Stop to end the service.
  5. Next, open File Explorer and navigate to the following location:
    C:WindowsTemp
  6. Click Yes if prompted by UAC.
  7. Press Ctrl + A to select all and delete all the contents of the folder. Skip any file that is undeletable for any reason.


Next, follow the steps below to take ownership of the temp folder.

2.2 Take Ownership of the Temp Folder


temp folder properties
  1. Open File Explorer and navigate to the following location:
    C:UsersUsernameAppDataLocal
  2. In the above path, replace the Username with your user account name.
  3. Right-click on the Temp folder and select Properties.
  4. In the Temp Properties window, open the Security tab.
  5. Click the Advanced button under the Permissions for System section.
    change owner advanced security temp folder
  6. In the Advanced Security Settings for Temp window, click the Change link for Owner. Click Yes if prompted by UAC.
    add everyone as owner temp folder
  7. Nex, type Everyone in the Enter the object names to select box and click Check Names.
  8. If an underline appears under Everyone, click OK. Then, click Apply to save the changes.
  9. In the Temp Properties window, click the Edit button.
  10. In the Permission for Temp window, click the Add button.
  11. Next, type Everyone in the Enter the object names to select box, and click Check Names.
  12. Click OK to save the changes.
  13. Next, under Permissions for Everyone, check the Allow box for Full Control.
    take temp folder permission full control
  14. Click Apply and OK to save the changes. When prompted by the UAC, click Yes to confirm the action.
  15. Next, press the Windows key + R to open Run.
  16. Type services.msc and click OK.
  17. Right-click on Windows Installer and select Start.


Close the Services snap-in window and restart your PC. After the restart, run the installer and check if the error is resolved.

If you still have trouble taking ownership, try these third-party tools to take ownership of files and folders on Windows.

3. Temporarily Disable Your Antivirus and Firewall


turn off real time protection windows firewall

Your security program can, at times, flag a harmless program as malware and block it from working or connecting to the internet. To determine if your security solution is crying wolf, temporarily disable your antivirus solution and firewall and then run the installer.

If you are using a third-party antivirus, the steps to disable the tool may vary. For example, if you use Avast antivirus, click on the system tray icon, and right-click on the Avast icon. Then, go to Avast shields control > Disable until computer is restarted.


Related: Firewall vs. Antivirus: What’s the Difference and Do You Need Both?

For any other antivirus, check the knowledge base on the developer’s website to disable your antivirus. Once disabled, run the installer and check if it runs without any error. Don’t forget to enable your antivirus once the job is done.

If you use Windows security, then follow these steps to disable Real-Time Threat Protection and Windows Defender Firewall.

  1. Press the Win + I to open Settings.
  2. In the left pane, open the Privacy and Security tab.
  3. Click on Windows Security in the right pane.
  4. Next, click on Virus & threat protection.
  5. In the Windows Security window, scroll down to Virus & threat protection. Then, click on Manage Settings.
    manage settings real time threat protection
  6. Toggle the switch for Real-time protection to turn it off. Click Yes if prompted by UAC.
  7. Next, in the Windows Security window, click on Firewall and network protection tab (left pane).
    turn off Windows Defender firewall
  8. Click on Public Network. Then, toggle the switch for Microsoft Defender Firewall and set it to Off.


Do the same for any other active Windows defender firewall profile.

Now that you have disabled the security on your computer, restart your PC to apply the changes. Next, run the installer, and it should install without any error.

Note that running installers from untrusted sources or publishers can be harmful. If the installation is successful, turn on Real-Time Protection and Windows Defender Firewall to protect your data and device.

Fixing the Windows Installer Error Code 2203

Not being able to install a program on your PC can quickly become frustrating. Fortunately, you can fix the Windows installer error code 2203 by executing the installer with administrative privilege. If that does not, take ownership of the temp folder to fix the error.

If the issue persists, turn off your antivirus program and firewall and run the installer to identify any false positive issues.


windows-mac-linux-installation
This Is How Software Installers Work on Windows, macOS, and Linux

Modern operating systems provide you with easy methods to set up new applications. But what actually happens when you run that installer or issue that command?

Read Next


About The Author

1 thought on “How to Fix “The Installer Has Encountered an Unexpected Error 2203” on Windows 10 and 11”

Leave a Comment