Fix: Error Code 2502 & 2503 on Windows 11
First, restart Windows File Explorer
5 min. read
Updated on
Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more
Key notes
- The error codes 2502 and 2503 on Windows 11 could occur due to missing Windows installer file, or lack for permissions to the temp Folder.
- To fix it, you need to re-register the Windows installer, grant full access to the temp folder or run an SFC scan.
- Keep reading to know the detailed steps for each method!Â
Many users have reported facing error codes 2502 and 2503 on Windows 11 while installing or uninstalling programs like Epic Games Launcher. If you have encountered the same error, this guide can help!
We will discuss the expert-recommended solutions right after explaining the error message and causes of the same.
What are error codes 2502 & 2503 on Windows 11?
Error codes 2502 & 2503 indicate that the administrator user doesn’t have full write access to the Temp or Windows Installer directory.
However, the error is not limited to permissions; it could occur due to malware infection, corrupted Windows Installer, incorrect registry, damaged setup file, or third-party programs conflict.
How do I fix error codes 2502 & 2503 on Windows 11?
Before proceeding with any steps to fix the issue, go through the following preliminary checks:
- Restart your computer.
- Run a deep scan using a reliable antivirus tool.
- Ensure no Windows updates are pending.
- Press Shift + Ctrl+ Esc to open Task Manager, right-click Windows Explorer, and select Restart.
- Right-click the program’s installer file and choose Run as administrator.
1. Run Program Install and Uninstall troubleshooter
- Visit this Microsoft support website and click Download troubleshooter.
- Double-click the setup file to run the Program Install and Uninstall troubleshooter.
- Click Advanced.
- Next, select Apply repairs automatically, and click Next.
- Select Uninstalling or Installing.
- Choose the program that is causing the issue and click Next.
- Next, select an option to proceed.
- If the fix available is appropriate for you, click Apply this fix. Once done, restart your PC to confirm the changes.
If not, then click Skip this fix, close the window, and proceed to next method.
2. Gain complete control of the Temp and Installer folder
First, let us make the system files visible.
- Press Windows + E to open the File Explorer.
- Go to This PC, and go to the system drive(one which has Windows installed)
- Click on the three dots and Options.
- Go to the View tab, locate Hide protected operating system files (Recommended), and remove the checkmark next to it.
- You will be prompted with a warning message; click Yes on it.
- Next, place a checkmark next to Show hidden files, folders, and drivers.
- Click Apply and OK.
Now, follow these steps to take ownership of the folders:
- In the system drive folder, navigate to the Installer folder.
- Right-click the file and select Properties.
- Switch to the Security tab and click Advanced. In case you get a user credentials prompt, enter the details and click OK.
- Locate Owner, and click Change.
- For Enter the object name to select field, type Everyone, click Check Names, then OK.
- On the Advanced Security Settings for Installer window, click Add.
- Next, click Select a principal on the Permission Entry for Installer page.
- Type Everyone in Enter the object name to select field, click Check Names, then OK.
- Click the check box next to Full Control, then click OK.
- Click Apply, and OK to save the changes.
Now locate the Temp folder and follow these 10 steps to grant full access to this folder as well.
This troubleshooter can fix all the unexpected errors related to installation, including Error 1603.
3. Restart your computer in a clean boot
- Press Windows + R to open the Run dialog box.
- Type msconfig and click OK to open the System Configuration.
- Go to the Services tab, select Hide all Microsoft services, and click Disable all.
- Switch to the Startup tab and click the Open Task Manager link.
- Now go to each Enabled item, select them individually, and click Disable.
- Close Task Manager, click Apply, then OK on the System Configuration window.
- Click Restart.
Your computer will restart with limited functionality and no third-party software interference; try to run the setup file to install the program.
Once done, reverse engineer the steps mentioned to regain the full functionality on your computer.
4. Restart the Windows Installer service
- Press Windows + R to open the Run dialog box.
- Type services.msc and click OK to open the Services window.
- Right-click Windows Installer service and click Restart.
5. Re-register the Windows Installer
- Press Windows + R to open the Run dialog box.
- Type in the following command to unregister the Windows installer service and click OK:
msiexec /unreg
- Open the Run window again, type this command to re-register the Windows installer service, and click OK:
msiexec /regserver
6. Run SFC & DISM scans
- Press the Windows key, type cmd, and click Run as administrator.
- To run the system file checker scan, type the following command to replace the corrupted files from the cache copy and press Enter:
sfc /scannow
- Copy & paste the following commands one by one to restore your Windows OS image from the Windows Component Store and hit Enter after every command:
- Restart your computer to let the changes take effect.
Repairing the corrupted system files can help you prevent issues like Microsoft Office error code 30204-44.
If you are facing the same issue, even after following all the steps, download the program installer from a reliable website and try again.
However, if nothing worked for you, try reinstalling Windows to repair all the corrupted files and fix the issue.
Windows Keyboard Layout Creator Error Code 2502 & 2503
To fix the Keyboard layout creator error codes 2502 & 2503, temporarily disable antivirus software, ensure system drivers are updated, and then follow the steps in Method 2 mentioned above.
Remember always to use an administrator account when performing installation or uninstallation processes.
If you are facing other issues related to Epic Games Launcher, such as Install Failed Error Code: II-E1003, read this post.
Did we miss a step that helped you? Don’t hesitate to mention it in the comment section below. We will happily add it to the list.
User forum
0 messages