Problem with VMWorkstation 6.5.3-185404 VMware Net Adapers on Windows 2008 R2 host and solution

Version 1

     

    I installed VMWare workstation on Windows 2008 R2 and after every restoart of host I have no connectivity to Internet. After disabling and reenablin all VMWare virtual network cards everything was OK. Then I solved the problem by putting into windows scheduler following script (and start in on system start with 5 minutes delay)

     

     

    strComputer = "."

    Set objWMIService = GetObject("winmgmts:
    " & _

        strComputer & "\root\cimv2")

     

    set colAdapters = _

        objWMIService.Execquery ("Select * from Win32_NetworkAdapter Where NetEnabled=True")

    For Each Adapter in colAdapters

        If Left(Adapter.Name,6)="VMware" Then

        errReturn = Adapter.Disable()

        errReturn = Adapter.Enable()

        End If

    Next

     

     

    Now everything works perfectly.