VMware Communities
srynoname
Contributor
Contributor

LAN-Segment name missing after Windows reinstall

I recently reinstalled Windows and VMware. Before the reinstall I made a backup of my VMs, they all work great. However I was using LAN Segments, they are also still working, but their names are missing, I assume they are (which makes sense) saved in some VMware configuration, not in the settings for the virtual machines. Now, how can I add the names for the still existing (in the VMs) LAN segments? Thanks!

Reply
0 Kudos
2 Replies
continuum
Immortal
Immortal

just look up the name in the vmx-file and then create a new LAN-segment


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
srynoname
Contributor
Contributor

Thank you, but there are no names in the vmx files, also vmware uses IDs for identifying the lan segments.

for the records:

lan segments are defined in C:\Users\<username>\AppData\Roaming\VMware\preferences.ini

it looks like this:

pref.namedPVNs.count = "1"
pref.namedPVNs0.name = "test"
pref.namedPVNs0.pvnID = "12 12 12 12 12 12 12 12-12 12 12 12 12 12 12 12" // hex values

pvnID is the thing contained in the vmx files of the virtual machines. So one needs to collect the pvnIDs of all vmx files and add them to C:\Users\<username>\AppData\Roaming\VMware\preferences.ini (note that there is also a pvnID for host-only networks, don't include that one - just those ethernet objects in the vmx fies that also have a name and not only a pvnID). Next time one better backups C:\Users\<username>\AppData\Roaming\VMware\preferences.ini too, saves some time :winking_face: