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: shutdown remote pc on LAN

27 Dec 2010   #1

Windows 7 Home Premium x64 OEM --> RTM clean install
 
 
shutdown remote pc on LAN

Greetings everyone, it's me again - this time with the second half of the Wake on LAN thread.

I want to powerdown a remote PC simply by double clicking a desktop shortcut on my local machine, and it should be possible using the shutdown command.

I have tried creating a new shortcut with "shutdown /s /m \\[computer name]" with both the name of the computer and the IP address, but neither works. As a check I tried shutdown /i for the GUI and it returns an "access is denied.(5)" error. I've even done this in an open as administrator command prompt, but doesn't work. What's confusing is both accounts local & remote are admin accounts so I shouldn't have any access problems.

As it is, I can shutdown remotely, but I have to 1st initiate a remote desktop connection, wait 20 seconds for it to connect then doubleclick a shutdown pc link on the remote's desktop. This has a 30second delay for me to close the remote dektop connection.

Anybody, little help please?

Thanks
D

My System SpecsSystem Spec
.

27 Dec 2010   #2

Windows 7 Ultimate x64 SP1
 
 

That's odd. I don't have any issues using the shutdown command. Are the clients all part of the same workgroup? Are they wired clients?
My System SpecsSystem Spec
27 Dec 2010   #3

 

Not sure if this is possible in a workgroup environment other than setting a "Scheduled Task".
My System SpecsSystem Spec
.


27 Dec 2010   #4

Windows 7 Ultimate x64 SP1
 
 

Quote   Quote: Originally Posted by brady View Post
Not sure if this is possible in a workgroup environment other than setting a "Scheduled Task".
Yep, any wired client will work. It's the wireless clients that don't respond to these types of commands.
My System SpecsSystem Spec
27 Dec 2010   #5

Windows 7 Home Premium x64 OEM --> RTM clean install
 
 

wired ethernet remote, wired & wireless local. I also managed to grab this in the split second it lashed up on screen:


Attached Thumbnails
shutdown remote pc on LAN-untitled.jpg  
My System SpecsSystem Spec
27 Dec 2010   #6

Windows 7 Ultimate x64 SP1
 
 

This might be a firewall problem on the target computer. I found this on the MS forum. It's the last post in the thread:

Remote Shutdown problem
My System SpecsSystem Spec
27 Dec 2010   #7

Windows 7 Home Premium x64 OEM --> RTM clean install
 
 

Hmmm, well spotted kegobeer... am investigating it now. I had found a few myself but nothing useful. Will report back...
My System SpecsSystem Spec
27 Dec 2010   #8

Windows 7 Home Premium x64 OEM --> RTM clean install
 
 
Solved: shutdown remote pc on LAN

Thanks kegobeer, though I spent half an hour playing with my Comodo firewall as per your link, I think the answer was:

I remoted in and did the following at the computer: Control Panel > Administrative Tools > Local Security Policy> Local Policies > User Rights Assignment. Double click “Shut Down the System” and click Add User or Group. Type “Everyone” without quotes click OK. The same procedure must be done in “Force Shutdown from a Remote System”. Reboot.

Sweet - now works a treat. I can abandon the batch file I had half written!
Thanks all (and kegobeer +1)

D
My System SpecsSystem Spec
27 Dec 2010   #9

Windows 7 Home Premium x64 OEM --> RTM clean install
 
 
Solved: shutdown remote pc on LAN

(changed title to Solved)
My System SpecsSystem Spec
Reply

 shutdown remote pc on LAN




Thread Tools



Similar help and support threads for2: shutdown remote pc on LAN
Thread Forum
Solved Is remote shutdown and turn on possible using W7's Remote Desktop? Network & Sharing
Stop Remote Shutdown General Discussion
Remote Shutdown After BlueScreen? Network & Sharing
Remote shutdown curse! Network & Sharing
Remote Shutdown Network & Sharing
Remote Shutdown question Network & Sharing
Remote shutdown with UAC on? Network & Sharing

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:17 AM.
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