82

I am trying to install Xampp win32-1.8.2 on Windows 8.1. I get a message saying

Because an activated user account User Account on your system some functions of XAMPP are possibly restricted.

I've tried to change the user account control settings but still the warning is there. And the APACHE does not start. I've also disabled my IIS but still, its not working. What should I do? enter image description here

desertnaut
  • 57,590
  • 26
  • 140
  • 166
lynncasiano
  • 861
  • 1
  • 10
  • 10
  • Please consider marking the answer is accepted if it helped you. Thanks. – ivan.sim Jul 11 '15 at 17:21
  • Possible duplicate of [Netbeans installation doesn't find JDK](https://stackoverflow.com/questions/4914504/netbeans-installation-doesnt-find-jdk) – 1stthomas Jan 12 '18 at 09:18
  • Disable the UAC (User Account Control) before installing Xampp. Then install Xampp, ignore the message and continue the instalation. Run Xampp as adminstrator and activate Apache and MySQL ..it should run well ..... then enable UAC again. It works fine with me. Now every time I open Xampp with "Run as dminstrator" and it is ok. I have to add a disclaimer as I am just a regular user. – Gamal Thomas May 14 '20 at 09:13

10 Answers10

100

There are two things you need to check:

  1. Ensure that your user account has administrator privilege.
  2. Disable UAC (User Account Control) as it restricts certain administrative function needed to run a web server.

To ensure that your user account has administrator privilege, run lusrmgr.msc from the Windows Start > Run menu to bring up the Local Users and Groups Windows. Double-click on your user account that appears under Users, and verifies that it is a member of Administrators.

To disable UAC (as an administrator), from Control Panel:

  1. Type UAC in the search field in the upper right corner.
  2. Click Change User Account Control settings in the search results.
  3. Drag the slider down to Never notifyand click OK.

open up the User Accounts window from Control Panel. Click on the Turn User Account Control on or off option, and un-check the checkbox.

Alternately, if you don't want to disable UAC, you will have to install XAMPP in a different folder, outside of C:\Program Files (x86), such as C:\xampp.

starball
  • 20,030
  • 7
  • 43
  • 238
ivan.sim
  • 8,972
  • 8
  • 47
  • 63
  • 14
    What is "Turn User Account Control" it is not in the menu, and there is no on/off checkbox, i set the slider thing to never notify but after that I got lost, there is no checkbox. – Nicholas Ramsay Nov 21 '15 at 05:57
  • It shows `Found Path` in C:\program files and `Expected Path` in C:\xampp – MaYaNk Jul 22 '16 at 12:14
  • 3
    My user account is `Administrator` type user account, but, this error will appear.`important because an activated user account control uac on your system some functions of xampp` – moni123 Apr 20 '17 at 14:48
  • 5
    @moni123 Try install xampp into a `C:\xampp` instead of `C:\Program Files`. – ivan.sim Apr 20 '17 at 14:55
48

You can solve the issue by

  1. Ignore the warning and Install XAMPP directly under C:/ folder. It will solve your issue
  2. You can deactivate the UAC which i don't recommend. It's makes your PC less secure.
FerdousDev
  • 481
  • 4
  • 4
  • 2
    Thanks for this. The warning message from XAMPP was simply not explicit enough about *not installing XAMPP in C:/Program Files*. Your answer clears things up. – Amir Syafrudin Aug 10 '20 at 02:32
9

As ivan.sim writes in his answer

  1. Ensure that your user account has administrator privilege.
  2. Disable UAC(User Account Control) as it restricts certain administrative function needed to run a web server.
  3. Install in C://xampp.

Problem with the correct answer is in the explanation of point 2., and magicandre1981 writes more about it

Moving the slider down doesn't completely disable UAC since Windows 8. This is changed compared to Windows 7, because the new Store apps require an active UAC. With UAC off, they no longer run.


How can we then disable UAC and install XAMPP?

Easy. Go to Registry Editor and navigate to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

Registry Editor

Right click EnableLUA and modify the Value data to 0.

EnableLUA

Then restart your computer and you're ready to install XAMPP.

Installing XAMPP

XAMPP installed

XAMPP Control Panel

Tiago Martins Peres
  • 14,289
  • 18
  • 86
  • 145
  • 2
    Awsome! that really worked for me, Thanks – Abanoub Hany Feb 15 '22 at 10:42
  • 1
    I did enable it again after installing XAMPP. To change settings, I had to disable it (restart the computer), change settings in XAMPP, enable it (restart the computer). – Brambor Jul 31 '22 at 13:53
3

To disable UAC (as an administrator), from Control Panel:

Type UAC in the search button in your windows the upper right corner. Click the (Change User Account Control settings) in the search results. Drag the slider down and select Never notify and click OK.it will work.

2

There's nothing to be worried upon for this. Like other servers, install xampp somewhere outside of the default Program Files folder of Windows. It shall work fine.

I previously had wamp server installed on my machine and i never understood why wamp server installs itself outside of the default directory. Xampp cleared this, now i have both the servers lying outside the Program Files folder and are running fine.

Talha Imam
  • 1,046
  • 1
  • 20
  • 22
1

I had the same problem and had a different fix than what was listed in the other answer. I did install XAMPP under C:\xampp, and my user is an admin, but there was also something else.

I had to manually go give my user full access to the C:\Users\XAMPP\ directory. By default (at least on my machine) Windows did not give my admin user rights to this new user's directory, but this is where XAMPP stores all of it's config files. Once I gave myself full access to this, everything worked perfectly.

UPDATE

In retrospect, I think that I must have accidentally typed in "C:\Users\XAMPP" as the install folder during the installation process. So I think the most important thing is to make sure that the user you are actually signed into Windows as when you start XAMPP has full access to the folder that it was actually installed to.

desertnaut
  • 57,590
  • 26
  • 140
  • 166
Blair Connolly
  • 584
  • 2
  • 7
  • 21
  • Hi Blair, could you help me resolve this issue on Windows 8.1, am taking the full access to my Xampp folder(D:\xampp) using this link(http://windows.mercenie.com/windows-8/how-to-take-ownership-permission-of-a-file-or-folder-in-windows-8/) but not helpful. – Akshay Apr 08 '15 at 19:29
  • Which set of directions did you follow on that link? What let my installation work properly is outlined in the second section of your link , "How to change permission of a file or folder in Windows 8". But for full disclosure, I'm pretty sure I did not actually install my XAMPP installation under C:\xampp\, in retrospect I think that I just made a mistake when I was typing in the folder to install in, and actually told it to install to C:\Users\XAMPP\. So make sure that you are changing the permissions for the actual folder that xampp is installed in. – Blair Connolly Apr 14 '15 at 16:10
1

You can solve this problem by installing xampp in different Drive .Instead of C Drive .

Rubel
  • 1,255
  • 14
  • 18
1

I have faced the same issue when I tried to install xampp on windows 8.1. The problem in my system was there was no password for the current logged in user account. After creating the password then I tried to install xampp. It installed without any issue. Hope it helps someone in the feature.

Sathishkumar Rakkiyasamy
  • 3,509
  • 2
  • 30
  • 34
1
  1. Run win+R and type msconfig

  2. Then at tools box launch UAC

  3. Then set it on the lowest level

  4. Then press ok and continue your setup

  5. Finish

RusArtM
  • 1,116
  • 3
  • 15
  • 22
keywan
  • 11
  • 1
-1

change User Account Control setting via control panel

step 1 -: Go to control panel

step 2-: select 'user Accounts'

step 3-: select 'User Accounts' (Control Panel\User Accounts\User Accounts)

step 4 -: select 'Change User Account Control settings'

step 5 -: Drag the slider down to Never notify and after click ok.

Kaumadie Kariyawasam
  • 1,232
  • 3
  • 17
  • 35