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
allend66

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
kegobeer

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
brady

 

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


27 Dec 2010   #4
kegobeer

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
allend66

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
-untitled.jpg  
My System SpecsSystem Spec
27 Dec 2010   #6
kegobeer

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
allend66

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
allend66

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
allend66

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
Thread Forum
Is remote shutdown and turn on possible using W7's Remote Desktop?
If it can't be done, what are the alternatives? Thank you. Edit: I just read how to shutdown with Remote Desktop and I'm going to try that out. So, the only remaining questions are how can I remotely turn on a workstation on a lan? Can I do it at a pre-determined time? What about remotely...
Network & Sharing
Remote shutdown curse!
This problem is driving me kabonkers. I have searched in google but it has just taken me around in circles. I have 3 computers in my house. My laptop is running Windows 7 Pro. My desktop is running Windows Vista Home and my other laptop is running Windows 7 Home. I've tried to remote shutdown one...
Network & Sharing
Remote Shutdown
I tried to remote shutdown an XP SP3 workstation from a windows 7 workstation. I used the following command: "shutdown /m \\huttesrv001.hutte.local /s /f" but I always get an error: "huttesrv001.hutte.local: Access is denied.(5)" where huttesrv001.hutte.local is the name of the remote...
Network & Sharing
Remote desktop shutdown
I am logging onto a 2nd PC in the same workgroup using a remote desktop, when logged on, I only get the option to log off or disconnect. I would really like to see options for shutdown etc but do not know how to enable this without logging on as the administrator, which I do not want to do. any...
Network & Sharing
Remote Shutdown question
I have read and read and read on this issue and it seems i need to tweak my registry to perform a remote shutdown due to the fact I have Win 7 Home Premium.... Here's the Deal, I have 4 PC's on my home network and I want to be able to remotely shutdown all of them from my Laptop at night. ...
Network & Sharing
Remote shutdown with UAC on?
Hi there i hope someone can help me with this its been driving me mad and googles taking me round in circles :( I need to shutdown a server on the same network using the shutdown command like we used to when it was xp (now w7 ultimate 64bit). After spending days on this now trying various...
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 00:18.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App