VMware

Hide VMware Tools Icon

Problem:

When using a VDI or TS/XenApp environment and you don’t want users to access the VMWare tools you need to hide the icon.

Solution:

Disabling access to VMware Tools in the system tray by setting ShowTray to 0 in the registry under HKEY_CURRENT_USER\Software\VMware, Inc.\VMware Tools. This can be done using the GPO preferences or any other Workspace management tool.

 

 

Changing isopath VMware VM’s when using Provisioning boot from ISO

Problem:

When using a bootable ISO to get the Provisioning server settings and need to change the ISO because you add more servers and don’t use some sort of load balancing, you can do this by hand but this is very time consuming.

Solution:

With VMWare PowerCLI it’s possible to do this automated. Download PowerCLI from VMWare, after installing PowerCLI you can use the following command to change the ISOPath:

Get-vm -Name VMNAME* |Get-CDDrive | set-cddrive -isopath “[Templates-Iso] XenDesktopNew.iso”

The Get-VM -Name is used to create a filter to which machines you would like to apply the new settings.

First connect to vcenter using Connect-VIServer, enter the vcenter server FQDN and the credentials.

Links:

Set-CDDrive: https://www.vmware.com/support/developer/PowerCLI/PowerCLI41/html/Set-CDDrive.html
PowerCLI 5.5: https://my.vmware.com/web/vmware/details?downloadGroup=PCLI550&productId=352