How can i run cmd as administrator privileges by cmd command without using any shortcut of cmd?

bigbubble

I am trying to open Command Prompt as Administrator Privileges by using command line...Is it possible to make a open cmd to a Administrator privileged cmd??

Thanks

Shaggy89

there is a DOS command you can use to run as administrator in command line:

runas /profile /user:administrator “Driver:\folder\program”

For example, the administrator account is “AAA” and you want to run BBB.exe of C:\programs, you should do these

  1. Press Win key & R
  2. Input “CMD” in open box and click “OK”
  3. Input: runas /profile /user:AAA “C:\programs\BBB.exe”  and press “Enter”
  4. Input the password of administrator AAA
  5. Press “Enter”

found via a simple google search

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章