Thanks @randyzwitch for your response.
I want the app to keep running, even when user is not logged in or any user login. I created a task which runs a batch file and batch file invokes streamlit app. There I choose ‘run whether user is logged on or not’.
But it’s not working. This is what I have in my batch file.
@echo off
CMD.exe /c "cd /d path_to_activate_vEnv & activate & streamlit run path_to_stramlit_app_file.py --server.port 64322