Windows.inf files: how to set the default network connection name during network driver installation?

I am trying to adapt the original TAP-Win32 driver for my project.

When it is installed (at least in Windows 7, and I think that Windows XP too), it creates a device called "TAP-Win32 Adapter V9" in the "Devices" control panel. This can be easily changed by editing the OemWin2k.inf file that comes with it .

However, the device then connects to the network in the Windows Networks browser, where by default it is called something like "Local Area Connection 2." I can easily rename it using the graphical interface: just click on the network and press F2.

But my problem is this: the network device I'm working on is definitely not a "local network connection", it is actually a virtual network device. What can I do to make the default name appear using a more descriptive name of my choice?

Is there any general documentation about this that I should read?

+4
source share
1 answer

You tried the script attached here , it is from the Open VPN community, and I use it after installation to make things a little better.

0
source

Source: https://habr.com/ru/post/1340970/


All Articles