I am using Server.Processes.KillJobProcesses(Job.Id) to kill a task, which works. However, in the Log I am getting 2 errors after the running Task shows completed.
Error CloseDesktop:6
Error CloseWinSta:6
The Task is running with credentials and with full profile.
Is this something to worry about?
Are resources being left open on the server when this occurs (I am running from a client workstation)?
Is there a better way to kill the entire job without generating these errors?