Not able to run streamlit app using task scheduler without user login


I have a windows 2012 server where I am trying to run the streamlit app using windows task scheduler but I am not able to run it. I want this app to run in behind even when user is not logged in to the server. I tried checking user login not required option in task scheduler but didn’t work. Pls let me know if anyone has faced similar issue and have any solution to it