Skip to content

Instantly share code, notes, and snippets.

@rodrigobaron
Created February 13, 2017 23:43
Show Gist options
  • Select an option

  • Save rodrigobaron/66ddd147ea11d36a3afd48a4fe434488 to your computer and use it in GitHub Desktop.

Select an option

Save rodrigobaron/66ddd147ea11d36a3afd48a4fe434488 to your computer and use it in GitHub Desktop.
Unlock screen for steam home streaming
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$sessionid=((quser $env:USERNAME | select -Skip 1) -split '\s+')[2]; tscon $sessionid /dest:console" 2> UnlockErrors.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment