I frequently use the Command Prompt to execute some system functions (like iisreset, aspnet_regiis etc) which needs elevated rights.

Every time I start the Command Prompt, I right click on the CP icon Run As Administrator. So I wanted to change the Privilege Level in the properties (tab compatibility) but this is grayed out.

Is there a way to change the privilege level?

link|improve this question
feedback

2 Answers

up vote 1 down vote accepted

Not on a System file.

You could unhide the Administrator account, log into that account, then you don't need to use the "run as admin" on any program, it is done by default.

EDIT: Possible Solution:

Right click on cmd shortcut, select Properties, go to shorcut tab, hit advanced button, tick "run as administrator", hit Ok, Ok.

.

link|improve this answer
That would be an solution, only I'm connected to a domain. Haven't got enough points to upvote this answer though – rdkleine Jun 26 '10 at 11:14
feedback

You can change the Command Prompt shortcut to always run as Administrator under the Properties sheet → Shortcut tab → Advanced.

picture of Advanced button on properties sheet

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.