Error 1067 received when stopping PAM Orchestrator service

Document ID : KB000113588
Last Modified Date : 11/09/2018
Show Technical Document Details
Introduction:
When Orchestrator service is stopped from Windows's "Services", error 1067 is shown:

User-added image

After this error was received, Orchestrator service is stopped successfully and all "Java.exe" associated to PAM is removed from Task Manager.
Background:
This messages appears because when Windows triggers the stop of Orchestrator service, Process Automation begins stopping everything it was doing, procedure that may take some time, more than Windows is able to wait, reason why the error is shown.
Environment:
Process Automation 4.3.X
Instructions:
In order to avoid receiving this error every time the Orchestrator service is stopped, there is a built-in script that can be used, which is located under CA folder and is called "Stop Orchestrator Service":

User-added image