退出远程桌面不锁屏

 q.bat 

for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (%windir%\System32\tscon.exe %%s /dest:console)
posted @ 2024-04-15 11:24  iDEAAM  阅读(122)  评论(0编辑  收藏  举报