-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Printers
- Printer Setup, Software & Drivers
- error codes 2502 and 2503 when uninstalling HP printer softw...

Create an account on the HP Community to personalize your profile and ask a question
05-22-2020 12:46 PM
These 2502 and 2503 errors are because a program needs to install using the temp folders and they do not have permission to do so. I have been doing IT for 35+ years and my son wanted to install Minecraft the Java Edition and didn't want the Windows 10 version. After all, he paid for it. This fix is easy and universal for 2502 and 2053 errors.
These next steps give permissions to the temp folder to fix not having those errors. "Game Over" computer! Hi Score, me, cyanohydrax.
Press the Windows key on the keyboard and while holding that key down, press the letter "R"
The Run command will display
type cmd
Hold the control key + the shift key and while holding both of those keys, use the mouse to click the OK button
Answer Yes if you are prompted with a Yes/No question
copy and paste these commands
takeown /f "%systemroot%\Temp" /R /A /D Y
icacls "%systemroot%\Temp" /inheritance:r /grant:r Users:(OI)(CI)F /T
icacls "%systemroot%\Temp" /inheritance:r /grant:r Everyone:(OI)(CI)F /T
icacls "%systemroot%\Temp" /grant Administrators:F /T
icacls "%systemroot%\Temp" /grant Users:F /T
icacls "%systemroot%\Temp" /grant SYSTEM:F /T
icacls "%systemroot%\Temp" /grant Everyone:F /T
takeown /f "%temp%" /R /A /D Y
icacls "%temp%" /inheritance:r /grant:r Users:(OI)(CI)F /T
icacls "%temp%" /inheritance:r /grant:r Everyone:(OI)(CI)F /T
icacls "%temp%" /grant Administrators:F /T
icacls "%temp%" /grant Users:F /T
icacls "%temp%" /grant SYSTEM:F /T
icacls "%temp%" /grant Everyone:F /T
Done. No reboot necessary.
- cyanohydrax
Question | Author | Posted | |
---|---|---|---|
01-25-2024 03:34 PM | |||
02-18-2024 08:37 PM | |||
01-29-2019 12:16 PM | |||
05-28-2023 11:47 AM | |||
12-19-2023 08:23 AM | |||