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'.
- Vá para o separador "Advanced Deployment Options" e seleccione "Ignore language when deploying this package". Clique em "OK".
- Go to the 'Modifications' tab in the 'RemotePC Setup Properties' section to add the MST file you just created. Clique aqui para saber como criar um ficheiro MST através da ferramenta 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'.
Nota:
- Reboot the computer (This is a mandatory step).
- Após a reinicialização do sistema, o RemotePC será implantado.
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
- Iniciar a linha de comandos no modo de administrador.
- Ensure that the path is: C:\WINDOWS\system32
- Executar o comando:
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>
Por exemplo:
Uninstall RemotePC host using MSI
Para desinstalar o anfitrião RemotePC utilizando MSI,
- Iniciar a linha de comandos no modo de administrador.
- Certifique-se de que o caminho é: 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
É possível predefinir parâmetros opcionais para o computador remoto durante a instalação.
Parâmetros | Descrição |
---|---|
ID | Este é um parâmetro obrigatório e pode ser encontrado em Deploy Package > Group deployment via MSI > Configuration ID na sua conta RemotePC |
CHAVE PESSOAL | Set a 'Personal Key' for the remote computer |
NOME DO GRUPO | Nome do grupo em que o computador será atribuído * |
NOME DO COMPUTADOR | Nome da máquina atribuída ao anfitrião |
DESINSTALAR | Uninstall RemotePC host using the MSI command UNINSTALL=yes Note: Use this as a stand-alone parameter |
HIDETRAIA | |
1 | A ativação desta opção impedirá os utilizadores de acederem às opções do tabuleiro nos seus computadores remotos |
0 | Desocultar o tabuleiro e permitir que os utilizadores acedam às opções do tabuleiro |
CONNECT_PERMISSION | |
0 | A permissão de pedido de ligação está desactivada |
1 | Recusar automaticamente a ligação no ecrã de início de sessão após a expiração do pedido |
2 | Permitir automaticamente a ligação no ecrã de início de sessão após a expiração do pedido |
3 | Permitir a ligação após a expiração do pedido |
REMOVER_PAPEL_DE_PAREDE | |
1 | Se ativar esta opção, o papel de parede será removido durante a sessão remota |
0 | O papel de parede é apresentado durante a sessão remota |
DESACTIVAR_AERO_TEMA | |
1 | Desativar o tema aero durante a sessão remota |
0 | O tema Aero permanece ativo durante a sessão remota |
DISABLE_FONT | |
1 | A suavização do tipo de letra está desactivada durante a sessão remota |
0 | A suavização do tipo de letra está activada |
DESACTIVAR_MODO_DE_SONO | |
1 | Desativar o modo de suspensão quando o anfitrião está configurado |
0 | Se esta opção estiver desactivada, o computador remoto entrará no modo de suspensão após um período de tempo específico. |
HARDWARE_ACCELERATION | |
1 | Utilizar a aceleração de hardware durante a sessão remota |
0 | A aceleração de hardware está desactivada |
CONNECT_TO_ACTIVE_SESSION | |
1 | Enabling this option will allow users to connect to an active session |
0 | A ligação a uma sessão ativa está desactivada |
SHOW_WHO_IS_ACCESSING | |
1 | Mostrar notificação de quem está a aceder durante uma sessão remota |
0 | Ocultar a notificação de quem está a aceder durante uma sessão remota |
*Nota:
- COMPUTERNAME deve ter entre 1 e 50 caracteres.
- Caso o nome do grupo não exista, será criado um novo grupo com o nome apresentado e o computador ser-lhe-á atribuído.
- Se o computador já existir em qualquer outro grupo, será movido para o novo grupo especificado pelo utilizador.