Forum Discussion

praveenskg's avatar
praveenskg
Contributor
2 years ago

running github actions workflow using session creator

I have setup dedicated VDI machine to run our test scripts using Test Execute & session creator I am facing issue when i am not logged into the VDI machine, i always get below error in github action...
  • rraghvani's avatar
    2 years ago

    Use this instead,

    for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (
      %windir%\System32\tscon.exe %%s /dest:console
    )

     

  • praveenskg's avatar
    praveenskg
    2 years ago

    Thanks, it worked.