Tiger666
Contributor
Contributor

Horizon client - Install Failed

Jump to solution

Trying to install horizon client on my personal Win 10 PC. I've had it installed before but this time I just get Install Failed. I've attached the logs. I'm on Win 10 64bit 19041.450.

1 Solution

Accepted Solutions
domdsouza
Enthusiast
Enthusiast

This is what's causing the issue.

vdmInstUtil: 09/02/20 08:43:33 ERROR: Failed writing to file "C:\WINDOWS\system32\Drivers\etc\hosts".

For some silly reason, it wants to add an entry to the hosts file as shown below.

127.0.0.1 view-localhost # view localhost server

A lot of AntiVirus applications will prevent this, and hence the failed install. The workaround is to stop the AV temporarily until the install is complete, or add those entries manually. If that entry exists, it will skip that part.

View solution in original post

5 Replies
Lalegre
Virtuoso
Virtuoso

Hello Tiger666​,

I can see these extracts inside the vminst log:

inst-build-16490312| E2: VNLDeleteSystemFile: failed to delete 0x00000002 'C:\WINDOWS\system32\drivers\vmusb.sys'

2020-09-02T08:43:27.782+01:00| inst-build-16490312| E2: VNLDeleteSystemFile: failed #3 to delete 0x00000002 'C:\WINDOWS\SysWOW64\drivers\vmusb.sys'

Could you go on that path and try to remove those two files manually if they are there? It could be that they keep orphaned from your last installation.

0 Kudos
Tiger666
Contributor
Contributor

Those two files are not there.

0 Kudos
domdsouza
Enthusiast
Enthusiast

This is what's causing the issue.

vdmInstUtil: 09/02/20 08:43:33 ERROR: Failed writing to file "C:\WINDOWS\system32\Drivers\etc\hosts".

For some silly reason, it wants to add an entry to the hosts file as shown below.

127.0.0.1 view-localhost # view localhost server

A lot of AntiVirus applications will prevent this, and hence the failed install. The workaround is to stop the AV temporarily until the install is complete, or add those entries manually. If that entry exists, it will skip that part.

View solution in original post

Tiger666
Contributor
Contributor

You've got it. Added the line and it skipped and installed. Thanks a lot.

0 Kudos
grimb1e
Contributor
Contributor

This trick really works. Thank you very much.

0 Kudos