I'm using VMWare Server 2.0 on Windows Server 2003 R2. Sometimes after restarting the host machine, the VMWare host agent service won't start due to an error.

This is the error messages from Event Viewer:

[Service control manager] Timeout (30000 milliseconds) waiting for the VMware Host Agent service to connect.

[Service control manager] The VMware Host Agent service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.

I've set the service to automatically restart after subsequent failure using services.msc (using a 10 min. delay), but it still won't start. Only starting the service manually seems to work.

Has anyone experienced this before? What workarounds or fixes are there?

-- updated --
Here's a small vbs script that i use to check whether a service is running or not, and automatically starts it if it's not running. I use the scheduler to run this script every 15min.

strComputer = "." 
strSvcName = "VMWareHostd" 

set objWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

set objService = objWMI.Get("Win32_Service.Name='" & strSvcName & "'")

If objService.State= "Stopped" Then
    call SendEmail("[email protected]","[email protected]","Service X stopped","")
End If

Private function SendEmail(From, Destination, Subject, Textbody)

    sch = "http://schemas.microsoft.com/cdo/configuration/" 

    Set objEmail = CreateObject("CDO.Message")
    Set objCdoConfig = CreateObject("CDO.Configuration")

    With objCdoConfig.Fields 
        .Item(sch & "sendusing") = 2 ' cdoSendUsingPort 
        .Item(sch & "smtpserver") = "" 
    End With 

    with objEmail

        set .Configuration = objCdoConfig

        .From = From
        .To = Destination
        .Subject = Subject
        .Textbody = Textbody

    end with

    call objEmail.Send

end function


1 Answer 1


create a scheduled task to run on startup that does sc start vmware-service etc, or schedule a task to run every minute and try and start the task.

VMware server 2.0 sucks. VMware server 1.0 was and is great.

  • This is a good answer. I scheduled a task to check if the service is running and start it if it isn't running. Aug 4, 2010 at 20:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .