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: Sleep-on-LAN

05 Apr 2011   #31

Windows 7 Home Premium x64 OEM --> RTM clean install

Quote   Quote: Originally Posted by acurasd View Post
Quote   Quote: Originally Posted by allend66 View Post
Quote   Quote: Originally Posted by acurasd View Post
This is just a shot in the dark here.... but windows 7 does come with a Telnet Server and Client.
or even FTP execution....

What about creating a script that will execute a bat file on the remote computer to put the computer into sleep mode.

Execute the bat file on the root directory:


%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby
Thanks for the input, though you'll have to explain a little the Telnet / FTP line of thought.-- Set up a Telnet account on both machines?
I take it that you get a dynamic IP from your ISP... so knowing your IP is going to be difficult. So that is why you use DDNS to your router.
Get yourself a web address and then you have to give your server computer static IP's to forward port to the server.
Then you activate the Telnet server on your computer that you want to control or (log into). It is in your add and remove programs.

You log into your computer using user name and password for admin rights. Then execute the bat file or any file that will run the:

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby

Thanks for the input. ISP gives me dynamic ip on each boot, but I usually leave things on for days at a time. I already use static ips from my router to control torrents and ports and the like. I'll have a mess around with this and post back...

My System SpecsSystem Spec
13 Apr 2011   #32

Windows 7 Home Premium x64 OEM --> RTM clean install

Quote   Quote: Originally Posted by allend66 View Post
Quote   Quote: Originally Posted by Ztruker View Post
What I meant was to be on the M30-861 computer and try the shutdown to the L500 system.
Sorry for my denseness, Rich... ok, so I tried what you wrote (copied/pasted) and as soon as I hit enter, I heard a beep from my L500 (Win7) box. Pop up window "You are about to be logged off". The machine then powered down with no reboot.

So it seems there's a permission issue to do it the other way round L500 --> M30.

I'm sure you've got this covered and this is just for testing purposes, but I wanted to remote sleep the M30 from L500, but you knew that, right.
Still can't get the damn thing to work, though it's no biggy to remote in and double click the sleep shortcut on the XP Pro box. RDP then automatically disconnects, but even so...
My System SpecsSystem Spec


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
create sleep task, to force sleep over a program ?
Hello, I would like to know how to create a task in task scheduler , that'll force the computer into sleep over a running program. Basically, I have some software that runs in the background called 'WD anywhere backup' and when this software is running it prevents the computer from...
General Discussion
Numerous BSOD's. Normally caused while in sleep / putting to sleep.
Hello Seveners! I have been having trouble with a BSOD for a while now. It is getting to that extent that I bare it any longer! I need help! Firstly, these BSOD's have been happening randomly, but normally the case is while it is in sleep, or when I put it to sleep, the screen will go black,...
BSOD Help and Support
BSOD - Won't sleep or crashes during sleep on Dell Latitude 6430u
Hi, I have a Dell Latitude 6430u running windows 7 64. When I first got it I worked through many BSOD issues and it was running fine for many many months. Now recently it started not sleeping, waking up by itself during sleep and waking up from sleep with an unexpected crash message. Any and...
BSOD Help and Support
Waking from Sleep understood but wont go back to sleep
I setup 2 Media center PC's and have them both goto sleep when not being used. They wake up in the middle of the night due to mcupdate_scheduled which I understand and know how to turn off. My problem is I want to leave it the option on and have the computers go back to sleep after the update is...
Media Center
GA-EP35-DS3L sleep and KVM switch wakes comp from sleep
Hi All, I have two systems a N650SLI-DS4 and a GA-EP35-DS3L hooked up to a Trednet KVM switch. If I put the GA-EP35-DS3L to sleep and switch to the N650SLI-DS4, the GA-EP35-DS3L system wakes up. The only way I have been able to keep it in sleep is if I hold the switch for the N650SLI-DS4 while...
General Discussion
Sleep doesn't sleep anymore - just goes to login screen
For some reason, my 'sleep' has stopped working - either from the sleep button, or on the Start button option. Now it just goes to the user login screen. Has always worked perefctly until today. Weird. Any ideas?
General Discussion

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 20:16.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App