Hey guys.
Im having some issues with users that needs to run a process for longer then 2 hours i a
disconnected session.
This is the command that we use.
invoke-Command -ComputerName Post-1 -InDisconnectedSession -ScriptBlock {Start-Process E:\P1349\FatigueWizard\Phase02\P1349-230-01-03-01-276\P1349-230-01-03-01-276-j2-cuto_1_56.bat}
It works as we want, its just that the remote process ends after 2 hours, even if its not done. If im logged in on the remote machine, i can see in processes that the user starts the processes, but after 2 hours the processes ends and the user disappears.
Any help with this would be greatly appriciated.
/Pete