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 have a WIN7 computer with user which is in Administrator group. Let's call it MyUser. UAC turned ON. I have several services launched under local system. When I'm trying to start or stop these services via MyUser account from command prompt (without "Run as Administrator" option checked), I'm obviously have "Access denied" error.

But in the same time I have another computer with Windows-server 2008, where the command prompt under the same user (i.e. it's from Administrator group, but nothing more) launches by default as Administrator. And I can't understand HOW, because checkbox "Run as Administrator" in Shortcut->Advanced is turned off, so it's happened somehow else.

I want to do the same for Win7 computer. What I should do?

And small addition: Is it possible to do without notify user that Command prompt tries to start under administrator when UAC turned on?

share|improve this question
You can bypass UAC prompts by creating a task in the task scheduler that will open your command line or runs your command and tick the box "Run with highest privileges". To execute, you execute the task itself from the command line. – Satoh Apr 16 '13 at 15:05
One reason it works on the Windows Server 2008 is because thats based on Windows Vista. The same thing wouldn't work on Windows Server 2008 R2. – Ramhound Apr 16 '13 at 15:20

You must log in to answer this question.

Browse other questions tagged .