VMware Horizon Community
MrJeff85
Contributor
Contributor
Jump to solution

VMware Horizon 5.4.2 won't install Windows 10 x64 1909

Hi, I'm trying to install vmware Horizon client in order to work from home and I can't install it no matter what I do.

Tags (2)
1 Solution

Accepted Solutions
a_p_
Leadership
Leadership
Jump to solution

The Horizon Client installation tries to append an entry to the "hosts" file, which seems to be write protected.

vdmInstUtil: 04/03/20 14:34:53 --- VMAddViewLocalHostEntryToHostsFile() : Adding view-localhost entry to the 'etc\hosts' file.

vdmInstUtil: 04/03/20 14:34:53 File exists: "C:\WINDOWS\system32\Drivers\etc\hosts"

vdmInstUtil: 04/03/20 14:34:53 Searching for '127.0.0.1 view-localhost # view localhost server' in "C:\WINDOWS\system32\Drivers\etc\hosts"

vdmInstUtil: 04/03/20 14:34:53 File exists: "C:\WINDOWS\system32\Drivers\etc\hosts"

vdmInstUtil: 04/03/20 14:34:53 Pattern not found!

vdmInstUtil: 04/03/20 14:34:53 Appending text to file: "C:\WINDOWS\system32\Drivers\etc\hosts"

vdmInstUtil: 04/03/20 14:34:53 ERROR: Failed to open file: "C:\WINDOWS\system32\Drivers\etc\hosts": 13

vdmInstUtil: 04/03/20 14:34:53 ERROR: Failed writing to file "C:\WINDOWS\system32\Drivers\etc\hosts".

vdmInstUtil: 04/03/20 14:34:53 Exiting custom action VMAddViewLocalHostEntryToHostsFile

CustomAction VM_AddViewLocalHostEntryToHostsFile returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

That could be caused by UAC (permission issue), or an A/V app which prevents modifications for this file.

You may need to temporarily disable A/V, or try to add the entry (I marked it in red) manually to the hosts file prior to running the Horizon Client setup.

André

View solution in original post

4 Replies
a_p_
Leadership
Leadership
Jump to solution

The Horizon Client installation tries to append an entry to the "hosts" file, which seems to be write protected.

vdmInstUtil: 04/03/20 14:34:53 --- VMAddViewLocalHostEntryToHostsFile() : Adding view-localhost entry to the 'etc\hosts' file.

vdmInstUtil: 04/03/20 14:34:53 File exists: "C:\WINDOWS\system32\Drivers\etc\hosts"

vdmInstUtil: 04/03/20 14:34:53 Searching for '127.0.0.1 view-localhost # view localhost server' in "C:\WINDOWS\system32\Drivers\etc\hosts"

vdmInstUtil: 04/03/20 14:34:53 File exists: "C:\WINDOWS\system32\Drivers\etc\hosts"

vdmInstUtil: 04/03/20 14:34:53 Pattern not found!

vdmInstUtil: 04/03/20 14:34:53 Appending text to file: "C:\WINDOWS\system32\Drivers\etc\hosts"

vdmInstUtil: 04/03/20 14:34:53 ERROR: Failed to open file: "C:\WINDOWS\system32\Drivers\etc\hosts": 13

vdmInstUtil: 04/03/20 14:34:53 ERROR: Failed writing to file "C:\WINDOWS\system32\Drivers\etc\hosts".

vdmInstUtil: 04/03/20 14:34:53 Exiting custom action VMAddViewLocalHostEntryToHostsFile

CustomAction VM_AddViewLocalHostEntryToHostsFile returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

That could be caused by UAC (permission issue), or an A/V app which prevents modifications for this file.

You may need to temporarily disable A/V, or try to add the entry (I marked it in red) manually to the hosts file prior to running the Horizon Client setup.

André

MrJeff85
Contributor
Contributor
Jump to solution

Thank you! It was Eset even when I tried to suspend protection and firewall that wouldn't let me install. I had to stop a lot of protections in it in order to install the client. It works fine now!

0 Kudos
BYOB14
Enthusiast
Enthusiast
Jump to solution

Webroot also hates the Horizon client.

tx1153
Contributor
Contributor
Jump to solution

I deinstalled Webroot and was able to install Horizon 7, ver 5.5.4 onto my Windows 11.   tested and it worked.  I tried Horizon 8 version 2203 but it did not work.

thanks everyone

0 Kudos