What's new

Auto VPN start win 8 server

Dariusz

New Member
Heya

I'm setting up amazon windows 8 server rig. I had pervious win set up using BAT file to start VPN on windows
-
timeout /t 5
"C:\Users\Administrator\Desktop\VPN Connection - Shortcut.lnk"

Command put in startup menu.

That worked perfectly. When windows start and autolog in it run this command and connected me to my home VPN.

Now in win 8 that dont work :(

What to do ? I could not find anything good on internet yet.

Also how do I autologin win 8 ? Is it hard too?

Thanks, bye.
 

My Computer

System One

  • OS
    win 8 server

chev65

Closed
For anyone else who finds this the following procedure should work.

The command you were looking for is rasdial.exe

Create the shortcut on your desktop as rasdial.exe then all you need to have is the name of the network. ie... rasdial.exe "Work Network" or whatever you have called your VPN Connection.

Then put it in your Startup folder just like you would any other program you want to run on startup.
1.Right-click the desktop, choose New > Shortcut.

2.Enter rasdial.exe as the location of the item; click Next.

3.Type a name for the shortcut, e.g., "Work VPN"; click Finish.

4.Right-click the new shortcut, choose Properties.

5.Edit the Target to be C:\Windows\System32\rasdial.exe "Work Network"

Copy the shortcut into your Startup folder: %userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\
 

My Computer

System One

  • OS
    Windows 8.1 Pro WMC
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Home built
    CPU
    Q9650 @ 4.05 GHz
    Motherboard
    Gforce 780i SLI FTW
    Memory
    8GB Gskill DDR2 1200Mhz
    Graphics Card(s)
    GTX-480
    Sound Card
    Asus D2 Xonar
    Monitor(s) Displays
    HannsG
    Screen Resolution
    1680x1050
    Hard Drives
    Gskill 120GB SSD
    PSU
    Thermal Take 1000watts
    Case
    Thermal Take Xtreme
    Cooling
    9 fans air cooled
    Keyboard
    G15 logitech
    Mouse
    G9 logitech
    Internet Speed
    50mbps

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top