Jump to content

Fix MSI installer errors 2502 and 2503 in Windows 10, Windows 8.1 and Windows 7


Batu69

Recommended Posts

Sometimes Windows Installer starts to behave unexpectedly in various versions of Windows, including Windows 10, Windows 8.1 and Windows 7. Every error message has an error code but there is no further information given to the user about what action he should take to fix the error. I suddenly started facing one such error out of nowhere. While uninstalling any app which is shipped as an MSI package, it showed errors 2502 and 2503 and then the installation or uninstallation failed. Here is what these errors mean and how you can fix them easily.

MSI installer errors 2502 and 2503 in Windows 10, Windows 8.1 and Windows 7 usually indicate that the folder C:\Windows\Temp has incorrect NTFS permissions.

To let Windows Installer operate normally, this folder need to have full write access permissions and ownership for your user account. In some cases (depending on how messed up your folder permissions are), this won't be enough. You need to give full access permissions to the Administrators group as well for the folder C:\Windows\Temp. Note that this is not the same folder as %tmp% which can be C:\Users\\AppData\Local\Temp\. Here is how you can fix these MSI errors.

 

Before you proceed, I recommend you to read the following article: How to take ownership and get full access to files and folders in Windows 10. It contains useful information about changing NTFS permissions.

 

1. Open File Explorer, and then locate the file or folder you want to take ownership of. In our case, it is the folder

C:\Windows\Temp

2. Right-click the file or folder, click Properties, and then click the Security tab.

 

Windows-10-take-ownership-1.png

 

Windows-10-take-ownership-2.png

 

3. Click the Advanced button. The "Advanced Security Settings" window will appear.

4. Click the Add button. The "Permission Entry" window will appear on the screen:

 

Windows-10-take-ownership-7-permission-f

 

5. Click "Select a principal" and select your user account:

 

Windows-10-take-ownership-8-select-princ

 

6. Set permissions to "Full control":

 

Windows-10-take-ownership-9-full-control

 

  1. Click OK.

Repeat the same for the built-in "Administrators" group.

Now, try to uninstall or install your MSI package. Everything should work properly now.

 

Credit to

Link to comment
Share on other sites


  • Views 888
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...