Script To Disable VMware Horizon Auto Update

Here in this blog i will provide you PowerShell Script To Disable VMware Horizon Auto Update​.

VMware Horizon Client is a powerful tool that allows users to connect to their virtual desktops and applications from various devices. It provides a seamless and efficient way to access resources hosted on VMware Horizon servers. However, managing updates for the Horizon Client can be crucial, especially in enterprise environments where stability and control over software versions are paramount. In this blog, we will explore the VMware Horizon Client in detail and provide step-by-step instructions on how to disable its auto-update feature.

 

 

What is VMware Horizon Client?

 

VMware Horizon Client is a software application that enables users to connect to virtual desktops and applications provided by VMware Horizon. It supports various operating systems, including Windows, macOS, Linux, iOS, and Android. The client offers a rich user experience with features like high-definition video, audio, and USB redirection, making it an ideal choice for remote work and virtual desktop infrastructure (VDI) environments.

Why Disable Auto-Update?

While keeping software up-to-date is generally recommended for security and performance reasons, there are scenarios where disabling auto-update might be necessary. For instance, in a controlled IT environment, administrators may want to test new versions of the Horizon Client before deploying them to all users. Disabling auto-update ensures that users remain on a stable version until the new version is thoroughly tested and approved.

Steps to Disable Auto-Update

Disabling the auto-update feature for VMware Horizon Client can be achieved through various methods, including registry modifications and command-line options. Below, we will outline the steps to disable auto-update using a registry modification.

Method 1: Using Registry Editor

1. Open Registry Editor: Press `Win + R`, type `regedit`, and press `Enter`.
2. Navigate to the Key: Go to `HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware VDM\Client`.
3. Add a New String Value: Right-click on the `Client` key, select `New > String Value`, and name it `AutoUpdateAllowed`.
4. Set the Value: Double-click on `AutoUpdateAllowed` and set its value to `false`.
5. Close Registry Editor: Close the Registry Editor and restart the Horizon Client.

 

Method 2: Script To Disable VMware Horizon Client Auto Update

 

For those who prefer using the command line, the following command can be used to disable auto-update:

“`powershell

REG ADD “HKLM\SOFTWARE\VMware, Inc.\VMware VDM\Client” /v AutoUpdateAllowed /t REG_SZ /d false /F
“`

This command adds a new string value named `AutoUpdateAllowed` under the specified registry key and sets its value to `false`, effectively disabling the auto-update feature.

Detailed Explanation of the Command

– REG ADD: This command is used to add a new entry to the registry.

“HKLM\SOFTWARE\VMware, Inc.\VMware VDM\Client”:  This specifies the path in the registry where the new entry will be added.
/v AutoUpdateAllowed: This names the new entry “AutoUpdateAllowed”.

– /t REG_SZ: This specifies the type of the entry as a string (REG_SZ).
– /d false: This sets the value of the entry to “false”.
– **`/F: This forces the command to execute without prompting for confirmation.

Benefits of Disabling Auto-Update

Disabling auto-update for VMware Horizon Client offers several benefits:

1. Control Over Updates: Administrators can control when and how updates are applied, ensuring that new versions are tested before deployment.
2. Stability: Users remain on a stable version of the client, reducing the risk of encountering issues with new updates.
3. Compliance: In regulated environments, maintaining control over software versions can be crucial for compliance with industry standards and regulations.

Conclusion

VMware Horizon Client is an essential tool for accessing virtual desktops and applications. While auto-updates can be beneficial, there are scenarios where disabling this feature is necessary to maintain control and stability. By following the steps outlined in this blog, administrators can easily disable auto-update for VMware Horizon Client, ensuring a stable and controlled IT environment.

Leave a Comment

Your email address will not be published. Required fields are marked *

Exit mobile version