0

When i start my EC2 windows instance using boto python and custom ami, it does not boot up until i login into it using remote desktop and enter my user credentials.

Is there a workaround to avoid this, i just want the to boot up my computer without entering credentials.

4
  • It seems as though there's a significant amount of information missing here. If you're logging into Windows in EC2, it has booted or the network stack wouldn't be up and you couldn't connect to it. What exactly doesn't happen without your credentials? User scripts don't run?
    – Ruairí N.
    Oct 15, 2013 at 16:36
  • yes, i have some scripts on startup that don't run. I have to login using RDP then only the desktop is shown and my scripts run.
    – rajat
    Oct 15, 2013 at 17:04
  • What mechanism are you using to run the scripts? Login script, scheduled tasks?
    – squillman
    Oct 15, 2013 at 17:45
  • I just place them into the windows startup folder.
    – rajat
    Oct 15, 2013 at 22:08

1 Answer 1

1

Things in the startup folder in the start menu only run when the user logs in (and I believe this feature is deprecated too). They do not run at boot.

If you want them to run at boot, and not at login, create a scheduled task for them or write a windows service that invokes them.

Better still, you could also use linux, which has much better support for this type of thing; on linux you could just add your scripts to the init scripts.

2
  • I am using a windows software, that i have to use. And writing a windows service just to start a program seems too much work. If i disable password for singin inside windows, then it seems to work fine and the system boots up. To disable user authentication: tinyurl.com/oltywk5.\
    – rajat
    Oct 16, 2013 at 5:10
  • You need to fix your terminology. What you are talking about is not part of the boot process. Oct 16, 2013 at 8:32

Not the answer you're looking for? Browse other questions tagged .