Windows 8 and 8.1 Forums

Auto VPN start win 8 server

  1. #1

    Posts : 2
    win 8 server

    Auto VPN start win 8 server


    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 System SpecsSystem Spec

  2. #2

    Posts : 2
    win 8 server
      My System SpecsSystem Spec

  3. #3

    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 System SpecsSystem Spec

Auto VPN start win 8 server

Similar Threads
Thread Forum
windows 8.1 and skype auto start up
Hi Skype on 8.1 is driving me bonkers. When I look in the task manager->start up its not listed. However, I then get messages and calls - so it must be running Of course, with the tile version there are no settings that I can find to turn the darn thing off and it doesn't appear in the...
Software and Apps
Intel graphics auto-start apps
My Intel HD 4600 graphics puts 3 little apps to be started automatically. I know they are related to: intercepting hotkeys - hkcmd.exe displaying tray icon - igfxtray.exe displaying settings GUI - igfxpers.exe The thing is that I don't use hotkeys and have disabled them in Intel Graphics...
Graphic Cards
DVD/CD Drive won't Auto Start Discs
I have a new Asus Laptop running 64 bit 8.1 Windows Operating System. It has a celeron processor @ 1.86 Ghz with 4GB of Ram. The DVD/CD Drive will not auto start any discs, DVD or CD. I have set the auto start at "on" and in the control panel I have it checked to auto play all media. It...
Drivers & Hardware
how to set pc to not auto start on power falure
HI OMG today i came home to my alienware x51 in some dell system recovery screen, i asked my kid what happened today she said the lights flickered several times, during a freak storm, So my pc must have tried to auto start several times, this is not good at all, i'm so lucky no damage was done at...
General Support
How to auto-jump after start to Login Welcome screen?
When I start my new Win 8.1 notebook with preinstalled Win 8 the first screen will be a colored wallpaper with Time indicator. Only if I click somewhere on the screen the Welcome Login screen will be shown. How can I tell Win 8 immediately after start to show the Welcome Login screen?
General Support
Program in auto start causes device connected sound.
Hello, Logitech Gaming Software (latest, 8.51.5) is in my auto start list and everytime I boot it makes a device connected sound. I have the same on my Windows 7 x64 computer and it doesn't do that so Windows 8.1 x64 must be the culprit. I have looked in the Logitech help forums but they...
Software and Apps
What determines if Start Screen auto scrolls to the right?
Was playing with a Windows 8 machine today and noticed that it would scroll the start screen by having the mouse simply to the right side of the screen...without having to use the scroll bar at the bottom of the screen. What enables that, is it a driver, is it built into Windows 8, etc? I've...
General Support

Eight Forums Android App Eight Forums IOS App Follow us on Facebook