Have WAMP start automatically upon Windows start-up (without logging on or any UAC interference)

安稳与你 提交于 2019-12-20 07:59:06

问题


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:

  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)

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!