View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000051 | Windows and other desktop OS | Desktop | public | 2013-03-12 23:08 | 2019-10-16 12:07 |
Reporter | DigitalMy | ||||
Priority | high | Severity | feature | Reproducibility | N/A |
Status | assigned | Resolution | open | ||
Summary | 0000051: VPN control service: dial a connection (L2TP), redial if dropped, start with system | ||||
Description | Starting a VPN from a batch file well known as “rasdial” (rasdial connectionname username password) may be used for. | ||||
Tags | No tags attached. | ||||
FinishDate | |||||
StartDate | |||||
WasteTime | |||||
PriorityIndex | 4 | ||||
LaboriousnessIndex | 1 | ||||
|
Found http://dotras.codeplex.com/ component for .NET applications. Will try to build windows service with VB. |
|
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... |