I have a batch file to terminate a Windows Server 2008 session and it works fine. I also created a programmed task so it runs automatically around midnight but, when I go to our server in the morning, the session is still active and Windows is only blocked. As all of you must know, Windows Server 2008 blocks itself after some time has elapsed and no activity has been performed. Well, at the time my programmed task runs, Windows is already blocked and for this reason the session stays alive but, if it is not blocked yet, then the session is termiated when the programmed task runs. How can I solve this issue so the Windows session is terminated wheather it is blocked or not.
With respect,
Jorge aldonado
With respect,
Jorge aldonado