Forum Discussion
See if this helps
https://support.smartbear.com/testcomplete/docs/testing-with/running/via-rdp/overview.html
Considering that you are seeing it consistently as a 10 - 20 minute predictable time, something you might want to make sure of is that your virtual machine doesn't have any screen savers enabled or any group policy that will automatically lock out a workstation after a configured period of time. This could especially happen if your test has long segments of the test that don't do any actual UI work but are doing things like SQL queries and such in the background. A good best practice is to disable such screensavers or GPO's on your VM's used for automated testing.
- sriguda8 years agoFrequent Contributor
I disabled screen saver. Disabled Power sleep and turnoff options. Disabled screen saver on lock screen as shown in the snap shots attached.
The scripts still fail to run.
How do i disable Windows logon screen?
ok I don't see the option User must enter username and password to use this computer on my Remote desktop as shown int he attachment.
- tristaanogre8 years agoEsteemed Contributor
No snapshots attached.
Again, it might not be a setting you can change. Double check your group policies. Is there anything that would auto-lock out a machine that is "idle" for a certain period of time?
I notice from your screenshots that the user that is logged in is not necessarily an administrator. So, some settings that are set on the machine MAY be over-ridden by policy.
Related Content
- 2 years ago
- 7 years ago
- 2 years ago
Recent Discussions
- 5 days ago
- 5 days ago