Skip to content

Fix XAMPP Errors On Quit (2 Ways)

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.

XAMPP error on quit

XAMPP error on quit

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:

  1. Right-click on xampp-control.exe file
  2. Select Properties
  3. Select Compatibility
  4. Tick the Run this program as administrator
  5. Click OK.

Run XAMPP as administrator on Windows step by step

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

  1. Right-click on xampp-control.ini
  2. Select Properties
  3. Select Security
  4. Click Edit
  5. Change from Read to Modify
  6. Click OK
  7. Re-open XAMPP and try to quit it

Fix XAMPP errors on quit. Step by step guide

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.   
  

Comments

Tags: