vmnetcfg.exe is an essential tool if you want to manage a Windows host computer’s virtual interfaces (like VMnet1 and VMnet8). If comes with VMware Player, but is buried very deep and you need to know where to look to find it. Thanks mostly to this post, based on an earlier version, I was able to find vmnetcfg.exe in VMware Player v3.1.4. [Update 2012-06-18 – I just tried it on VMware Player 4.0.4. It still works]. Here’s how I did it:
On my first attempt, I found my TEMP directory was so clogged with junk that I couldn’t find the file I needed, so I cleaned it out:
C:\>cd %TEMP% C:\Users\CHRISW~1\AppData\Local\Temp>del /F /S /Q *.*
Or for the GUI junkies – enter the location %TEMP% in the address bar of a Windows Explorer window and clean away.
Some files will be skipped of course as they will be in use.
Next I had to find the VMware Player install file – so I searched my drive for VMware-player*.*. I found Firefox had put it in my Downloads directory.
Step by step
Task 1: Get a window open of your %TEMP% directory
- Make sure VMware player is NOT running.
- Open a Windows Explorer window. Or in layperson speak ‘Open your “Computer” or “My Computer” folder’
- Type %temp% in the address bar; hit <Enter>. Keep this folder open and visible while you continue with the next task,
Task 2: Run VMware-player-3.1.4-385536.exe
- In another Windows Explorer window, locate the VMware-player-3.1.4-385536.exe (or similar name) file you downloaded form vmware.com
- Run this program, and as it loads, notice that a directory appears in your %temp% directory – in my case it was called vmware_1311110184
- When the installer program has got to the Welcome screen, just leave it sit there.
Task 3: Locate network.cab
- Open the vmware_1311110184 directory folder in your %temp% folder.
- Locate the file called network.cab (Note: you will only see the .cab part if you have enabled Windows Explorer to show extensions)
- Open the network.cab and find vmnetcfg.exe (Again, you will only see the .exe part if you have enabled Windows Explorer to show extensions)
- Tip: If you can’t open network.cab by double-clicking on it, type the following commands at the command prompt:
cd %temp% cd vmware_1311110184 explorer network.cab
Task 4: Relocate vmnetcfg.exe
- Copy the vmnetcfg.exe file to your VMware Player’s install directory in my case C:\Program Files\VMware\VMware Player\
- If you get an error copying to this directory, copy it to the Desktop first, and then move it.
- If you don’t move vmnetcfg.exe to the Vmware Player install directory, you will get an error saying that the application failed to start because sigc-2.0.dll was not found.
- Cancel the install
- Right-click and drag the icon for vmetcfg.exe from C:\Program Files\VMware\VMware Player\ to your desktop to create a shortcut
End of lesson