aaron-kelley.net

My little corner of the Internet

VMware Network Bridge Fix

Download VMware Network Bridge Fix 1.0.1 (4.75 KB)

Last Updated: March 12, 2012
Project Status: Complete

A bug exists in VMware Workstation 7.x that causes the network bridge service to fail after a Windows system is resumed from hibernate (and possibly regular sleep as well). This system service simply restarts the VMware Network Bridge service whenever your system is woken up. This keeps everything in working order.

Requirements:

  • Microsoft .NET Framework 4.0 Client Profile.

To install:

  • Extract the contents of this .zip file.
  • Locate the extracted files in Windows Explorer.
  • Right-click the “install.bat” file and choose “Run as Administrator” (or just double-click “install.bat” if you are using Windows XP).
  • The service will start automatically at next boot. If you’d like to start it now, open a command prompt (as administrator) and type:

    net start vmnetbridgefix

To uninstall:

  • Extract the contents of this .zip file.
  • Locate the extracted files in Windows Explorer.
  • Right-click the “uninstall.bat” file and choose “Run as Administrator” (or just double-click “uninstall.bat” if you are using Windows XP).

To upgrade:

  • To upgrade from the previous version, run an uninstall and then an install.

Changelog:

  • Version 1.0.1
    • Made changes to the install and uninstall scripts to allow running from Windows Explorer (instead of a command prompt).

8 Responses to “VMware Network Bridge Fix”

  1. Aaron says:

    Thanks to Taz — I’ve included these changes in an update to the install/uninstall script in version 1.0.1.

  2. Taz says:

    Thanks. Note: you must do this from a elevated command prompt.

    If you right click on the batch file thru explorer with Run As Administrator, Windows changes the initial start folder to C:\Windows (or something similar) so the path from which you run the batch file gets lost. Therefore it can’t copy the .exe service file across.

    Aaron: I found this a few years ago as a solution. If you put this at the top of the batch file, you should be able to do the RunAs thru explorer
    FOR /F %%I IN (“%0″) DO SET BATDIR=%%~dpI
    ECHO I am located in directory: %BATDIR%
    CD /D “%BATDIR%”

  3. Aaron says:

    You have to right-click the command prompt icon in the start menu and select “Run as Administrator” to get an elevated prompt.

  4. Rob says:

    Having followed your instructions I am getting the same error as Andrei…

    Any ideas?

    I am logged on as an administrator – is there something else I have to do to start an administrative command prompt?

  5. Aaron says:

    Yes, I am using it on 64-bit Windows 7.

    Note that the program is not meant to be run by itself, it is meant to be run as a system service. See instructions above for installing it as a service.

    Also note that the .NET Framework 4.0 Client Profile must be installed.

  6. Andrei says:

    Should it work on 64-bit Windows 7?

    I’ve got this error
    Exception occurred while initializing the installation:
    System.IO.FileLoadException: Could not load file or assembly ‘file://C:\Windows\syswow64\vmnetbridgefix.exe’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0×80131515).

  7. qubix says:

    Awesome fix, thanks very much!

  8. cainan says:

    Thanks for the fix :)

Leave a Reply

This site is protected by Akismet. I now receive too many spam comments to manually check them all for misclassifications. If you suspect that your comment has been filtered as spam (i.e., it does not appear right away), please try rewording it and submitting again. Using no more than one hyperlink will also improve the chances of your comment not being accidentally filtered as spam.
328,988 spam comments detected since August 1, 2009.