Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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("servicescheck@pc.local","admin@pc.local","Service X stopped","")
End If

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

    sch = "" 

    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


share|improve this question
up vote 0 down vote accepted

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.

share|improve this answer
This is a good answer. I scheduled a task to check if the service is running and start it if it isn't running. – Bimo Arioseno Aug 4 '10 at 20:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.