Deploy RemotePC® using Group Policy (GP) with MSI and MST files
Using the RemotePC 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 RemotePC 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 RemotePC application on domain computers
- Steps to deploy the RemotePC application on domain computers
- Deploy RemotePC 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 RemotePC 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 MSI installer package.
- Select the package and click 'Open' to add to the software installation container.
- After selecting the RemotePC MSI file, choose the 'Advanced' option in the pop-up that appears and click 'OK'.
- Allez dans l'onglet "Options de déploiement avancées", sélectionnez "Ignorer la langue lors du déploiement de ce paquet". Cliquez sur "OK".
- Go to the 'Modifications' tab in the 'RemotePC Setup Properties' section to add the MST file you just created. Cliquez ici pour savoir comment créer un fichier MST via l'outil Orca.
- 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 application on domain computers
- Open the command prompt.
- Run the following command:
gpupdate /force - Click 'Enter'.
Remarque :
- Reboot the computer (This is a mandatory step).
- Après le redémarrage du système, RemotePC sera déployé.
The RemotePC 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 application to all connected computers using a command line parameter in a few simple steps.
Steps to install the RemotePC by using "msiexec.exe" Command-Line Parameters
Run the following commands in the command prompt to install the RemotePC.
To install RemotePC
- Lancez l'invite de commande en mode administrateur.
- Ensure that the path is: C:\WINDOWS\system32
- Exécuter la commande :
msiexec.exe /i <RemotePC.msi path> /qn ID=<Configuration ID> GROUPNAME=<group name> PERSONALKEY=<personal key> HIDETRAY=<0 or 1> CONNECT_PERMISSION=<0 or 1 or 2 or 3> REMOVE_WALLPAPER=<0 or 1> DISABLE_AERO_THEME=<0 or 1> DISABLE_FONT=<0 or 1> DISABLE_SLEEP_MODE=<0 or 1> HARDWARE_ACCELERATION=<0 or 1> CONNECT_TO_ACTIVE_SESSION=<0 or 1> SHOW_WHO_IS_ACCESSING=<0 or 1>COMPUTERNAME=<Computer Name>
Par exemple :
Uninstall RemotePC host using MSI
Pour désinstaller l'hôte RemotePC à l'aide de MSI,
- Lancez l'invite de commande en mode administrateur.
- Assurez-vous que le chemin d'accès est le suivant C:\WINDOWS\system32>
- Uninstall RemotePC host using the command:
msiexec.exe /i <RemotePC.msi path> /qn UNINSTALL=yes
For Example:
msiexec.exe /i "C:\Users\Test\Desktop\MSI\UN\RemotePC.msi" /qn UNINSTALL=yes
Deploy RemotePC silently using command-line parameters
Vous pouvez prédéfinir des paramètres optionnels pour l'ordinateur distant lors de l'installation.
Paramètres | Description |
---|---|
ID | Il s'agit d'un paramètre obligatoire que vous trouverez sous Déployer un paquet > Déploiement de groupe via MSI > ID de configuration dans votre compte RemotePC. |
CLÉ PERSONNELLE | Set a 'Personal Key' for the remote computer |
NOM DE GROUPE | Nom du groupe dans lequel l'ordinateur sera affecté * |
NOM D'ORDINATEUR | Nom de la machine assignée à l'hôte |
DÉSINSTALLER | Uninstall RemotePC host using the MSI command UNINSTALL=yes Note: Use this as a stand-alone parameter |
HIDETRAY | |
1 | L'activation de cette option empêchera les utilisateurs d'accéder aux options de la barre d'état sur leurs ordinateurs distants. |
0 | Désactiver le plateau et permettre aux utilisateurs d'accéder aux options du plateau |
AUTORISATION_CONNEXION | |
0 | L'autorisation de demande de connexion est désactivée |
1 | Refuser automatiquement la connexion dans l'écran de connexion après l'expiration de la demande |
2 | Autoriser automatiquement la connexion dans l'écran de connexion après l'expiration de la demande |
3 | Autoriser la connexion après l'expiration de la demande |
REMOVE_WALLPAPER | |
1 | L'activation de cette option permet de supprimer le fond d'écran pendant la session à distance. |
0 | Le fond d'écran est affiché pendant la session à distance |
DISABLE_AERO_THEME | |
1 | Désactiver le thème aérodynamique pendant la session à distance |
0 | Le thème Aero reste actif pendant la session à distance |
DISABLE_FONT | |
1 | Le lissage des polices est désactivé pendant la session à distance. |
0 | Le lissage des polices est activé |
MODE_SOMMEIL_DÉSACTIVÉ | |
1 | Désactiver le mode veille lorsque l'hôte est configuré |
0 | Si cette option est désactivée, l'ordinateur distant passera en mode veille après un certain temps. |
ACCÉLÉRATION MATÉRIELLE | |
1 | Utiliser l'accélération matérielle pendant la session à distance |
0 | L'accélération matérielle est désactivée |
CONNECT_TO_ACTIVE_SESSION | |
1 | Enabling this option will allow users to connect to an active session |
0 | La connexion à une session active est désactivée |
SHOW_WHO_IS_ACCESSING | |
1 | Afficher une notification pour savoir qui accède à une session à distance |
0 | Masquer la notification de la personne qui accède à une session à distance |
*Note :
- COMPUTERNAME doit comporter entre 1 et 50 caractères.
- Si le nom du groupe n'existe pas, un nouveau groupe sera créé avec le nom soumis et l'ordinateur y sera affecté.
- Si l'ordinateur existe déjà dans un autre groupe, il sera déplacé dans le nouveau groupe spécifié par l'utilisateur.