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: Shut down or restart computer via Remote Desktop?

05 Sep 2009   #31
kegobeer

Windows 7 Ultimate x64 SP1
 
 

Quote   Quote: Originally Posted by Antman View Post
shutdown /s /m \\MachineX
shutdown /s /m \\MachineX /t 060 /f

If these are not working, provide an example of your syntax.

I will not re-read this hijacked thread. Treat all interaction as fresh.
Thanks. I realized I neglected to add the /s switch to my command line. Duh.

It also got me thinking about the GUI interface, and something else I neglected to do. After manually adding a workgroup computer, I didn't add any text to the comment box. A single character in the comment box enabled the OK button, and the remote computer shut down perfectly. I also did not need to be logged into the remote computer. The warning comment wasn't displayed, but the timed delay was correct.

Thanks for the assist, Antman.


My System SpecsSystem Spec
.
05 Sep 2009   #32
Antman

 

I am seldom as glad to help with a problem as I am with this one. Something tickled my neck - it had to be something in the syntax. Good recovery.
My System SpecsSystem Spec
06 Sep 2009   #33
Beckyj636

Windows 7 ultimate 64bit
 
 

Quote   Quote: Originally Posted by kegobeer View Post
AFAIK, the shutdown command requires active directory. For workgroup computers, I suggest using PsTools. Grab them from Microsoft, then write a batch file to shutdown a computer. That's what I do, and it works great. You use the psshutdown.exe file to remotely shut down any computer on your workgroup, like this:

Code:
psshutdown -k -f -t 00 \\nameofpc
There are tutorials on the 'net on how to use psshutdown. You can also open a cmd prompt, navigate to the PsTools directory, and type psshutdown ? for a complete list of commands.

I get access denied
My System SpecsSystem Spec
.

06 Sep 2009   #34
Antman

 

Quote   Quote: Originally Posted by Beckyj636 View Post
I get access denied
Please, see this:
Shut down or restart computer via Remote Desktop?
My System SpecsSystem Spec
06 Sep 2009   #35
Antman

 

Quote   Quote: Originally Posted by Beckyj636 View Post
I get access denied
You might try this:
Shut down or restart computer via Remote Desktop?

Trust me, it's a new idea.
My System SpecsSystem Spec
06 Sep 2009   #36
Antman

 

Quote   Quote: Originally Posted by Beckyj636 View Post
I get access denied
If you used this exact text string,
psshutdown -k -f -t 00 \\nameofpc
shoot me.

I don't use the tool, but it's syntax is
psshutdown \\ComputerName -k -f -t 00
My System SpecsSystem Spec
06 Sep 2009   #37
kegobeer

Windows 7 Ultimate x64 SP1
 
 

Quote   Quote: Originally Posted by Beckyj636 View Post
I get access denied
Did you try using shutdown /i, with the instructions I posted? If you manually add a workgroup computer instead of browsing for it, you should be able to shut down your remote computer. Or, you can use the command line syntax that Antman posted to do the same thing.

If you get the access denied message, then I'm guessing the authentication on the remote machine is preventing you from accessing it. Are all of your computers running 7 x64?
My System SpecsSystem Spec
20 May 2013   #38
karateriyaz

Windows 7 Professional 64bit
 
 

Its easy press Alt+F4 when you are in remote desktop, there will be option of Shutdown or Restart.
My System SpecsSystem Spec
09 Dec 2013   #39
Sittinphat

Windows 7 Ultimate x64, Windows 7 Ultimate x86, Windows XP Pro
 
 
Shutdown or restart computer via Remote Desktop Windows 7

Hey, Guy's

I was looking for it also and i found it.

To shutdown or restart computer via Remote Desktop in windows 7. Click the start button, Then click on Windows Security.. The shutdown options are in the lower right corner.
My System SpecsSystem Spec
09 Dec 2013   #40
UsernameIssues

W7 Pro SP1 64bit
 
 

Welcome to the Seven Forums, Sittinphat.

Thanks for the additional info.
My System SpecsSystem Spec
Reply

 Shut down or restart computer via Remote Desktop?




Thread Tools




Similar help and support threads
Thread Forum
Remote Desktop from workgroup computer to domain computer
I am having trouble establishing how to make a remote desktop connection using RDP from my home computer which is on a workgroup to my work laptop which is on a domain. I work from home occasionally and would like to be able to use RDP in order to use my keyboard mouse and monitor without buying a...
Network & Sharing
Identifying remote computer for Remote Desktop Connection
Remote Desktop Connection wants the IP or name of the remote computer to connect to. But suppose the remote computer is behind a router. The router has one WAN IP, say 192.45.63.98, which will be the same for all the computers connected off of that router, (when you google "my ip" from any of...
Network & Sharing
How to shut down computer at a specific time and also can't be restart
I want my kids to go to bed early, so I want the computer to shut down at a specific time but also wants that they are not able to restart it immediately. How can I achieve it. If I set a password, I would like them to use all the features of computer except to restart when it has auto shutdownm....
General Discussion
Remote Desktop - Only Connects With IP Not Computer Name?
Hello Everyone, I recently got my remote desktop working in my home LAN, but I can ONLY connect to to my machine via its IP address. It refuses to connect through the actual computer-name as I would prefer to. I'm assuming here that there is a possible issue with the IP is tied to the...
Network & Sharing
Remote Desktop Client 6.1 Cannot connect to remote computer
We have several remote systems that can all connect fine. I am having an issue with one box. It is a windows 7 home premium machine with netgear wireless nic. When I open mstsc to connect to a remote machine I put in the ip address and click on connect. I receive an immediate failure with the...
Network & Sharing
Way to wake up computer from remote desktop?
Brink, I have this on my 2 machines - 7HP x64 and workhorse XP Pro x86. Question: when I remote desktop from 7 to the workhorse (torrents, music server) and put it to sleep, is there a way to wake it up again? Remote desktop fails to connect as expected. Can you advise please? Thx
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 16:28.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App