Page 1 of 1

psShutdown access denied error message

Posted: Thu Sep 17, 2015 9:36 am
by admin
When using psShutdown (part of psTools) to shut down PC over network get error message:-

Couldn't access \\NameOfPC access denied.
If \\NameOfPC is already performing a shutdown operation you must abort it before issuing a different command.


regedit as administator on PC to be shutdown

HLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

New DWORD(32) / edit existing

name:- LocalAccountTokenFilterPolicy
set value to:- 1


===========================================================

psShutdown example comandline

psshutdown -f -t 5 -v 3 -m "message to display" -u Username -p Password \\NameOfPC



pstools avaialble from https://technet.microsoft.com/en-us/sys ... 96649.aspx