让 WAMP 在 Windows 启动时自动启动(无需登录或任何 UAC 干扰)

我希望有 WAMP 启动时,我打开电脑。理想情况下,它甚至不需要用户登录就可以启动。我已经将 WAMP 添加到注册表中的启动程序中,但是用户需要已经登录,而 UAC 仍然在扮演这个恼人的角色。

有没有一种不用登录或 UAC 干扰就能完成的方法?

谢谢。

101106 次浏览

Follow these instructions to start the appropriate WAMP services on start-up. UAC will not interfere here and there is no need to log in to start your web-server:

  1. Log in as an administrator.

  2. Start -> Run "services.msc"

  3. Right click the service wampapache (may also be called wampapache64). Go to properties and set start-up type to 'Automatic'

  4. If you want MySQL to also be available on startup, then repeat step 3 for wampmysqld (or wampmysqld64)

enter image description here

Tried and tested on Windows 7-10

1) Open Task Scheduler
2) Under "Action" > Create a Task
3) Give some name
4) Trigger > New > Begin The Task > “At Startup”
5) Actions > New > Browse > c:\wamp\wampmanager.exe
6) Hit OK
7) Restart and Check

1) What you need is to create a batch file with path of wampserver.exe 2) Make Windows Task Scheduler Run the Batch file 3) Open Startup:shell to make the batch file run automatically when the computer Start 4) Disable UAC put it on NERVER NOTIFY mode so that you don't have message when Wamp Server starts.

I found a blog that gave all the steps plus video here: https://ddroid509ht.blogspot.com/2019/07/open-wamp-server-on-startup.html