Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just set up Dexpot to start WampServer automatically when I enter a new desktop. The problem is that I've hidden my taskbar, and WampServer needs administrative rights. So I have to use Alt-Tab to get to the "Give admin rights" box, and accept it. This is not as automatically as I want. Is it possible to give WampServer admin rights every time automatically?

share|improve this question
Why not run WAMP server as Service?? – Akshat Mittal Jun 23 '12 at 10:12
up vote 13 down vote accepted

Open Run (Windows Key + R) and type taskschd.msc. Now click create task. You'll see a window like this. Give your task a name, and select the option named Run with highest privileges. You may also give the task a description and/or change the user (Though if the user doesn't have administrator rights, you'll run into issues).

Create task window

When you're done giving it a name and setting Run with highest privileges, go to the actions tab and hit the New button. You will now see a window like this, click Browse and find the location of your WAMP server application and click ok. Add any arguments if you need.

Create an action

You can now run this application from Task Scheduler however it makes it easier to have a shortcut.

Navigate to your desktop or a folder where you want a shortcut to launch WAMP and right-click, then click new then click shortcut. Now, when it says What item would you like to create a shortcut for? type in the bar schtasks /run /tn “taskname”. Replace taskname with the name you gave the task you created.

You can now run the shortcut you created and you won't get any UAC dialogues.

share|improve this answer
Hi Adam, sorry for waking up this old thread, i did those steps, and everything is working fine, however the tray icon doesn't show up using this method, is it normal? is there any workaround for this? – DannyG Jan 21 '15 at 16:23
@DannyG I wouldn't think so considering it's not ran on your user. – Mythrillic Jan 23 '15 at 5:53
i didn't quite understand what you mean, can you possibly clarify? – DannyG Jan 24 '15 at 17:07
@DannyG I believe what Adam meant was that because the WAMP GUI was started by the Administrator user you don't see the GUI icon in the taskbar when you're logged in as a different user . I'm still looking for a way around this. (this comment is for posterity as this question is highly ranked on Google) – Night Owl Jul 30 '15 at 22:53
@NightOwl yeah, it's an old comment too right now, i got it, i have WAMP running an all stations without GUI, haven't found a workaround for this, but tbh haven't tried much either. – DannyG Jul 31 '15 at 13:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .