Error installing XAMPP: Windows cannot find -n
Change your registry settings.
- Open Registry Editor by pressing Windows + R key combination, type in
regedit
and press Enter.- If prompted by UAC, click on Yes to continue.
- Go to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
- In right-side pane, look for a
EnableLUA
and set the value to 0 and close Registry Editor.- Restart your computer.
Source: windows10update.com
Then type in XAMPP shell:
setup_xampp.bat