by anticleon » 15. December 2020 07:14
I had the same problem and found a solution that worked for me. This is copy pasted from stackoverflow, posted by user Abner Samuel.
First, your user must have administrator permission.
Second, install Xampp outside of "program files", preferably install in C:\xampp (It usually comes with this by default).
Third, after installation (Before running Xampp), go to the C:\xampp directory, look for xampp-control.exe, right click on it, go to "properties" go to the "compatibility" tab and then check the "run as administrator" option.