Deploy Code42 apps silently with local authentication
Overview
For Code42 environments that control users with Code42 local authentication, this article describes how to configure deployment packages that install Code42 apps and start backups automatically, silently, with no user intervention.
Considerations
This article assumes you understand the introduction to deployment provided by the article Prepare to deploy Code42 client apps.
These instructions apply to administrators deploying Code42 apps version 6.5 or later with on-premises authority servers version 6.5 or later. If you are using older servers or clients, select the appropriate instructions from Manage app installations in your Code42 environment.
To use these deployment tools, you need to sign in to your administration console as a user with one of these roles:
The process described here generates Code42 passwords automatically. Those passwords are not available to users or administrators. To grant a user access to the Code42 app or the administration console, an administrator needs to sign in to the administration console and edit the user data to set a new password.
Step 1: Identify the deployment organization
In your administration console, create or identify an organization that:
- Uses local authentication
- Has at least one destination where backups can auto-start
To verify the organization's configuration:
- Sign in to the administration console.
- Select Administration > Organizations > Active.
- Select an organization.
- Note the organization name; you will need it later.
- Select ORG INFO > Security.
- The Authentication must be Local.
- The Directory service must be blank.
- Select DEVICE BACKUP DEFAULTS > Backup.
- DESTINATIONS must list at least one destination name and Yes.
- The other possible value, DESTINATIONS ... Auto-start, is not acceptable. It means silent deployment is not possible.
- To set a destination to Yes, go to the organization's action menu and select Device Backup Defaults, then click Backup and scroll to Destinations.
- DESTINATIONS must list at least one destination name and Yes.
- Select DEVICE BACKUP DEFAULTS > Network.
- Note whether PROXY is enabled; you will need that information later.
- If necessary, change organization configuration. In the action menu in the upper-right, select Edit.
Step 2: Create the deployment policy
Define the deployment policy for the organization you identified in Step 1.
- In the administration console, select Administration > Client Management > Deployment.
- Select Create New Deployment Policy or Create New Policy.
The prompt differs depending on whether you see the initial welcome screen or your list of existing policies. - Enter a Policy Name to describe this policy.
- At How should new users register select the organization you identified in Step 1 above.
If your organization's name is dimmed in the menu, that organization already has a policy. You can edit or delete that existing policy. - At Do you want to automatically register users, select Yes.
- At Which operating systems, select the systems you will deploy Code42 apps to.
- For each operating system you select, select either:
- Use default script: For deployment to Windows and Mac only
- Add a custom batch/bash script: Required for deployment to Linux; optional for deployment to Windows and Mac
Provide a script that identifies the username and home directory that the Code42 app will provide when it registers with your Code42 environment. For details, see the script reference. The script must end by echoing the username and user home directory:echo C42_USERNAME=<value> echo C42_USER_HOME=<value>
- At Do your clients need a proxy URL, select No or Yes, depending on what you determined in Step 1: Identify the deployment organization.
- At Launch desktop app after initial install, select No for silent deployment.
- Click Save.
The Policy Saved dialog appears. - Click Done.
You can return to the policy and copy the installation properties at any time.