我是 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 的,所以我不确定为什么计算机认为我不是本地管理员。