Disable the UltraVNC System Tray Icon
This custom script disables the UltraVNC Tray Icon on the user's machine.
PowerShell Script
The UltraVNC System Tray Icon can be disabled by using a custom PowerShell script.
The following script is the Disable UltraVNC Tray Icon sample PowerShell script. Copy it and save it as a .ps1 file. For further information on hosting this script see Quick Guide to Self-Hosting Custom Scripts.
Disable UltraVNC Tray Icon Script
This script disables the UltraVNC Tray Icon on the computer it is run on.
Note: Once this script is run, you will need to log off the current user session for the changes to come into effect.
Custom Script Settings
The table below outlines all the fields that need to be set when creating this custom script.
For a detailed guide, refer to Create a Disable UltraVNC Tray Icon Script.
Field
Value
Name
Disable UltraVNC Tray Icon
Type
PowerShell
Command-Line
Run As
System Account or Specified User Account
Create a Disable UltraVNC System Tray Icon Custom Script
1. Select the Control Grid tab on the top menu bar.
2. Navigate to the Applications tab.
3. Click CUSTOM SCRIPT.
4. Select Create Custom Script.
5. Enter a Name for the script, Disable UltraVNC Tray Icon in this example. Use any name you'd like to use.
6. Enter the URL that points to the location where the script is being hosted, http://faronics.org/proservices/HideUVNCTrayIcon.ps1 in this example. You might need to download this file and host it on a link that is whitelisted in your firewall.
Best Practice is to download the sample script and self-host it. You can do this for free with GitHub. See the Quick Guide to Self-Hosting Custom Scripts for more information.
7. Select the script type: Powershell.
8. Command Line: Enter the path to the exe file inside double-quotes "http://faronics.org/proservices/HideUVNCTrayIcon.exe" .
The double-quotes " " are required around the command line parameter.
9. Select the account to Run As; either System Account or Specified User Account.
10. Click SAVE TO GRID.
Once saved, the script can be pushed to an individual computer or groups of computers. It can also be scheduled using a Policy.
For a guide on how to run your Custom Script, see Pushing the Script.
The script will now appear in the list of Custom Scripts. It will also be available to select from the Applications Control Grid View.
Search for the script in the grid using the search option. If your applications are grouped, you will see a column named Custom Scripts. Selecting the Custom Script header will display all the scripts that have been added to the grid.
Last updated