With UAC please avoid installing XAMPP to C:\Program Files warning ?

This tutorial guides you on how to deal with warning message “Important! Because an activated User Account Control (UAC) on your system some functions of XAMPP are possibly restricted. With UAC please avoid installing XAMPP to C:\Program Files (missing write permissions). Or deactivate UAC with msconfig after this setup.

Warning: With UAC please avoid installing XAMPP to C:\Program Files

After downloading XAMPP for windows, I ran the following installer.


Right after running the above installer I end with the following warning popup.

This warning popup says that there is an activated UAC on your windows machine. If there is an activated UAC some functions of XAMPP may not work. Therefore, either you need to deactivate UAC via msconfig after XMPP installation is completed or you need to install XAMPP in different path other than “C:\Prograim Files” path.


User Account Control (UAC) is a mandatory access control enforcement feature introduced with Microsoft’s Windows Vista and Windows Server 2008 OS and a more relaxed version also present in Windows 7, Windows Server 2008 R2, Windows 8, Windows Server 2012 and Windows 10.

The purpose of UAC is to improve Microsoft Windows Security by limiting application software to standard user privileges until an administrator authorizes an increase or elevation.


With UAC feature in windows, it stores config files in a user folder that is tied to an user account. Therefore different users may have different configs. And config files won’t be saved in the same folder where executables are saved. Though the C:\Program Files\<application> path has some files it may not contain all the files, and UAC customize folder for every user to store few other files which are user specific.

XAMPP does not like to have different config tied to different users. XAMPP wanted to make projects same for all users. Due to this conflict XAMPP throws an warning which says “With UAC please avoid install XAMPP to C:\Program Files”.

What you need to do ?

Just avoid installing XAMP into C:\Program Files path. Instead you can choose some other path as shown below.


Note, before you choose alternate path, ensure you click “OK” button in the warning message popup and proceed installing XAMPP in some other directory.

That’s it. Hope it helped 🙂

Also See:


1 Comment
Newest Most Voted
Inline Feedbacks
View all comments
Luis Alejandro
Luis Alejandro
9 months ago

Thanks bro. On July 2021 still works!

Last edited 9 months ago by Luis Alejandro