Quantcast
Viewing all articles
Browse latest Browse all 26364

Can I run a script AFTER logoff?

Hi,

I'm using Windows Server 2008R2 and I have an application that runs minimized in the system tray. When I logoff the server the application is forced to close. I want to keep the application running or re-launch it after I logoff the server. Is there is a way to do this? I have a simple batch file that can launch the application and I use it as a scheduled task to run with startup and it works fine. However, once you logon to the server and logoff the application is closed. I tried to put the scrip at logoff but the script then runs before you logoff not AFTER you logoff and therefore, the application is terminated anyway. Any thoughts?


Viewing all articles
Browse latest Browse all 26364

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>