Windows 7 Forums


Windows 7: Shut down or restart computer via Remote Desktop?

05 Sep 2009   #31

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

 

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

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

 

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

 

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

 

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

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
18 Hours Ago   #38

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
Reply

 Shut down or restart computer via Remote Desktop? problems?



Thread Tools



Similar help and support threads for: Shut down or restart computer via Remote Desktop?
Thread Forum
How to shut down computer at a specific time and also can't be restart General Discussion
Computer freezes to desktop when it starts and wont shut down. General Discussion
Remote Desktop - Only Connects With IP Not Computer Name? Network & Sharing
Remote Desktop Client 6.1 Cannot connect to remote computer Network & Sharing
Solved Way to wake up computer from remote desktop? Network & Sharing


All times are GMT -5. The time now is 10:42 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

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