Forum Discussion
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.
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?
- tristaanogre8 years agoEsteemed Contributor
I can't answer that. Again, it all depends upon system/network/group policy. It could be that the company you're working for has a policy that, after 10 minutes, the machine is automatically locked unless there are particular events that happen. I don't know.
Again, this is a question for your Sys Admins.
Related Content
- 2 years ago
- 7 years ago
- 2 years ago
Recent Discussions
- 5 days ago
- 5 days ago