Running a Java process in Windows even after the user is logged out

前端 未结 5 650
醉话见心
醉话见心 2020-12-19 13:10

I have a batch file that starts a Java process in a Windows 2003 server. As per the security policy, the users of that machine are logged off forcefully, if the user is inac

5条回答
  •  星月不相逢
    2020-12-19 13:51

    Wrapping the process with srvany.exe and launching as a service would work as well.

    http://support.microsoft.com/kb/137890

提交回复
热议问题