Hi @JMullins21
If the issue isn't related to image recognision based on what @John_Mavridis has mentioned.
It may be due to the way you've exited the VM. I had these same issues years back when runnign unattended processes on VM.
If you're accessing using RDP, the machine logs in and then as soon as you disconnect, it will also log out the user. This may mean the processes you are running will only work for some of the Actions.
If this is the issue, I have 3 potential work arounds:
1. RDP into the machine and use a free application called mousejiggler to disable autolock or if you can, get this done at policy level for that machine/account
2. user vnc viewer, or other remote access tools that work by mirroring the VM to you rather than log you like RDP does
3. if you do want to still use RDP, i have a script you can use to get around that
Whatever the case, let us know what the root cause was if it was not the above.