Windows 7远程关闭:访问被拒绝(5) [英] Windows 7 remote shutdown: Access denied(5)
问题描述
我尝试从笔记本电脑强制远程关机到我的电脑:
I am trying to force a remote shutdown from my laptop to my PC:
machine> shutdown -m \\192.168.2.10 -s -f -t 0
192.168.2.10: Access denied(5)
我在WLAN / LAN环境中:
I am in a WLAN/LAN environment:
- 笔记本电脑在WLAN中,IP
192.168.2.100
(DHCP),Win 7(64位) - PC通过LAN连接
192.168.8.10
(static),Win 7(32 bit) - 路由器IP
192.168.2.1
/ Subnetmask255.255.255.0
- Laptop is in WLAN with IP
192.168.2.100
(DHCP), Win 7 (64 bit) - PC is connected via LAN
192.168.8.10
(static), Win 7 (32 bit) - Router IP
192.168.2.1
/Subnetmask255.255.255.0
访问PC受到用户名和密码的限制。
Access to PC is restricted by username and password.
我必须对命令或系统配置进行哪些更改?访问限制必须保持不变?
What do I have to change about the command or about the systems configurations - whilst access restrictions have to remain as is?
推荐答案
您可以使用 NET USE 命令在远程服务器上进行身份验证,然后使用shutdown.exe
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 /
除非在远程服务器上启用了 LocalAccountTokenFilterPolicy 策略。
This does not work with UAC enabled, unless the policy LocalAccountTokenFilterPolicy is enabled on the remote server.
当目标远程计算机上的本地管理员组成员的用户使用net use * \remotecomputer\Share $命令建立远程管理连接时,则它们不会作为完全管理员连接。用户在远程计算机上没有升高潜力,并且用户无法执行管理任务。
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.
这篇关于Windows 7远程关闭:访问被拒绝(5)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!