5
votes

Does psexec work against Windows 10 remote hosts? I'm running psexec from a Windows 7 machine. When the remote host is Windows 8.1, it works, when the remote host is Windows 10, it fails as below:

C:\Windows 7>psexec -h -u Admin -p passwordHere -n 280 \xxx.xx.xxx.xxx ipconfig

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

Could not start PSEXESVC service on xxx.xxx.xxx.xxx: The remote procedure call failed and did not execute.

Any clues appreciated.

2

2 Answers

4
votes

Found this on a Microsoft forum, worked for me.

Open regedit from start. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

Add REG_DWORD (32 bit) LocalAccountTokenFilterPolicy and set value to 1.

-2
votes

You must run psexec on the remote machine and accept the end-user agreement (EUA) before running psexec remotely. This can also be done by adding '-accepteula' switch to your command or by editing the remote machine's registry (less recommended).