Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has 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?

 
09-05-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
09-05-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
09-06-2009   #33


Windows 7 ultimate 64bit
 
 


Quote   Quote: Originally Posted by kegobeer View Post
As far as I know, 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
.


09-06-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
09-06-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
09-06-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
09-06-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
Reply

 Shut down or restart computer via Remote Desktop? problems?



Thread Tools



Similar Threads for: Shut down or restart computer via Remote Desktop?
Thread Forum
Remote Desktop Client 6.1 Cannot connect to remote computer Network & Sharing
Solved Connecting to a computer runnig windows 7 HP though remote desktop General Discussion
Remote Desktop Connection Shortcut - Create for Specific Computer Tutorials
Solved Way to wake up computer from remote desktop? Network & Sharing
How to host my Computer for remote desktop connection Network & Sharing


All times are GMT -5. The time now is 04:39 PM.



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