Deploy RemotePCViewer using Group Policy (GP) with MSI and MST files
Using the RemotePCViewer MSI package, remotely install the application on multiple computers in a network from the Windows Server Environment by setting up the Group Policy on the host server.
To achieve this, create a Group Policy Object, move the RemotePCViewer MSI package and MST file to a shared network folder, and publish the GPO to all the computers across the domain. Read the steps detailed below to know more.
- Steps to create a Group Policy Object (GPO) under active directory environment
- Steps to assign and install the RemotePCViewer MSI application on domain computers
- Steps to deploy the RemotePCViewer application on domain computers
- Deploy RemotePCViewer silently
Steps to create a Group Policy Object (GPO) under active directory environment
-
From the ‘Start’ menu, go to ‘Administrative Tools’ and open ‘Group Policy Management’.
- In the 'Group Policy Management' console, navigate to the 'Forest' folder for creating group policy.
-
Double-click 'Domains' and navigate to 'Group Policy Object'.
-
Right-click 'Group Policy Object' and select 'New' from the drop-down menu.
- Assign a name to the GPO group and click 'OK'.
Steps to assign and install the RemotePCViewer application on domain computers
-
Right-click the new group policy and select 'Edit' from the drop-down menu. This will launch the 'Group Policy Management Editor'.
-
Navigate to 'Computer Configuration' > 'Policies' > 'Software Settings' > 'Software installation'.
-
Right-click 'Software installation' and navigate to 'New' > 'Package'.
- Locate the shared network folder with the RemotePC Viewer MSI installer package.
-
Select the package and click 'Open' to add to the software installation container.
-
After selecting the RemotePC Viewer MSI file, choose the 'Advanced' option in the pop-up that appears and click 'OK'.
-
Gehen Sie auf die Registerkarte "Erweiterte Verteilungsoptionen" und wählen Sie "Sprache bei der Verteilung dieses Pakets ignorieren". Klicken Sie auf "OK".
-
Go to the 'Modifications' tab in the 'RemotePCMSI Setup Properties' section to add the MST file you just created. Klicken Sie hier um zu erfahren, wie man eine MST-Datei mit dem Orca-Tool erstellt.
- Right-click on the MSI package and select 'Properties'. The ‘Properties' window will appear.
- Go to the 'Deployment' tab. Under 'Deployment type', select 'Assigned' and under 'Deployment options', select 'Install this application at logon' for the ‘User Configuration’ type, and click ‘OK’.
-
Right-click the domain and select 'Link an Existing GPO'. The 'Select GPO' screen will appear.
- Select the newly created Group Policy and click 'OK'.
Steps to deploy the RemotePC Viewer application on domain computers
- Open the command prompt.
- Run the following command:
gpupdate /force - Click 'Enter'.
Anmerkung:
- Reboot the computer (This is a mandatory step).
- After system reboot, RemotePC Viewer will be deployed.
The RemotePC Viewer application will be assigned to the domain users on the next sign in and to the domain computers on the next reboot.
You can also deploy the RemotePC Viewer application to all connected computers using a command line parameter in a few simple steps.
Steps to install the RemotePC Viewer by using "msiexec.exe" Command-Line Parameters
Run the following commands in the command prompt to install the RemotePC Viewer.
So installieren Sie RemotePC Viewer,
- Starten Sie die Eingabeaufforderung im Administratormodus.
- Ensure that the path is: C:\WINDOWS\system32
- Führen Sie den Befehl aus:
msiexec.exe /i <RemotePCViewer.msi path> /qn PRODUCTNAME=viewer
For example:
msiexec.exe /i "C:\Users\Test\Desktop\MSI\UN\RemotePCViewer.msi" /qn PRODUCTNAME=viewer
Uninstall RemotePC Viewer using MSI
To uninstall RemotePC Viewer using MSI,
- Starten Sie die Eingabeaufforderung im Administratormodus.
- Stellen Sie sicher, dass der Pfad lautet: C:\WINDOWS\system32>
- Uninstall RemotePC host using the command:
msiexec.exe /i <RemotePCViewer.msi path> /qn PRODUCTNAME=viewer UNINSTALL=yes
For Example:
msiexec.exe /i "C:\Users\Test\Desktop\MSI\UN\RemotePCViewer.msi" /qn PRODUCTNAME=viewer UNINSTALL=yes
Deploy RemotePC silently using command-line parameters
Sie können während der Installation optionale Parameter für den entfernten Computer vordefinieren.
Parameter | Beschreibung |
---|---|
PRODUKTNAME | Product name must be mentioned as ‘viewer’ to install the RemotePC Viewer application. |
UNINSTALLIEREN | Geben Sie diesen Parameter zusammen mit PRODUCTNAME= viewer an, um RemotePC viewer mit dem MSI-Befehl UNINSTALL=yes zu deinstallieren. |