This registry folder contains network interfaces
HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Class\\{4D36E972-E325-11CE-BFC1-08002BE10318}
Find the subfolders which corresponds to TAP-Win32 network interfacs.
These will have ComponentId="tap0901". You can't see from here if this is actually the right
network interface, in case you have multiple TAP-Win32's.
Now remember its NetCfgInstanceId, and open:
HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Network\\{4D36E972-E325-11CE-BFC1-08002BE10318}\\YOUR_NetCfgInstanceId\\Connection
Here you will should check Name attribute.
If you can't find your TAP-Win32 like that, neither will tun2socks.
VGhpcyByZWdpc3RyeSBmb2xkZXIgY29udGFpbnMgbmV0d29yayBpbnRlcmZhY2VzCgpIS0VZX0xPQ0FMX01BQ0hJTkVcXFNZU1RFTVxcQ3VycmVudENvbnRyb2xTZXRcXENvbnRyb2xcXENsYXNzXFx7NEQzNkU5NzItRTMyNS0xMUNFLUJGQzEtMDgwMDJCRTEwMzE4fQoKRmluZCB0aGUgc3ViZm9sZGVycyB3aGljaCBjb3JyZXNwb25kcyB0byBUQVAtV2luMzIgbmV0d29yayBpbnRlcmZhY3MuClRoZXNlIHdpbGwgaGF2ZSBDb21wb25lbnRJZD0idGFwMDkwMSIuIFlvdSBjYW4ndCBzZWUgZnJvbSBoZXJlIGlmIHRoaXMgaXMgYWN0dWFsbHkgdGhlIHJpZ2h0Cm5ldHdvcmsgaW50ZXJmYWNlLCBpbiBjYXNlIHlvdSBoYXZlIG11bHRpcGxlIFRBUC1XaW4zMidzLgpOb3cgcmVtZW1iZXIgaXRzIE5ldENmZ0luc3RhbmNlSWQsIGFuZCBvcGVuOgoKSEtFWV9MT0NBTF9NQUNISU5FXFxTWVNURU1cXEN1cnJlbnRDb250cm9sU2V0XFxDb250cm9sXFxOZXR3b3JrXFx7NEQzNkU5NzItRTMyNS0xMUNFLUJGQzEtMDgwMDJCRTEwMzE4fVxcWU9VUl9OZXRDZmdJbnN0YW5jZUlkXFxDb25uZWN0aW9uCgpIZXJlIHlvdSB3aWxsIHNob3VsZCBjaGVjayBOYW1lIGF0dHJpYnV0ZS4KCklmIHlvdSBjYW4ndCBmaW5kIHlvdXIgVEFQLVdpbjMyIGxpa2UgdGhhdCwgbmVpdGhlciB3aWxsIHR1bjJzb2Nrcy4=