So you’re trying to quit XAMPP and you’re getting these errors:
Error: Cannot create file "C:\xampp\xampp-control.ini"
Access is denied
Exception EAccessViolation in module xampp-control.exe at 0025B292.
Access Violation ad address 0065B292 in module 'xampp-control.exe'. Read of address 00000042.
To close the errors you have to end XAMPP’s process using the Task Manager. Clicking on the OK or X buttons won’t work.
Once you close XAMPP’s process, let’s see how we can fix the errors.
Run XAMPP as Administrator
The first possible fix would be to run XAMPP as Administrator:
- Right-click on
xampp-control.exe
file - Select Properties
- Select Compatibility
- Tick the Run this program as administrator
- Click OK.
Re-open XAMPP and try to quit it.
If you’re not getting any errors, then the issue is fixed and you are good to go!
If you’re still getting the errors or for some reason, you cannot run XAMPP as Administrator, please read on.
🎥 Check out this step-by-step video guide:
Modify User permission
- Right-click on
xampp-control.ini
- Select Properties
- Select Security
- Click Edit
- Change from Read to Modify
- Click OK
- Re-open XAMPP and try to quit it
That’s all 💜
Let me know what you think about this article in the comments section below.
If you find this article helpful, please share it with others and subscribe to the blog to support me, and receive a bi-monthly-ish e-mail notification on my latest articles.