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.

I'd like to perform some task (start a program) on a computer running Windows every time it's (re)started. It's remote computer and just placing shortcut in autostart doesn't work because it's run every time I log into using remote desktop.

How can I do it?

share|improve this question

2 Answers 2

up vote 7 down vote accepted

You can use the Windows Task Scheduler. It's been a while since I used it on XP, but in Vista and Windows 7 you can schedule a task to occur on startup. This can be a batch file, or executable.

share|improve this answer
1  
This is available in XP as well –  Xetius Sep 3 '09 at 9:39
    
I wasn't too sure if this option was in XP. Thanks. –  GaryJL Sep 3 '09 at 9:56
    
In XP it's called Scheduled Tasks, not Task Scheduler. –  Hello71 Jul 30 '10 at 2:36

You are referring to running an application as a service. If the application supports it you can look at using Service Any. This will start the application when the machine boots without needing to login.

However be aware that most applications don't work with it, unless they are service type daemons already.

share|improve this answer
    
I just want to send email from command line (batch file) using BLAT. This does not sound like a service at all :) –  Piotr Dobrogost Sep 3 '09 at 8:16
    
Then the Task Scheduler is a better option –  Diago Sep 3 '09 at 8:23
    
Your answer is still interesting as once I was looking for exactly what you are describing :) +1 –  Piotr Dobrogost Sep 3 '09 at 10:38

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.