Task scheduler is executing a batch file, return code is also 0 but the application workflow is not getting completed in Windows 2016.

Tulika.Shivani 0 Reputation points
2024-02-15T10:01:34.59+00:00

I have scheduled a batch file which runs a JAVA application using jdk 8. In scheduler, I have setup the policy as run if user is logged in or not. The ID which am using for scheduling the job has all permissions. When the batch file is running, the return code is 0 which seems a valid output for any job execution. But I am not receive the validation message post completion of job that the fulfilment is done. The same batch file is running successfully from windows 2012 R2 server with same ID and other settings but in Windows 2016, this issue is coming. Screenshot 2024-02-15 at 3.25.31 PM

Screenshot 2024-02-15 at 3.28.44 PM

Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.