'xp_keeprasconn.vbs - Prevent Dialup connection from dropping when Switching Users '© Kelly Theriot - 5/5/2002 'This code may be freely distributed/modified 'Downloaded from www.kellys-korner-xp.com Option Explicit On Error Resume Next 'Declare variables Dim WSHShell, p Set WSHShell = WScript.CreateObject("WScript.Shell") p = "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\KeepRASConnections" WshShell.RegWrite p,"1" MsgBox "Reboot your PC to effect the changes to dialup settings.",4096,"Finished!"