Run a batch file before user logs into Windows 2003 R2?
        Posted  
        
            by 
                Sid
            
        on Super User
        
        See other posts from Super User
        
            or by Sid
        
        
        
        Published on 2011-11-30T03:44:41Z
        Indexed on 
            2012/12/02
            5:08 UTC
        
        
        Read the original article
        Hit count: 459
        
I have an Amazon EC2 machine (Windows Server 2003 R2) where I want to run a script (.bat file) when the Windows Server 2003 R2 machine boots up. This need to run BEFORE any user logs in. Ideally I'd like to extend the same work-around on my Windows Server 2008 R2 instances too - but Windows Server 2003 R2 is critical for me as of now.
Purely as FYI, the .bat file updates the DDNS records so the EC2 machine doesn't need to consume static IPs.
© Super User or respective owner