View unanswered posts | View active topics It is currently Thu May 24, 2018 6:43 am



Reply to topic  [ 1 post ] 
 psShutdown access denied error message 
Author Message
Site Admin

Joined: Tue Apr 05, 2011 12:19 pm
Posts: 11
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/sysinternals/bb896649.aspx


Thu Sep 17, 2015 9:36 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.