Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My desktop computer is in my home and I'm in a travel to other cities. I want to access my desktop by remote desktop function in Windows in case I have to retrieve the files in the desktop.

There are no other people in my home, so the simplest method - ask my family member to turn on the computer and tell me the ip- doesn't work.

To save energy, I don't want the desktop be powered on all the time. I can set BIOS of the desktop to periodically powered on and use other methods to hibernate it.

My desktop obtains Internet ip address, which is dymanicaly allocated. As long as I get the ip, I can access the computer. My account in the desktop is protected by password.

I need a solution that when my desktop starts up or wakes up, it runs "sendip.exe", which will send the ip to my email box.

Someone says to build a service. I think it may be overkill.

Someone says to use Task Scheduler and attach task to system events. It looks promising but I don't know exactly which events(startup and wakeup) to attach.

The OS of the desktop is Windows 7.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

How about upgrading your home router to send your IP to a dynamic IP service (like DynDNS), then port forward your router and have your computer turn on from network activity? That's what I ended up doing. Upgrade router with either firmware like DDWRT or buy a new stock unit that has Dynamic IP address services built in - My Belkin does.

Start > Control Panel > Administrative Tools > Task Scheduler > New Basic Task.

For your answer, create a new scheduled task. Set it to run when Windows starts. Set the executable as your program.

It can be set to wake up your computer, update your IP, then put your computer to sleep using a simple script (run cmd.exe /c shutdown /h to hibernate your computer - You can't sleep from command line AFAIK). Scheduled tasks can be set up to wake up a computer from sleep or hibernate, as long as your BIOS supports it.

I'd also set up your computer to wake on network activity. One more note - Make sure your port forwarding on your router is odd - Don't forward any ports under 10000 - I've used 59000 for VNC (don't use VNC - this was the 90s). I'd also recommend a VPN on your home computer, then you connect to the VPN, then RDP into the computer. It's not safe to RDP in the clear.

share|improve this answer
    
I don't have my own router. I use wireless connection provided by the building. I have no way to access the router of the building. Sorry about that. –  LoveRight Nov 27 '13 at 1:58
    
No worries - Use the second part-- Create a scheduled task. That should do it. –  Mat Carlson Nov 27 '13 at 1:59
    
Oh - Make sure you open the properties once it's created and set it's login information. It needs to run as your user account in order to access the network (generally). –  Mat Carlson Nov 27 '13 at 2:00
    
So what are the triggers of the task? I think the task should be triggered by startup and wakeup. –  LoveRight Nov 27 '13 at 2:01
    
Exactly right. Make sure to test this before you leave, just to be sure. –  Mat Carlson Nov 27 '13 at 2:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.