Hi BP community
On my recent proces, I've run into the problem, that the proces will run fine on my own computer and on one of the servers, when I view the server with SCCM, but not when I haven't connected to the server via SCCM in a short while. I've tried it on 3 different servers and the pattern is clear. It runs when watched, but not when I'm not watching. We've run several other processes on the same servers, so it can't be an issue with the server "turning of the desktop", running a screen saver or something like that.
I'm using CMD to start the windows page for setting default programs as shown in an attached file. I then attach to this proces. Both steps work without any issue. I then check if the window exists via a wait stage, which is the stage that fails, when the desktop isn't watched. I've attached a view of the application modeller for the window.
I've tried restarting the computers, I've tried respying the window (both from my own computer and on the server), I've tried tweaking the spied elements to include others and not include some of those shown in the screenshot.
Anyone got any idea as to why a proces like this wouldn't work when not watched?