cmd切换为administrator用户

runas /noprofile /user:Administrator cmd
  • runas 允许用户用其它权限运行指定的工具和程序
  • /noprofile 指定不应该加载用户的配置文件。
  • /user:UserAccountName 指定在其下运行程序的用户帐户的名称
posted @ 2016-09-26 19:48  妙音  阅读(2515)  评论(0编辑  收藏  举报