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

WorldFire

New member
Local time
1:36 PM
Messages
7
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 Computer My Computer

At a glance

Windows 7 Ultimate x64INTEL CORE I3ATI MOBILITY RADEON HD5650
Computer Manufacturer/Model Number
Acer Aspire 7745G
OS
Windows 7 Ultimate x64
CPU
INTEL CORE I3
Graphics Card(s)
ATI MOBILITY RADEON HD5650
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 Computer My Computer

At a glance

7 x64
OS
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.

Do you have to do this every time you want to remote shutdown?
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64 bitAMD Phenom II X4 965 Black EditionGSkill 4 X 2 GB PC 8500XFX Radeon HD 6790 D
Computer Manufacturer/Model Number
Custom built
OS
Windows 7 Ultimate 64 bit
CPU
AMD Phenom II X4 965 Black Edition
Motherboard
Gigabyte GA-MA790X-DS4
Memory
GSkill 4 X 2 GB PC 8500
Graphics Card(s)
XFX Radeon HD 6790 D
Sound Card
On board RealTek HD
Monitor(s) Displays
Dual monitors:Samsung SyncMaster S20B300
Screen Resolution
1600 X 900
Hard Drives
Seagate Barracuda 1TB (primary)
Seagate Barracuda 2 X 320 GB
PSU
Ultra X4 750 watt fully modular
Case
Thermaltake Overseer RX 1 full tower
Cooling
Core-Contact 92 mm CPU Cooler
Keyboard
Logitech G510
Mouse
Razor DeathAdder
Internet Speed
50/5 Mbps UL/DL
Other Info
Optical: Super Muliti DVD burner w/lightscribe, Hauppauge WinTV HVR-1800
Thanks, but i know the command. That's why i'm asking for help --' :).
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64INTEL CORE I3ATI MOBILITY RADEON HD5650
Computer Manufacturer/Model Number
Acer Aspire 7745G
OS
Windows 7 Ultimate x64
CPU
INTEL CORE I3
Graphics Card(s)
ATI MOBILITY RADEON HD5650

My Computer My Computer

At a glance

Windows 7 Ultimate x64INTEL CORE I3ATI MOBILITY RADEON HD5650
Computer Manufacturer/Model Number
Acer Aspire 7745G
OS
Windows 7 Ultimate x64
CPU
INTEL CORE I3
Graphics Card(s)
ATI MOBILITY RADEON HD5650
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 Computer My Computer

At a glance

7 x64
OS
7 x64
No edwar, i've already tried with same username and password.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64INTEL CORE I3ATI MOBILITY RADEON HD5650
Computer Manufacturer/Model Number
Acer Aspire 7745G
OS
Windows 7 Ultimate x64
CPU
INTEL CORE I3
Graphics Card(s)
ATI MOBILITY RADEON HD5650
Well then I have no idea.

Good Luck and Best Wishes.
 

My Computer My Computer

At a glance

7 x64
OS
7 x64
Thanks for reply !
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64INTEL CORE I3ATI MOBILITY RADEON HD5650
Computer Manufacturer/Model Number
Acer Aspire 7745G
OS
Windows 7 Ultimate x64
CPU
INTEL CORE I3
Graphics Card(s)
ATI MOBILITY RADEON HD5650
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 Computer My Computer

At a glance

Windows 7 Ultimate x64INTEL CORE I3ATI MOBILITY RADEON HD5650
Computer Manufacturer/Model Number
Acer Aspire 7745G
OS
Windows 7 Ultimate x64
CPU
INTEL CORE I3
Graphics Card(s)
ATI MOBILITY RADEON HD5650
Back
Top