VMware Cloud Community
team-ip-service
Enthusiast
Enthusiast
Jump to solution

vmware-tools disable vmhgfs

Hello,

I'm looking for a way to disable the shared folder feature, especially to stop vmware tools to put lines in /etc/fstab (on linux host).

I'm also looking for a good documention which vmware.tools.options are available at all.

My search didn't return any good results.

Thanks

Markus

0 Kudos
1 Solution

Accepted Solutions
Texiwill
Leadership
Leadership
Jump to solution

Hello,

The sanbarrow reference will disable vmhgfs but it will not stop vmware-config-tools.pl from adding a line to /etc/fstab. To do that you will have to modify the /etc/vmware/locations file and disable all VMHGFS_* lines.... Change from True or On to False or Off depending on the original response.

Remeber on ESX, vmhgfs is disabled anyways, just adding it in guarranttees that when a VM is moved from ESX to Workstation that it will not allow vmhgfs unless there is a change.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education. CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354, As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill

View solution in original post

0 Kudos
2 Replies
Rubeck
Virtuoso
Virtuoso
Jump to solution

From: http://sanbarrow.com/vmx/vmx-advanced.html#guestcommands

Add this to the VM .vmx file: isolation.tools.hgfs.disable = "True"

/Rubeck

Texiwill
Leadership
Leadership
Jump to solution

Hello,

The sanbarrow reference will disable vmhgfs but it will not stop vmware-config-tools.pl from adding a line to /etc/fstab. To do that you will have to modify the /etc/vmware/locations file and disable all VMHGFS_* lines.... Change from True or On to False or Off depending on the original response.

Remeber on ESX, vmhgfs is disabled anyways, just adding it in guarranttees that when a VM is moved from ESX to Workstation that it will not allow vmhgfs unless there is a change.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education. CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354, As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos