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'.
- Advanced Deployment Options」タブに移動し、「Ignore language when deploying this package」を選択します。OK」をクリックします。
- Go to the 'Modifications' tab in the 'RemotePC Setup Properties' section to add the MST file you just created. ここをクリック OrcaツールでMSTファイルを作成する方法を知る。
- 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'.
注:
- Reboot the computer (This is a mandatory step).
- システム再起動後、RemotePCが展開されます。
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
- 管理者モードでコマンドプロンプトを起動する。
- Ensure that the path is: C:\WINDOWS\system32
- コマンドを実行する:
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>
例えば、こうだ:
Uninstall RemotePC host using MSI
MSIを使用してRemotePCホストをアンインストールします、
- 管理者モードでコマンドプロンプトを起動する。
- パスが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
インストール時に、リモートコンピュータのオプションパラメータを事前に定義することができます。
パラメータ | 説明 |
---|---|
身分証明書 | これは必須のパラメータで、RemotePCアカウントの[パッケージの展開] > [MSIによるグループ展開] > [設定ID]で確認できます。 |
パーソナルキー | Set a 'Personal Key' for the remote computer |
グループ名 | コンピュータが割り当てられるグループ名*。 |
コンピュータ名 | ホストに割り当てられたマシン名 |
アンインストール | Uninstall RemotePC host using the MSI command UNINSTALL=yes Note: Use this as a stand-alone parameter |
ヒデトレー | |
1 | このオプションを有効にすると、ユーザーはリモートコンピュータのトレイオプションにアクセスできなくなります。 |
0 | トレイの非表示を解除し、ユーザーがトレイオプションにアクセスできるようにする |
コネクトパーミッション | |
0 | 接続要求パーミッションが無効 |
1 | リクエストが期限切れになると、ログイン画面で自動的に接続を拒否する。 |
2 | リクエストの有効期限が切れた後、ログイン画面で自動的に接続を許可する。 |
3 | リクエストの有効期限が切れた後に接続を許可する |
削除_壁紙 | |
1 | このオプションを有効にすると、リモートセッション中に壁紙が削除されます。 |
0 | リモートセッション中に壁紙が表示される |
DISABLE_AERO_THEME | |
1 | リモートセッション中にエアロテーマを無効にする |
0 | リモートセッション中もAeroテーマがアクティブのまま |
DISABLE_FONT | |
1 | リモートセッション中、フォントスムージングが無効になる |
0 | フォント・スムージングが有効 |
DISABLE_SLEEP_MODE | |
1 | ホスト設定時にスリープモードを無効にする |
0 | このオプションを無効にすると、リモートコンピュータは一定時間後にスリープモードに移行します。 |
ハードウェアアクセラレーション | |
1 | リモートセッション中にハードウェアアクセラレーションを使用する |
0 | ハードウェアアクセラレーションが無効 |
CONNECT_TO_ACTIVE_SESSION | |
1 | Enabling this option will allow users to connect to an active session |
0 | アクティブなセッションへの接続が無効 |
SHOW_WHO_IS_ACCESSING | |
1 | リモートセッション中に誰がアクセスしているかの通知を表示する |
0 | リモートセッション中のアクセス者の通知を隠す |
*注:
- COMPUTERNAMEは1文字以上50文字以下で入力してください。
- グループ名が存在しない場合は、提出された名前で新しいグループが作成され、コンピュータがそのグループに割り当てられます。
- コンピュータがすでに他のグループに存在する場合は、ユーザーが指定した新しいグループに移動されます。