A
A
Anton Lisny2011-11-01 01:19:39
Network administration
Anton Lisny, 2011-11-01 01:19:39

Programmatically Change the PPTP Configuration in Windows

Dear Habrazhitel! I have the following task. You need to programmatically change the settings of the pptp connection, and then restart it. Restart can be done with rasdial, but with dark forest configs. I look forward to a kick in the right direction from you. :)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rasa, 2011-11-01
@F0x8D

Use the Remote Access Service (RAS) API
PS

X
xandr0s, 2011-11-01
@xandr0s

%appdata%\Microsoft\Network\Connections\Pbk\rasphone.pbk (Win7)
All connections are configured in this file. Find your VPN connection by name and edit the settings. I think something like this...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question