Link to home
Start Free TrialLog in
Avatar of dhuff2012
dhuff2012Flag for United States of America

asked on

Windows Server 2003 need PPTP connection to stay on all the time

I have a Windows 2003 server that needs to maintain a pptp connection all the time.  How can I set pptp to always run?
ASKER CERTIFIED SOLUTION
Avatar of als315
als315
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
wondering if it is necessary to run a script for doing that.

it seems the same thing can be done by Windows Internet Options as shown below.

User generated image
@bbao: in reality sometimes connection is established, but do not working.
Avatar of dhuff2012

ASKER

The problem is that PPTP disconnects when I log off.  Is there a way to fix this?
Did you used RRAS? Read this guide (Look at Router2 configuration):
http://technet.microsoft.com/en-us/library/cc758271(WS.10).aspx
Ok.  I have used powershell to create the following .ps1 file.  It works beutifully but how do I make it run at system boot on 2003 server?
I think you have closed question too early. If you need some connection like vpn connnection between two offices, you should use RRAS. You can, of course, use autologon, but it should not be preferred method
You can try to use task scheduler for script starting, may be it could be solution
I was hoping for a way to put Powershell into the path to automatically start at system startup.  Any ideas?
> I was hoping for a way to put Powershell into the path to automatically start at system startup.

load PS to run the script from the AUTOEXEC.BAT at root??

>  If you need some connection like vpn connnection between two offices, you should use RRAS.

anyway, i do strongly agree with als315 as RRAS is the proper way to establish VPN connections for the server, rather than an individual user.

>  in reality sometimes connection is established, but do not working.

if the connection can be established but no further traffic, it seems to be something wrong at the VPN server side.
User generated imageOn next Screen of master you should set credentials
User generated image