Specified logon session does not exist

It doesn’t see the machine as busy if a person is logged into it, only if a Job is running on it. People shouldn’t be logging into your automation servers. If they do, they must SIGN OUT - not just close the RDP window.

Remote into the machine, using the same user as your automation, then SIGN OUT. Now run your automation.