Why: Keep Oracle Net connection alive from client side so VPN or anything won't kill the connection How: Save the following to file KeepSqlplusAlive.vbs, and type KeepSqlplusAlive.vbs (or wscript KeepSqlplusAlive.vbs or cscript KeepSqlplusAlive.vbs). Abort by killing wscript.exe (or cscript.exe) in Task Manager. Note: If you need to keep multiple sqlplus windows alive, separate them with at least 500 ms delay. Use customized title (console command, e.g. "title system@dbconn2"). 'KeepSqlplusAlive.vbs: Keep Sqlplus session alive Set WshShell = WScript.CreateObject("WScript.Shell") WScript.Sleep 500 while true 'Change console window title to what you see; only the first part is needed WshShell.AppActivate "C:\Windows\system32\cmd.exe - sqlplus" WshShell.sendkeys "select 1 from dual;~" 'WScript.Sleep 500 'WshShell.AppActivate "system@dbconn2" 'WshShell.sendkeys "select 1 from dual;~" WScript.Sleep 60000 wend