shell - psexec 针对 Windows 10 远程目标失败

标签 shell windows-10 remote-access psexec sysinternals

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/

相关文章:

bash - 在 Bash : [ -n "$var" ] or [ "$var" ] 中测试非零长度字符串

linux - 如何正确使用sed命令替换包含/分隔符的值

delphi - 安装适用于 Windows 10 的 Delphi 5

hadoop - 无法打开 localhost :8088. 尝试在 Windows10 上安装 Hadoop3

mysql - 错误 2003 (HY000) : Can't connect to MySQL server (111)

sql-server - SQL 服务器 2008 R2 : how to disable the remote access only for the user "sa"?

mysql - 为什么执行MySQL命令后反斜杠会转义

linux - 如何使用 glob 模式查找具有两个以上字母但不以特定两个字母开头的单词以进行 tcsh 文件匹配?

javascript - 您可以在 Windows 10 上使用 JavaScript 在 Edge 和 IE11 中检测到 "Tablet Mode"吗?

python - 数据库远程访问不适用于学校互联网