Installing XAMPP on Windows 7 & User Account Control (UAC) Warning Message

xampp php programmingI’m writing this post to share with you about what I did when I got a confusing but important warning message when installing XAMPP on Windows 7. I hope this post will help clear the doubts if you also encounter the same error message in when trying to install XAMPP.

Today, in order to do some PHP programming I downloaded the XAMPP package software from apachefriends.org. As they say in the download instructions it was very easy to install the XAMPP software bundle and I was soon able to start on my PHP programming. However while installing it on my laptop which has got Microsoft Windows 7 it gave the following warning or error message.

XAMPP 1.8.1 win32 Installation Warning Message
“Important! Because an activated User Account Control (UAC) on your system some functions of XAMPP are possibly restricted. With UAC please avoid to intall XAMPP to C:\Program Files (missing write permissions). Or deactivate UAC with msconfig after this setup.”

This message troubled my mind. I’m completely new to XAMPP and I didn’t know what to do. So I copied the entire message into Google and did a searched about it. I found several blog post and forum threads written by people who had encounted the same annoying message. There were also instruction post like this one at howtogeek.com. (Apparently this same warning message may come when installing XAMPP in Windows Vista too.)

But even after reading those I wasn’t sure what is the proper steps to take. As far as I was able to figure out there were 2 main things that should be done by someone who encounters this warning message when installing XAMPP. The first is easy and straightforward but I’m not sure about the second advice.

Advice No.1

The first general advice I figured out from those blog posts and forum discussion threads about this warning message is this. That is you should avoid installing the XAMPP software bundle inside a folder or sub-folder of your hard disk drive (e.g. like C:\Program Files). Instead you should install XAMPP directly on a Drive. (i.e. like C:\ or D:\).

Advice No.2

The second advice that was given was to disable the function of “User Account Control (UAC)” on Windows 7. However they have warned us that “Disabling UAC will lead to a less secure system”. So we have been warned!

How To Disable User Account Control (UAC) on Windows 7?

According to the instruction they had given I simply went to

  • Start Menu –> Control Panel–> In the Control Panel search box just type User Account Control.
  • Then you will get the results among which I found;
  • “Change User Account Control Settings”
  • In this User Account Control Settings Form you will find a slider that controls the level of notification messages you want when changes are done to your computer.

If you drag the slider all the way down to the bottom, you’ll have disabled it entirely. In my case the slider was at the level above disabling, which is, “Notify me only when programs try to make changes to my computer”.

According to what I read in the above mentioned links I gathered that it is safe to leave my settings at this level and not to disable this UAC messages completely. So I decided to take a chance and leave it like that and go ahead and install XAMPP. I don’t know whether it is the right move but I left the User Account Control Settings at minimum without disabling it and installed XAMPP. So far I there hasn’t been any problem for me and I’m able to do my PHP programming without any trouble.

Written by: Aksam Zarook
Aksam Zarook is a web designer, developer, online marketer and founder of Zeeron Solutions. With nearly 11 years of work and business experience he excels in web design, web development, graphic design and Internet marketing. He is also a family man with two adorable little kids and rides a motorbike.

Join Discussion Now!

