Sea*_*ong 5 windows-server-2012
我是 Windows Server 2012 计算机上本地管理员组的成员,但是当我尝试从命令提示符运行 IISReset 时,我得到:
Access denied, you must be an administrator of the remote computer to use this command. Either have your account added to the administrator local group of the remote computer or to the domain administrator global group.
Run Code Online (Sandbox Code Playgroud)
我已经在这台计算机上禁用了 UAC,并且我是通过远程桌面连接管理器进行 RDP 的,所以我不确定为什么计算机认为我不是本地管理员。
即使禁用了 UAC,您是否仍在使用管理命令提示符?
即使您已将 UAC 滑块移至“从不通知”,在正常命令提示符下也不存在以管理方式运行 IISRESET 的安全令牌。
您可以按照以下步骤操作:
完全禁用 UAC,然后尝试从普通的 cmd 提示符运行 IISRESET,但在任何服务器上完全禁用 UAC 都不是好习惯。
信用:http://www.nimbo.com/blog/how-to-disable-user-account-control-in-windows-server-2012/
| 归档时间: |
|
| 查看次数: |
22504 次 |
| 最近记录: |