Web Development

AutoStart wampserver On Windows 10 Startup Automatically

Before I show you how to autostart wampserver, I’ll talk about it a bit.

Wampserver is one of the best stacks for web development on the Windows platform. I prefer it over xampp because of the handy tray menu that lets me access any configuration.

You can download wampserver from this website wampserver

The problem

Recently I’ve tried installing wampserver on Windows 10, and it went well but there was a little problem.

When I tried to autostart wampserver at Windows 10 startup, I put the wampserver shortcut on this path

C:\Users\YourUserName\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

I found that wampserver did not autostart with Windows.

I searched the web for a solution for that problem and I found the following:

The first solution suggests putting the wampserver shortcut on the above-mentioned path and as I told you that does not autostart wampserver.

The second solution suggested enabling the wampapache service and wampmysqld services from Windows services.

Go to Control Panel and type services in the search box, and it will open the services like this:

wampserver services
wampserver services

Select wampapache and set the startup type to automatic and do the same for wampmysqld and hit OK. When you reboot your machine, you will notice that both Apache and MySQL work.


So now I can autostart wampserver and everything is good.

Unfortunately, That solution does not show wampserver tray menu on the bottom.


Most of the wampserver users use it because they can quickly access everything from that tray menu including PHPMyAdmin, the www folder, PHP, Mysql and Apache configurations.

So I discovered the solution and I’d like to share it with you.

The Solution is to disable the UAC on Windows in order to make the program autostart with Windows.

If you go to Windows control panel and select user account control settings and change it to never notify that won’t work too.


The Solution

The solution is a bit tricky but super easy.

Because what we have done to disable the UAC does not disable it completely and in order to disable UAC you have to disable it from the registry.

Just type regedit in the Windows menu search and go to this node:



auto start wampserver
auto start wampserver

You will find a key named EnableLUA, set it’s value to zero and it will prompt you to restart the system.

You can save the following text as .reg file and run it as administrator and it will do the same job.


Keep in mind that disabling the UAC (User Access Control) is not a good idea, you may harm the system, but I suppose that you know what you are doing.


Mokhtar Ebrahim
I'm working as a Linux system administrator since 2010. I'm responsible for maintaining, securing, and troubleshooting Linux servers for multiple clients around the world. I love writing shell and Python scripts to automate my work.

Leave a Reply

Your email address will not be published. Required fields are marked *