We gonna fix the XAMPP access denied error in windows by running the application as an administrator. You can just right-click xampp-control.exe and you can run as administrator each time whenever you start XAMPP or you can follow the below steps.
Go to the XAMPP application folder and right-click on xampp-control.exe file and Select Properties. It will open a new window it will be similar to the below-shown image and select Compatibility and check “Run this program as an administrator” and click on the ok button.
That’s it. you just fixed the issue. Now run XAMPP and see you will not get the error.
I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.