Forum Discussion

praveenskg's avatar
praveenskg
Occasional Contributor
8 months ago
Solved

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
    8 months 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
    8 months ago

    Thanks, it worked.