VPN at startup?

Discussion in 'Windows 7' started by fogerty4evr, Sep 21, 2009.

  1. fogerty4evr

    fogerty4evr MDL Novice

    Sep 20, 2009
    6
    0
    0
    Hi all!

    How do I get my vpn-connection to connect at windows 7 startup?

    Thansk in advance :)
     
  2. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    old trick is place link for VPN on Programs > Startup folder
     
  3. fogerty4evr

    fogerty4evr MDL Novice

    Sep 20, 2009
    6
    0
    0
    Yes, I thought so too. But I cannot find the vpn to put in autostart. I cannot find any network connections at all :(
     
  4. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    Did you already create the VPN connection ? What VPN software are you using, what type of server are you connecting too.
     
  5. fogerty4evr

    fogerty4evr MDL Novice

    Sep 20, 2009
    6
    0
    0
    I use no vpn software. Just created a new connection i win 7. Server type is PPTP.
     
  6. fogerty4evr

    fogerty4evr MDL Novice

    Sep 20, 2009
    6
    0
    0
    -
    Thank you guys! My problem is solved :)
    This is how I did:
    First I created rasdial.bat with connection name password and user name.
    I placed it in system32 folder and created a shortcut in autostart folder.
    Rebooted the machine and it worked!

    The only problem is now that I want it to be silent. After every boot I can see when it connects in a cmd window. It would be better if nothing shows..but that is a very small issue.

    As you have noticed, English is not my native language...Swedish is

    Thanks again!
     
  7. Barney Rubble

    Barney Rubble MDL Novice

    Jul 19, 2008
    25
    1
    0
    That's easy. Right-click on your shortcut, select "Properties" ("Egenskaper"), then switch "Run" ("Kör i") from "Normal window" ("Normalt fönster") to "Minimized" ("Minimerat").
     
  8. fogerty4evr

    fogerty4evr MDL Novice

    Sep 20, 2009
    6
    0
    0
    Thanks! Works perfect :)
     
  9. cogengr

    cogengr MDL Novice

    Jul 31, 2009
    12
    0
    0
    Great solution, too! Just for reference for future thread readers, autoexnt.bat gets executed at boot time, regardless of when/if a user logs in, and is completely silent (no screen interaction).
     
  10. GurliGebis

    GurliGebis MDL Member

    Mar 3, 2008
    129
    162
    10
    To logon using VPN, press the Switch User button under your login photo at startup.
    Then click the network icon in the right buttom corner, right next to the shutdown button.

    Not sure if it works if your computer isn't joined to a domain, but if you are, and the VPN connection has been created so it is avaliable for all users on the system, you can do it this way.
     
  11. HSChronic

    HSChronic MDL Expert

    Aug 25, 2007
    1,214
    64
    60
    that is why you use directaccess, no need for any of that stuff. Only downside is that you need to know and have gear that supports IPv6, which should really be more widely adopted considering the IPv4 address space is running out of addresses quick.