相关疑难解决方法(0)

如何从命令行在 Windows7 上以管理员身份运行命令?

我需要以管理员身份tscon.exe 0 /dest:console远程运行=不是在 Windows7 上手动运行。更多信息在这里如何在 Windows7 上使用 tscon?

我做了我的研究和

  • 选项 1 - 符文

对于计算机上的用户root(无密码)酸奶作品

C:\>runas /user:yogurt\root cmd
Enter the password for yogurt\root:
Attempting to start cmd as user "yogurt\root" ...
Run Code Online (Sandbox Code Playgroud)

对于计算机上的用户管理员(我认为密码也为空),酸奶不起作用。我被要求输入密码,按回车键

C:\>runas /user:yogurt\administrator cmd
Enter the password for yogurt\administrator:
Attempting to start cmd as user "yogurt\administrator" ...
RUNAS ERROR: Unable to run - cmd
1327: Logon failure: user account restriction. Possible reasons are blank passwo
rds not allowed, logon …
Run Code Online (Sandbox Code Playgroud)

windows permissions windows-7 runas

6
推荐指数
1
解决办法
4万
查看次数

标签 统计

permissions ×1

runas ×1

windows ×1

windows-7 ×1