View Issue Details

IDProjectCategoryView StatusLast Update
0000051Windows and other desktop OSDesktoppublic2019-10-16 12:07
ReporterDigitalMy 
PriorityhighSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Summary0000051: VPN control service: dial a connection (L2TP), redial if dropped, start with system
DescriptionStarting a VPN from a batch file well known as “rasdial”
(rasdial connectionname username password)
may be used for.
TagsNo tags attached.
FinishDate
StartDate
WasteTime
PriorityIndex4
LaboriousnessIndex1

Activities

DigitalMy

2013-07-29 23:39

administrator   ~0000035

Found http://dotras.codeplex.com/ component for .NET applications.
Will try to build windows service with VB.

DigitalMy

2019-10-10 14:53

administrator   ~0000839

Last edited: 2019-10-16 12:07

View 10 revisions

On domain computer Windows 10 (10240), cannot open IP properties of VPN (WAN miniport)
https://superuser.com/questions/954801/how-can-i-disable-use-default-gateway-for-remote-networks-setting-in-windows-1
https://superuser.com/questions/949306/windows-10-windows-vpn-ipv4-properties-not-accessible

Found this connection in registry
Set
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles\{7F68560A-77F6-495C-A738-2855177529ED}
Managed=1 changed from 0
NameType=6 changed from 23
Category=1 changed from 0
CategoryType=0
>no result

GPRESULT /H C:\GP_Report.html
GPRESULT /X C:\GP_Report.xml

"use default gateway on remote network" <- IP settings <- Advanced... <- Properties
> find location where this saved

> Workarounds
Edit rasphone.pbk "IpPrioritizeRemote" parameter , change from "1" (true) to "0" (false) and save. This is a plain text old ini-file and can be edited. > This way it was fixed
Location path may be different (some versions use "_hiddenPbk" subfolder):
file may be saved in user folder %appdata%\Microsoft\Network\Connections\Pbk\rasphone.pbk (like) C:\Users\[username]\AppData\Roaming\Microsoft\Network\Connections\Pbk\rasphone.pbk
or to common folder (for all users):
C:\ProgramData\Microsoft\Network\Connections\Pbk\
C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\Microsoft\Network\Connections\Pbk\_hiddenPbk\rasphone.pbk

Alternative is use PowerShell-cmdlets , namely Set-VpnConnection...