Can't install XAMPP software on PC [ULTIMATE GUIDE]

Reading time icon 3 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Can't install XAMPP software on PC

XAMPP is a popular Apache distribution for Windows and other platforms. The software is easy is to install on a Windows computer as it has tons of resources on how to install the software.

However, some users have reported that they are getting some errors during the XAMPP installation. The full error reads Because of an activated user account Control on your system some functions of XAMPP are possibly restricted.

This is a common error and you can fix it by following the troubleshooting tips given in this article. 

How to fix XAMPP Installation Error

1. Install XAMPP Outside of C: > Program Files

  1. Launch the XAMPP installer as admin.
  2. When the warning message appears, click OK.
  3. Now select the programs you want to install and click Next.
  4. XAMPP will now ask you to select the Installation folder. So, by default XAMPP will try to install the files in C:>Programs Files (x86) folder. You need to change it.
    Chagen XAMPP installation folder
  5. So click on the Browse button and select C: as the installation folder. Or create a new folder (C:>XAMPP_Installation )and select it as the destination. Note that the folder should not be in inside the C:>Program Files (x86) folder.
  6. Click on Next to proceed with the installation. Now you should be able to install XAMPP without any error.

The issue here is that installing XAMPP in the program files folder will require UAC permission to run each time. So, by installing it outside the folder, you are avoiding the UAC issues with the software.

Note: If you are creating a custom folder, make sure that you don’t include any spaces between the name of the folder.

3. Disable UAC (User Account Control) ( Less Safe)

  1. Press Windows Key + R to open Run.
  2. In the Run dialog box, type control, and press OK to open the Control Panel.
  3. Click on System and Security.
  4. Next, click on Security and Maintenance.
    Change UAC Setting for XAMPP
  5. From the left pane, click on “Change User Account Control settings”.
  6. In the UAC window, drag the slider to Never Notify and click OK to save the changes.
  7. If the UAC prompts you to allow changes, click Yes.
  8. Now try to run the XAMPP software installer and check if the error is resolved.

Note: Disabling UAC is not recommended by Microsoft as it exposes your computer to external threats. Only disable UAC if the other fixes did not resolve the issue.

4.  Remove Old XAMPP Installation

  1. Press Windows Key + R to open Run.
  2. Type control and press OK.

  3. In the Control Panel, go to Programs > Programs and Features.
  4. Select the XAMPP installation and click on Uninstall.
  5. Restart the system and run the XAMPP installer.

Follow the fixes given in this article and you should be able to install XAMPP without any errors.

More about the topics: windows 10 fix

User forum

0 messages