HKEY_LOCAL_MACHINE\Software\Microsoft\Terminal Server Client. HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client.Navigate to one of the following Registry keys, depending on whether you wish to modify the Remote Desktop settings only for the current user or for all users on the computer:.Launch the Registry editor (regedit.exe).There needs to be done some registry changes:.When you need to disconnect from Remote Desktop, run the batch file with admin rights.To do this, right-click the batch file and select Send to | Desktop (create shortcut). Create a desktop shortcut to this file.On the remote computer, create a batch file with this code for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do ( %windir%\System32\tscon.exe %%s /dest:console).In the locked mode, the user session on the computer does not have GUI, and any GUI tests on that computer fails. When you close a Remote Desktop session on a remote computer, it locks out the computer, displaying the logon screen. Running UI automation with RDP session disconnected
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |