AWS Windows server instance with auto logon and user data

  amazon-ec2, autologin, windows

I have an AWS image with "user date" flag enabled.
When creating new instances from it, the instance should run initialization script to prepare the itself with my server and configurations.
I’ve noticed that some of the applications that I run in the new instance does not work properly until I actively login using RDP.

So I created new image with auto login, I used Microsoft utility for auto login (which edit the registry and encrypt the password).
Now the auto login is working for new instances but the initialization script is not running.

Does anyone has any idea?


Source: Windows Questions