How to make computer sleep remotely?

B

Brett

I remote into a Vista box via Remote Desktop. I don't see an option to put
this machine to sleep. I can shutdown (shutdown /s) or shutdown/restart
(shutdown /r) but no sleep. Is there a way to enable this?

Thanks,
Brett
 
B

Brett

This is really cool. Thanks.

cvp said:
There are probably many ways, but what I do is create a RemoteShutdown.js
file with the (text) content "(new
ActiveXObject("Shell.Application")).ShutdownWindows();" removing the
outer
quote marks of course. Then create a shortcut (drag MB2) and rename the
shortcut to RemoteShutdown. Clicking on that gives me all the shutdown
options.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top