PsExec,与 PsExec 服务建立通信时出错

Fer*_*roc 5 windows psexec

如果我尝试使用 PsExec(psexec \\MyServer cmd,没什么特别的),我会收到以下错误

PsExec v2.1 - Execute processes remotely
Copyright (C) 2001-2013 Mark Russinovich
Sysinternals - www.sysinternals.com

Error establishing communication with PsExec service on MyServer:
Das System kann die angegebene Datei nicht finden.
Run Code Online (Sandbox Code Playgroud)

(最后一部分翻译:系统找不到指定的文件)

PsInfo 返回:

System information for \\MyServer:
Uptime:                    346 days 22 hours 24 minutes 18 seconds
Kernel version:            Windows Server 2012 Standard, Multiprocessor Free
Product type:              Standard Edition
Product version:           6.2
Service pack:              0
Kernel build number:       9200
Registered organization:
Registered owner:          Windows User
IE version:                9.0000
System root:               C:\Windows
Processors:                1
Processor speed:           2.9 GHz
Processor type:            Intel(R) Xeon(R) CPU           X5670  @
Physical memory:           2 MB
Video driver:              VMware SVGA 3D
Run Code Online (Sandbox Code Playgroud)

现在我读到我应该终止服务器上的 PSEXESVC 进程,停止服务并删除服务。我这样做了,但是一旦我重试它,它就会重新创建服务并继续运行。

我们还尝试禁用病毒扫描程序以进行简短测试,但这也不起作用。

最好的事情是:它在 2 天前起作用了!

我没有想法,也许其他人可以给我一个提示?

小智 2

我遇到了同样的问题,经过一番尝试和错误后,我设法使用以下冗长的命令使其正常工作;

"\\server\psexec location\PSExec.exe" \\server.DOMAIN.com -u username -p password -e -s cmd
Run Code Online (Sandbox Code Playgroud)

因此,我必须指向远程 PSExec.exe,然后指定服务器以及我的网络域名。我还必须提供我的用户名和密码,但以更高的权限运行(-e -s)。

搏一搏!