Forum Discussion
Question: When you lock your desktop, are you still connected to your remote machine? Because, if you are, the act of locking your local desktop will lock the remote one as well.
Try:
1) Log in to remote machine
2) run the batch file
3) disconnect from remote machine
4) lock your local machine
This SHOULD leave the remote machine unlocked and running the tests. If you forget step 3, you will lock your remote machine as well.
I am doing the same.
1. I am running batch file on remote machine and disconnecting.
2. I am letting the scripts run through task schedular without locking my desktop.
3. The scripts run fine if they trigger within 10 to 15 minutes of me disconnecting from remote machine but after that they keep failing.
4. Same this happens when i lock my desktop with remote machine disconnected.
5. I tried to remove the screen saver but it still keeps failing with the screen shot of screen saver.
Please see the screen shot of attached log. the explorer had the expected url, the script entered userId and Password and after that the screen saver appeared. Looks like it is locked after that. What I didn't understand is how did it lock the screen when activity on the screen is going on.
Anyways the scripts fail when the remote machine is locked even after disconnecting from that.
- tristaanogre8 years agoEsteemed Contributor
It comes down to this: Something is locking your VM. Not being in your network or administering your network, I cannot say what. It looks like some sort of automatic group policy or something. You need to work with your network administrators to figure out why the machine is consistently getting locked.
- sriguda8 years agoFrequent Contributor
ok, Thanks. I will get back to you.
- sriguda8 years agoFrequent Contributor
Hi,
Looks like even though I am disconnecting from the remote machine it is getting locked after a while and the scripts are failing.
Running the scripts as Administrator will not lock the machine?
Related Content
- 2 years ago
- 7 years ago
- 2 years ago
Recent Discussions
- 5 days ago
- 5 days ago