[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Automating network connection rename (Windows)


  • Subject: Re: [Openvpn-users] Automating network connection rename (Windows)
  • From: Kris Jordan <openvpn.kj@xxxxxxxxxx>
  • Date: Wed, 13 Dec 2006 11:55:34 -0800

Darren Spruell wrote, On 12/12/2006 6:57 PM:
> On 12/12/06, Kris Jordan <openvpn.kj@xxxxxxxxxx> wrote:
>> Windows 2k/XP:
>>
>> Is there an automated method to rename the newly created OpenVPN tap
>> network connection? Like "Local Area Connection 28" --> "Company VPN".
>> The only hope I see, is doing something to the tap driver installation
>> to give it a specific name to begin with, but I don't see anything
>> special in the .inf file for this.
> 
> The string used for the description field on the interface is stored
> in the registry in several locations. In theory you could find the
> key(s) that store that and update them, perhaps as part of your
> installationi script or something.

Yeah, found the keys before I send the email. But I don't see a way to 
distinguish which one is the current/new one. Windows also doesn't 
bother to remove the non-existent interface registry keys either.

Thanks.

- Kris Jordan -
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users