Notes

Return a Remote Desktop session to the unlocked console with tscon /dest:console.

Image: UjnotesCC0 1.0

Return a Remote Desktop session to the unlocked console with tscon /dest:console.

Continue on an unlocked screen:

tscon.exe <Session_ID> /dest:console
for /f "skip=1 tokens=3 usebackq" %%s in (
  `query user %username%`
) do (
  %windir%\System32\tscon.exe %%s /dest:console
)
Updated: 2026 Aug 19