Home>

Hello, launched a windows server in the current AmazonEC2 instance, where windows have been or run a dedicated software.

I was hoping that I could use the time scheduler to automate various things, and when I launched the instance here, I took a screenshot and was not logged in.

I think it can't be automated.

I'm looking for some nice Qiita articles and documents.

Tell me if you can.

Launch your Windows server and do it manually until you log in?

I would appreciate it if you could tell me how to do it and I would like to try it out.

The photo is a screenshot of the currently launched instance.

Specs

Instance: Size t2.small
Availability zone: ap-northeast-1a
AMI ID: Windows_Server-2019-Japanese-Full-Base-2019.11.13 (ami-024e6f6f16ff7c77a)

  • Answer # 1

      

    I was hoping that I could use the time scheduler to automate various things, and when I launched the instance here, I took a screenshot and was not logged in.

    What does it mean to "take a screenshot when launched"?
    If you're trying to connect with a remote desktop, it's only natural to transition to the login screen when you connect.
    In addition, it is not possible to judge whether there are any other logged-in users because of the transition to the login screen.

    In the first place, there is no particular relationship between the user logging in and automating the process with the scheduler.
    I don't think it's impossible to automate the process of connecting with a remote desktop and moving something ahead of it, but I don't think it's a very straightforward way ...
    If you want to automate the process, you can create a script and register it with Task Scheduler in Windows on EC2 instance.