Home

Advertisement

Ad astra per rectum - Autostart VPN connection in Windows 2008 without user logon. [entries|archive|friends|userinfo]
Василий Тёркин

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Autostart VPN connection in Windows 2008 without user logon. [Nov. 8th, 2009|01:21 am]
Previous Entry Add to Memories Tell a Friend Next Entry
[Tags|, , , ]

0. Dial.bat
     :start
     ping -n 2 vpn.trollina.net && rasdial Corbina trollalator trolloword && goto exit
     goto start
     :exit
     exit
1.Task Scheduler - newtask - vpnstartup
   General - Run whenever user logged or not
   Triggers - Run at startup
   Actions - start program dial.bat
   Conditions - Start task if the computer is on AC power
                        - Start if the following network connection is available
                                                               <select your trollider netwёrk>
   Settings - ну здесь по усмотрению
2.Task Scheduler - newtask - vprestart
   General - Run whenever user logged or not
   Triggers - on event
                                   Log: System
                                   Source: RemoteAccess
                                   Event ID: 20268
    Actions - start program dial.bat
   Conditions - Start task if the computer is on AC power
                        - Start if the following network connection is available
                                                               <select your trollider netwёrk>
   Settings - ну здесь тоже по усмотрению
linkReply

Advertisement