Windows 7 remote shutdown: Access denied(5) [closed]

断了今生、忘了曾经 提交于 2019-12-02 17:33:33

You can use the NET USE command to authenticate on the remote server and then use shutdown.exe

NET USE \\MyServer\IPC$ mypassword /USER:myuser

http://www.squidworks.net/2011/07/how-to-pass-a-username-and-password-to-windows-shutdown-exe-command/

This does not work with UAC enabled, unless the policy LocalAccountTokenFilterPolicy is enabled on the remote server.

When a user who is a member of the local administrators group on the target remote computer establishes a remote administrative connection by using the net use * \remotecomputer\Share$ command, for example, they will not connect as a full administrator. The user has no elevation potential on the remote computer, and the user cannot perform administrative tasks.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!