psexec fails against windows 10 remote target

luminous picture luminous · May 11, 2016 · Viewed 9.5k times · Source

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.

Answer

Tim picture Tim · Mar 9, 2018

Found this on a Microsoft forum, worked for me.

Open regedit from start. Go to HKEY_LOCAL_MACHINE -> Software -> Microsoft -> Windows -> Current version -> Policies -> System

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