How to run automation after closing rdp

yes i have plan to upgrade too