Answers:
如果你去Extras
- Options
- Advanced
。有Timing out inactive session
与其他计算机连接的设置。
如果您的情况是从其他计算机连接的,并且您希望在闲置一段时间后自动关闭会话,那么您可以使用Watch 4 Idle的组合(http://www.addictivetips.com/windows-tips/ set-pc-to-auto-shutdown-run-certain-program-when-idle /)和批处理脚本如下:
@echo off
REM Kill teamviewer
taskkill /f /im "TeamViewer.exe" >nul
REM Wait 30 seconds to give your prgram time to close fully - (optional)
timeout /t 30 >null
REM Restart program, with title and program path
start "TeamViewer" "C:\Program Files (x86)\TeamViewer\TeamViewer.exe"