psexec 是否适用于 Windows 10 远程主机?我正在从 Windows 7 机器运行 psexec。当远程主机是Windows 8.1时,它可以工作,当远程主机是Windows 10时,它会失败,如下所示:
C:\Windows 7>psexec -h -u Admin -p passwordHere -n 280\xxx.xx.xxx.xxx ipconfig
PsExec v2.11 - 远程执行进程
版权所有 (C) 2001-2014 Mark Russinovich
Sysinternals - www.sysinternals.com
无法在 xxx.xxx.xxx.xxx 上启动 PSEXESVC 服务:
远程过程调用失败且未执行。
任何线索表示赞赏。
最佳答案
在微软论坛上找到了这个,对我有用。
从一开始就打开regedit。转至 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
添加 REG_DWORD(32 位)LocalAccountTokenFilterPolicy
并将值设置为 1
.
关于shell - psexec 针对 Windows 10 远程目标失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37151412/