Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Remote shutdown Access Denied (5)

15 Apr 2012   #1

Windows 7 Home Premium x64
 
 
Remote shutdown Access Denied (5)

I know this has been asked about a lot, but I've searched for a solution to my problem for a while know and I can;t get it to work. I have an asministrator account on both computers with the same password. I have tried to shut it down with the command itself and the GUI. It always returns with the same error: "DESKTOP-PC: Access is denied.(5)". I have downloaded psshutdown, but I don't really know how to use it. Any help will be appreciated. Thanks in advance!


My System SpecsSystem Spec
.

15 Apr 2012   #2

Windows 7 Ultimate x64 SP1
 
 

My System SpecsSystem Spec
16 Apr 2012   #3

Windows 7 Home Premium x64
 
 

Yes, as I stated above, I have searched Google and cannot find a solution there. That is the reason I'm asking my question here. I know that those are the commands for psshutdown, I have downloaded it, but I don't know what to do now.
My System SpecsSystem Spec
.


16 Apr 2012   #4

Windows 8 Core X64
 
 

Are you using the -p password -u user parameters with the PsShutdown command?

Also, read here: Access denied when using psShutdown and net use
My System SpecsSystem Spec
16 Apr 2012   #5

Windows 7 Home Premium x64
 
 

I haven't even gotten up to that yet. And yes I will use it when I try it, but I have only downloaded the PStools, I don't know what to do next/how to use them.
My System SpecsSystem Spec
17 Apr 2012   #6

Windows 8 Core X64
 
 

kegobeer gave you a link to the help for it. Did you read through that? If so, what specific questions do you still have?

I did a few google searches for how to use psshutdown and found one thread that had this in it:

psshutdown \\computername -u "Admin user name" -p "Admin password" -s -t 60 -m "Sorry, System Must Shut Down for Maintenance of Network"

The \\computername is the name of the computer you want to shutdown. Enter net view from a Command Prompt to see the available names.
I tried it and it worked, shut the computer down in 60 seconds.
Replace -s with -r and it will restart instead of shutting down.
My System SpecsSystem Spec
17 Apr 2012   #7

Windows 7 Home Premium x64
 
 

I get this error when I try to use the normal shutdown command. So my questions now is what to do with psshutdown. I have downloaded psTools, but I don't know what to do now. When I type in the Syntax into CMD it just tells me that the command is not recognized. So I am wondering how to use psshutdown. I have only downloaded it, I have not doe anything else with it.
My System SpecsSystem Spec
17 Apr 2012   #8

Windows 7 Ultimate x64 SP1
 
 

Come on now - you need to read the instructions! I posted a link to them! We can't do that for you, you have to do that for yourself.
My System SpecsSystem Spec
17 Apr 2012   #9

Windows 7 Home Premium x64
 
 

Okay let me explain this one more time. I already know that that's the command. I have seen all of that before. I have tried using that in CMD. It tells me that the command is not recognized. Is there something I must do between downloading psTools and entering that command into command prompt? Telling me multiple times that I need to re-read a link that you have sent me is not really being helpful.
My System SpecsSystem Spec
18 Apr 2012   #10

Windows 8 Core X64
 
 

You need to download PsShutDown then run it. It has to be placed either in the current directory when you open a Command Prompt or in a directory defined in the PATH environment variable.

If you downloaded PSTools then it is included in that package. The PsTools download package includes an HTML help file with complete usage information for all the tools.

You need to either add the directory (Folder) you unzipped PSTools in to your PATH statement or copy psshutdown.exe to the directory you want to run it form. Normally this would be C:\Users\xxxxxxxx, where xxxxxxxx is your account name.

The when you run psshutdown, you will no longer get a command not recognized error message.

Hope that helps.
My System SpecsSystem Spec
Reply

 Remote shutdown Access Denied (5)




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:51 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33