Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

psexec fails against windows 10 remote target

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.

like image 538
luminous Avatar asked Oct 30 '22 03:10

luminous


1 Answers

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.

like image 69
Tim Avatar answered Dec 31 '22 14:12

Tim