Jump to content

Windows 10/7 VM's are getting locked out automatically after triggering tests


Recommended Posts

Guest Laveen Sharma
Posted

Hi,

 

This issue is been observed in our VM's, which are getting locked out.

 

Process we follow to trigger tests:

 

1. Start an Agent to "listening For Jobs"

 

2. Trigger test cases using VNext build definitions.

 

3. Come out of VM using TSCON cmd given below which keeps session interactive

 

"

 

for /f "skip=1 tokens=2" %%s in ('query user %SESSIONID%')do (

%windir%\System32\tscon.exe %%s /dest:console

)

 

"

 

NOTE: Sometime SESSIONID/ SESSIONNAME works fine in coming out of VM but not every time and not in every VM.

 

 

Please suggest any solution to prevent locking out of VM's

 

More...

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...