Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to run a service on startup of a windows instance on amazon. So far it is a manual process where I have to start rdp in, log in and then start the process. I'd like it when the instance loads for us to be able to bypass the login so it can go straight to the desktop and load a process.

The only thing I've tried that allowed me to get somewhat close is to setup SSH on the server and have a shell script that automatically logs me in and starts the process. I'd like a way to do it through AWS settings though. Is this possible?

share|improve this question
3  
Why can't you just change Autostart status of that service from Manual to Automatic? –  Mxx Mar 3 '14 at 22:46
    
I suppose I could –  The Internet Mar 4 '14 at 14:21

1 Answer 1

Assuming that it is a full-fledged Windows service you need to start, then it's as simple as @Mxx points out: just set the service startup type to Automatic rather than Manual.

If it's not a service but just a regular Windows process, then you can look into using Sysinternals Autologon to cause the instance to automatically log in as a particular user when it boots, and then the normal ways of running things at startup (the Startup group in the Start Menu, the Run and RunOnce keys in the registry, etc.) will function as you expect.

share|improve this answer

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.