21 comments on “Installing XAMPP on Windows 7 & User Account Control (UAC) Warning Message

  1. Sir, I install window7 in 32 bit machine when I install xampp 1.7.4 come errors I could not solve user account control setting plz help me

  2. Rajnish,
    To help you I need more information. What does the error messages you get say?

    Also did you follow both the above advices and instruction and see what happens?

  3. I can not start Apache because of the problem mentioned below.
    I can not understand how to solve it. Any body help me, please.

    3:07:06 PM [main] Initializing Control Panel
    3:07:06 PM [main] Windows Version: Windows 7 Ultimate 32-bit
    3:07:06 PM [main] XAMPP Version: 1.8.3
    3:07:06 PM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
    3:07:06 PM [main] You are not running with administrator rights! This will work for
    3:07:06 PM [main] most application stuff but whenever you do something with services
    3:07:06 PM [main] there will be a security dialogue or things will break! So think
    3:07:06 PM [main] about running this application with administrator rights!
    3:07:06 PM [main] XAMPP Installation Directory: “c:\xampp\”
    3:07:06 PM [main] Checking for prerequisites
    3:07:07 PM [main] All prerequisites found
    3:07:07 PM [main] Initializing Modules
    3:07:07 PM [Apache] Problem detected!
    3:07:07 PM [Apache] Port 80 in use by “Unable to open process” with PID 4!
    3:07:07 PM [Apache] Apache WILL NOT start without the configured ports free!
    3:07:07 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
    3:07:07 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
    3:07:07 PM [main] Starting Check-Timer
    3:07:07 PM [main] Control Panel Ready
    3:08:54 PM [Apache] Problem detected!
    3:08:54 PM [Apache] Port 80 in use by “Unable to open process” with PID 4!
    3:08:54 PM [Apache] Apache WILL NOT start without the configured ports free!
    3:08:54 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
    3:08:54 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
    3:08:54 PM [Apache] Attempting to start Apache app…
    3:08:54 PM [Apache] Status change detected: running
    3:08:56 PM [Apache] Status change detected: stopped
    3:08:56 PM [Apache] Error: Apache shutdown unexpectedly.
    3:08:56 PM [Apache] This may be due to a blocked port, missing dependencies,
    3:08:56 PM [Apache] improper privileges, a crash, or a shutdown by another method.
    3:08:56 PM [Apache] Press the Logs button to view error logs and check
    3:08:56 PM [Apache] the Windows Event Viewer for more clues
    3:08:56 PM [Apache] If you need more help, copy and post this
    3:08:56 PM [Apache] entire log window on the forums

    1. I ran into the same error and navigated to the program folder (hover over the start button) then open the XAMPP folder – Right click and run XAMPP as administrator.

  4. I reduced the security level of UAC but this broke the metro display in Windows 8 which I have not been able to recover. There a pages of information about this in forums. My advice would be do not change UAC settings.

  5. 10:45:32 AM [main] Windows Version: Windows 7 Professional SP1 32-bit
    10:45:32 AM [main] XAMPP Version: 7.0.1
    10:45:32 AM [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
    10:45:32 AM [main] You are not running with administrator rights! This will work for
    10:45:32 AM [main] most application stuff but whenever you do something with services
    10:45:32 AM [main] there will be a security dialogue or things will break! So think
    10:45:32 AM [main] about running this application with administrator rights!
    10:45:32 AM [main] XAMPP Installation Directory: “c:\xampp\”
    10:45:32 AM [main] Checking for prerequisites
    10:45:32 AM [main] All prerequisites found
    10:45:32 AM [main] Initializing Modules
    10:45:32 AM [main] Starting Check-Timer
    10:45:32 AM [main] Control Panel Ready
    10:46:05 AM [Apache] Attempting to start Apache app…
    10:46:05 AM [Apache] Status change detected: running
    10:46:15 AM [Apache] Status change detected: stopped
    10:46:15 AM [Apache] Error: Apache shutdown unexpectedly.
    10:46:15 AM [Apache] This may be due to a blocked port, missing dependencies,
    10:46:15 AM [Apache] improper privileges, a crash, or a shutdown by another method.
    10:46:15 AM [Apache] Press the Logs button to view error logs and check
    10:46:15 AM [Apache] the Windows Event Viewer for more clues
    10:46:15 AM [Apache] If you need more help, copy and post this
    10:46:15 AM [Apache] entire log window on the forums

    1. and a message says that : The program can`t start because api-ms-win-crt-runtime-|1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem. but i have install this program 3 times

  6. When I install xampp 7.0.1 or 7.0.2 MySQL run fine but apache give this error when start apache
    The program can`t start because api-ms-win-crt-runtime-|1-1-0.dll is missing from your computer. – Try reinstalling the program to fix this issue.
    For this resolving issue I search many site and forum many are says please install Microsoft visual C++. I install it many time 32 bit and 64 bit also, update windows also and format window. but not get solution. If any one know reply this.

    Thanks.

  7. Thank you, thank you, thank you!
    I was getting crazy, trying to run xampp on windows (on linux it was so easy… :o)
    Now that it is working, and finally I do not have to fight with wamp just to code something ^ ^

  8. when i was installing the xampp succesfully installed but in that control panel apache and my sql options are not working im trying to check that apache and my sql but it does not work and it is not displaying on services field.kindly give the solution for this problem.

  9. wow,i have been over this for days.Worked perfectly for me.

    I even went all the way down on the UAC slider and installed xampp successfully. Then went back and return the slider in UAC back up, works fine.

    Thanks.

Leave a Reply