November 20, 2015 at 3:49 pm
#4927
Inactive
I meant turning the monitor off via code, but that would be the same thing as physically disconnecting the screen. we do use the pc for other things, albeit rarely. The code you sent me earlier : @echo off
:: get session ID we are currently connected to and switch back to the console
for /f "skip=1 tokens=3" %%i in ('qwinsta %username%') do %windir%system32tscon.exe %%i /dest:console
I would only use this if I were to RDP and kick off the script?