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 | Well-known "Acces is denied (5)"


08 Oct 2012   #1

Windows 7 Ultimate x64
 
 
Remote Shutdown | Well-known "Acces is denied (5)"

Hi sevenforums !

So here is my question. I'm on my network at home, and i've 2 computers, running windows 7 ultimate x64, on same workgroup. I'm on an account with admin rights (i'm not on admin account, but that's the same, it doesn't work) and i'm trying to remotely shutdown pc1 from pc2.

I don't want to use any software, just the windows command prompt. But i've always this fu*** message : access is denied (5).

Here's what i tried :
- Go on admin accounts
- Allow "remote use" from control panel
- Go on same workgroup
- Change local policies for "everyone" in "Remote shutdown"
- Edit registry key (forceguest)

And I don't want to turn off my uac.

It's annoying, i'm trying to do this since one year i think ! Any idea ?

** Excuse my bad english, i'm french **

My System SpecsSystem Spec
.

08 Oct 2012   #2

7 x64
 
 

Try this in a BAT file.

shutdown -m \\YourPCNameHere -r -t 5 -f

Works for me on both XP and Win 7 to shutdown LAN PCs.
My System SpecsSystem Spec
08 Oct 2012   #3

Windows 7 Ultimate 64 bit
 
 

Quote   Quote: Originally Posted by edwar View Post
Try this in a BAT file.

shutdown -m \\YourPCNameHere -r -t 5 -f

Works for me on both XP and Win 7 to shutdown LAN PCs.
Do you have to do this every time you want to remote shutdown?
My System SpecsSystem Spec
.


08 Oct 2012   #4

Windows 7 Ultimate x64
 
 

Thanks, but i know the command. That's why i'm asking for help --' .
My System SpecsSystem Spec
08 Oct 2012   #5

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by bassfisher6522 View Post
Do you have to do this every time you want to remote shutdown?
Yes, but then you'll just have to open the batch file to use it.
My System SpecsSystem Spec
08 Oct 2012   #6

7 x64
 
 

Quote   Quote: Originally Posted by bassfisher6522 View Post
Quote   Quote: Originally Posted by edwar View Post
Try this in a BAT file.

shutdown -m \\YourPCNameHere -r -t 5 -f

Works for me on both XP and Win 7 to shutdown LAN PCs.
Do you have to do this every time you want to remote shutdown?
Sorry don't know what you mean by "Do you have to do that every time you want to remote shut down".

I save a text file with that command as a .bat file and place it on my desktop, named for the computer I want to remote shut down or restart (slightly different command) and when I want to shut down that computer I double click on that bat file. Computer goes through the shut down process and turns off.

I have made no other adjustments to those computers.
The OPs problem may come from the computers not having a User account with the same username and password as the one he is sending the shutdown command from. So without the right username and password he is denied access to that remote computer.
All my computers, PC or Mac, have a User with the same username and password.
My System SpecsSystem Spec
08 Oct 2012   #7

Windows 7 Ultimate x64
 
 

No edwar, i've already tried with same username and password.
My System SpecsSystem Spec
08 Oct 2012   #8

7 x64
 
 

Well then I have no idea.

Good Luck and Best Wishes.
My System SpecsSystem Spec
08 Oct 2012   #9

Windows 7 Ultimate x64
 
 

Thanks for reply !
My System SpecsSystem Spec
14 Oct 2012   #10

Windows 7 Ultimate x64
 
 

Ok, i found my problem. If french people are here, there are many problems with livebox from orange. I moved for freebox, and it's ok now !
My System SpecsSystem Spec
Reply

 Remote Shutdown | Well-known "Acces is denied (5)"




Thread Tools



Similar help and support threads for2: Remote Shutdown | Well-known "Acces is denied (5)"
Thread Forum
Remote shutdown Access Denied (5) Network & Sharing
Remote shutdown Win7 32-bit access denied Network & Sharing
"Access is denied" - "Unable to display current owner" Network & Sharing
Remote shutdown other pc...access denied "PLEASE HELP!!!!" Network & Sharing
"access denied" when using "assoc" and "ftype" from cmdline? General Discussion
Solved "Access Denied" for "Documents and Settings" General Discussion
Start menu -> Shutdown Button - "shut down" and "sleep" Customization

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 04:14 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