简体   繁体   中英

UAC “missing write permissions” error while installing XAMPP on Windows Server 2012 R2

I am facing the following issue while installing XAMPP through a PowerShell script on Windows:

Important! Because an activated User Account Control (UAC) on your system some functions of XAMPP are possibly restricted. With UAC please avoid to install XAMPP to C:\\Program Files (x86) (missing write permisssions). Or deactivate UAC with msconfig after this setup. Error copying file from packed archive C:/xampp-win32-5.6.30-0-VC11-installer.exe to C:/xampp/service.exe Abort There has been an error. Unable to copy file

I have executed the PowerShell script from Jenkins.

I have alsoe disabled UAC, but still I am facing the same issue. How can I solve it?

Most probably UAC has not been effectively disabled. Try to edit this registry key:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

Set

EnableLUA

to

0x00000000

Also make sure you run everything as an Administrator.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM