Possible Duplicate:
On Win7, is there a Command Prompt line that can start cmd as an Administrator?
Is it possible to force cmd.exe to always run with Admin rights?
Is it possible to force cmd.exe to always run with Admin rights? | |||||
feedback
|
This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ.
|
(If you are in Vista or Windows 7)
this method will run any app as administrator | |||
feedback
|
|
In Windows Vista/7 follow these steps to always run the command prompt as an administrator:
Now, when you launch a Command Prompt from the Start Menu, UAC will prompt you for administrative privileges. | |||||
feedback
|
|
If you're using Windows XP, you could create a short cut to cmd.exe in the Quick Launch area and then right click -> Properties and change the Target field. You would preface the command with "runas /noprofile /user:DOMAIN\USERNAME". The full text of the command on my computer is "C:\WINDOWS\system32\runas.exe /noprofile /user:DOMAIN\USERNAME %SystemRoot%\system32\cmd.exe". | |||||
feedback
|