lynncasiano
lynncasiano

Reputation: 901

XAMPP installation on Win 8.1 with UAC Warning

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 server does not start. I've also disabled my IIS but still, its not working. What should I do? enter image description here

Upvotes: 86

Views: 385872

Answers (10)

Blair Connolly
Blair Connolly

Reputation: 604

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.

Upvotes: 1

ivan.sim
ivan.sim

Reputation: 9288

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.

Upvotes: 103

keywan
keywan

Reputation: 21

  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

Upvotes: 2

Kaumadie Kariyawasam
Kaumadie Kariyawasam

Reputation: 1476

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.

Upvotes: -1

Tiago Peres
Tiago Peres

Reputation: 15602

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

Upvotes: 10

Sathishkumar
Sathishkumar

Reputation: 3763

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.

Upvotes: 1

Rubel Biswas
Rubel Biswas

Reputation: 1444

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

Upvotes: 1

Din Mohammed pabel
Din Mohammed pabel

Reputation: 49

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.

Upvotes: 4

FerdousDev
FerdousDev

Reputation: 511

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.

Upvotes: 51

Talha Imam
Talha Imam

Reputation: 1116

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.

Upvotes: 2

Related Questions