If you have an Enterprise subscription, you can configure VNC Server running on computers you want to control in bulk or remotely using Group Policy. More information.
If you have different versions of VNC Server deployed on the Windows computers in your organization, you can use Group Policy WMI Filters to ensure the correct policies are applied. To do this:
- Follow these instructions to download policy template files from RealVNC and edit parameters appropriately.
- Create one Group Policy Object (GPO) for each version of VNC Server you want to configure.
- Obtain the exact product name of each version of VNC Server. To do this, run the following PowerShell command on one remote computer hosting each version of VNC Server (assuming the default installation directory):
Get-WmiObject -Query 'Select * from CIM_DataFile Where (Name="C:\\Program Files\\RealVNC\\VNC Server\\vncserver.exe")'
An example result is shown below; the important information is highlighted in red:
Compressed : False
Encrypted : False
Hidden : False
Name : c:\program files\realvnc\vnc server\vncserver.exe
Readable : True
System : False
Version : 22.214.171.124523
Writeable : True
- In Group Policy Management Editor, select WMI Filters from the left-hand pane.
- Add a new filter for each version of VNC Server. Give the filter an appropriate Name, leave the Namespace as the default root\CIMv2, and enter the following as the Query, where the name at the end matches the value obtained in step 3:
Select * from CIM_DataFile Where (Name="C:\\Program Files\\RealVNC\\VNC Server\\vncserver.exe" AND Version LIKE "6.2%")For example:
- For each GPO, select the appropriate filter from the WMI Filtering dropdown. In the example below, this GPO will only be applied to remote computers running VNC Server version 6.2: