2

VMWare workstation has a feature to share VMs. To use this feature VMware Workstation Server should be running, and it should be running by a default installation configuration. However in my case This feature won't run its service vmware-hostd and any manual start of this service results in immediate stop.

Review on the log file at C:\ProgramData\VMware\hostd\hostd-##.log shows two significant notes:

  • 2015-06-26T03:52:54.543+04:30 [05264 error 'Default'] An error occurred while loading configuration "C:\ProgramData\VMware\VMware Workstation\ft-vmk-version.ini",not all entries are being read. It is strongly encouraged that you manually inspect the file and fix any corruptions.

  • 2015-06-26T03:52:55.570+04:30 [05264 info 'Solo'] HostdCommon::CreateAndBindServerSocket: soapPort: 8307 2015-06-26T03:52:55.574+04:30 [05264 info 'Default'] Win32 service stopped

Of these two my guess is the second one trying to pinpoint the problem. My guess is based on running the service manually using this command:

C:\Program Files (x86)\VMware\VMware Workstation>vmware-hostd.exe -u "C:\Program Data\VMware\hostd\config.xml" > d:\a.log

which produces this output on stdout:

error: Resource is already in use: <acceptor p:0x053a38b0, h:1148, <TCP '[::1]:8307' >>
backtrace:
backtrace[00] rip 5626d483
backtrace[01] rip 5614eb34
backtrace[02] rip 5614fbb1
backtrace[03] rip ...

I've double checked for any process running on port 8307. There is no such process.

sidenote: I've installed VMware workstation on another machine, but everything was OK there...

Klaus
  • 141

5 Answers5

5

Just go into C:\ProgramData\VMware\hostd folder and delete the datastores.xml FILE. The service will start fine after that...

user582157
  • 61
  • 1
  • 2
2

So I found the culprit. I had proxifier software which routed custom packets into a given socks proxy. I don't know how it denied vmware workstation to startup the shared VM service, but I'm completely sure the problem was originated from this software.

Klaus
  • 141
0

I had the same issue where the service would not start, I deleted the datastores.xml, removed and reinstalled several times with different versions of Workstation from 12-12.52 and nothing. Just randomly I changed the HTTPS port for sharing to any other number and Sharing and the Server Service started right up...

Juan
  • 1
0

Have you got the same admin rights on your workstation? Try to remove the software and install it newly with admin rights. It looks like some component are not working very well, so maybe a new install or update can fix your issue.

-1

I had a similar issue. VMwareHostd didn't start up even though 'Automatic' was selected. The Windows Event log said:

The VMwareHostd service depends on the VMUSBArbService service which failed to start because of the following error: 
The system cannot find the file specified.

VMUSBArbService also wasn't started, even though 'Automatic' was selected. It seemed something was stopping VMUSBArbService from accessing a file. I suspect it was my BitDefender Antivirus, but I couldn't verify that assertion.

The solution was to create a scheduled task along the lines described in this SU answer. For the action I executed net start from the command line. Program/script: C:\Windows\System32\cmd.exe, Add arguments: /C "net start VMwareHostd". I scheduled the task to run as logon after 10 seconds (1s failed).

stanhope
  • 101