Deploy RemotePC via JumpCloud
Use JumpCloud to remotely deploy the RemotePC application to multiple Mac devices or groups.
Prerequisites:
- Download the RemotePC mass deployment package.
- Log in and copy the Configuration ID applicable to your account.
Enable Accessibility, Screen recording, and Allow in the Background Using JumpCloud Policy
-
Navigate to the JumpCloud Admin Portal. Enter your Email and click 'Continue'. Enter your Password and click 'Admin Login'.

- Navigate to 'DEVICE MANAGEMENT' > 'Policy Management'.

-
Click
. The 'New Policy' popup appears. Click the 'Mac' tab.

-
Scroll down or type in to locate 'MDM Custom Configuration Profile' and click 'configure'.

-
In the 'New Policy' popup, under the 'Details' tab, enter the following.
- Policy Name: RemotePC-Config-Policy
- Policy Notes: Mass deployment for RemotePC
- Under the 'Settings' section, click 'upload file'.
- Download the RemotePC.mobileconfig file and click 'Upload'.
- The configuration file has been successfully uploaded. Click 'Save.'

- To apply the configuration policy to all devices within the available groups, click the 'Device Groups' tab and select the corresponding Device Group checkboxes.
Alternatively, to apply the configuration policy to selected devices, click the 'Devices' tab and select the corresponding Device checkboxes.
You can apply the policy to any existing policy groups by clicking the 'Policy Groups' tab and selecting the corresponding Policy Group Checkboxes. Click 'Save'.

- In the 'Configuration Associations' popup, click 'Save'. The new configuration policy has been saved successfully.
Note: The device will automatically allow most permissions added in the MDM Custom Configuration Profile. While the ScreenCapture permission cannot be explicitly granted, the device will be configured to allow any user account to enable it. For information on screen recording permissions, refer to the Remote Access via Desktop FAQ.

Register Computers Using Custom Parameters
- Open the 'RemotePC Preinstall.sh' file you previously downloaded.
- Edit the script, add values for the required parameters as listed in the table below, and save the file. Refer to the image for reference.

- Use the parameters below to register computers to a specific group, along with other parameters during deployment.
| Parameters | Description |
|---|---|
| DEPLOY_CODE | This is a mandatory parameter, and you can find it under Deploy Package > Group deployment > Configuration ID in your RemotePC account |
| PERSONAL_KEY | Set a 'Personal Key' for the remote computer |
| GROUP_NAME | Name of the group in which the computer will be assigned * |
| HIDE_TRAY | |
| 1 | Enabling this option will prevent users from accessing the tray options on their remote computers |
| 0 | Unhide the tray and allow users to access tray options |
| HOSTALLOWDENY_REQUEST | |
| 0 | Connection request permission is disabled |
| 1 | Automatically decline the connection in the login screen after the request expires |
| 2 | Automatically allow connection in the login screen after the request expires |
| 3 | Allow connection after the request expires |
Deploy RemotePC via JumpCloud
- Navigate to 'DEVICE MANAGEMENT' > 'Commands'.

- Click the
> 'Command'.

- The 'New Command' popup appears. Click the 'Details' tab. Enter the following under Details.
- Enter the Name (e.g., RemotePC Deployment).
- Click the 'Run As' dropdown and select 'root'.
- Enter a 'Description' (e.g., Mass deployment for RemotePC (Optional)).
- Select 'Mac' under 'Type'.
- Enter the following command.
#!/bin/bash # Define file paths using the JumpCloud file destination PREINSTALL_SCRIPT="/tmp/RemotePC Preinstall.sh" INSTALL_PKG="/tmp/RemotePCHost.pkg" APP_PATH="/Applications/RemotePCHost.app" # --- Run Pre-installation Script — echo "Running pre-installation script..." /bin/bash "$PREINSTALL_SCRIPT" if [ $? -ne 0 ]; then echo "Pre-installation script failed. Exiting." exit 1 fi # --- Install the Package — echo "Installing the package..." installer -pkg "$INSTALL_PKG" -target / if [ $? -ne 0 ]; then echo "Package installation failed." exit 1 fi # --- (Optional) Clean up the files from the /tmp directory — rm "$PREINSTALL_SCRIPT" "$INSTALL_PKG" echo "Installation complete." # --- Launch the installed RemotePC Application — loggedInUser=$(stat -f "%Su" /dev/console) if [[ "$loggedInUser" != "root" && -d "$APP_PATH" ]]; then echo "Launching app for user: $loggedInUser" sudo -u "$loggedInUser" open "$APP_PATH" else echo "No logged-in user. Skipping app launch." fi - Schedule the launch event frequency as needed by selecting the event from the 'Event' dropdown. You can set the timeout duration to your preference or use a custom value.
- Click 'Upload File' to select the downloaded and edited 'RemotePC Preinstall.sh' script file and click 'OK'.
- Click 'Upload File' to select the downloaded 'RemotePCHost.pkg' file on your computer and click 'OK'.

- Update the PREINSTALL_SCRIPT and INSTALL_PKG variables in the Command with the 'File Destination' paths of the script and the package, respectively.

- To apply the command to all devices within the available groups, click the 'Device Groups' tab and select the corresponding Device Group checkboxes.
Alternatively, to apply the command to selected devices, click the 'Devices' tab and select the corresponding Device checkboxes. Click 'Save'.


- To deploy the saved command immediately to all the devices, click on 'Run Now'. It may take some time for the machines to receive the deployment package.
The command result details can be checked from the 'Results' tab.
Once the RemotePC application is successfully installed, check for the device in the RemotePC dashboard. The machine will be listed in the dashboard under 'Computers'.