How to make my AWS EC2 RDP, to run even after closing the RDP from my computer?

  amazon-ec2, background-process, rdp, windows

Please help me. I have an AWS EC2 RDP running Windows 10. I have installed a keyboard mouse recorder which repeates my activity and I want to run my recorded activity endlessly. But this works fine till I am connected to Remote Desktop Session. But Whenever I close Remote Desktop connection. The software process stops as well.

Source: Windows Questions