问题
I'm looking to have WAMP start when I switch on the computer. Ideally it would start without users even having to log on. I've added WAMP to the start-up in the registry but a user needs to have logged on and UAC is still playing it's annoying part.
Is there a way to accomplish this without logging on or UAC interfering?
Thanks.
回答1:
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:
Log in as an administrator.
Start -> Run "services.msc"
Right click the service wampapache (may also be called wampapache64). Go to properties and set start-up type to 'Automatic'
If you want MySQL to also be available on startup, then repeat step 3 for wampmysqld (or wampmysqld64)
Tried and tested on Windows 7-10
回答2:
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
回答3:
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
来源:https://stackoverflow.com/questions/13761340/have-wamp-start-automatically-upon-windows-start-up-without-logging-on-or-any-u