psShutdown access denied error message

Post Reply
admin
Site Admin
Posts: 15
Joined: Tue Apr 05, 2011 12:19 pm

psShutdown access denied error message

Post 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
Post Reply