Administrators can configure feature and policy settings from the administrative web portal to ensure that data is safe and protected for end users. Certain desktop client settings, however, can be updated and reconfigured by an end user after the desktop client is installed and registered.
As an administrator, you can sometimes force an update to a desktop client setting to ensure that certain options are enabled for end users. For example, you can use scripts to update the following policies:
- The Auto Locking policy can be turned on or off, and you can set the amount of time the file remains locked. By default, this policy is turned on.
- The Manual Collision Resolution policy can be turned on or off. By default, this policy is turned off.
Prerequisites
Before you attempt to run these scripts on a local machine, please ensure you have access to the following:
- Organization administrator credentials
- The organization hostname
- The organization ID, which can be found by logging into the specific organization and noting the URL, which includes the organization-id integer:
https://{domain}/sites/{organization-id}/dashboard/
Additionally, ensure the user’s local machine has access to:
- An internet connection (for SaaS environments)
- A Private Cloud host (for Private Cloud environments)
- Python version 2.7 or higher
- The requests Python package, which can be installed using the following command:
>_ pip install requests
Instructions for Setting the Auto Lock Duration Setting
- After all prerequisites are met, download the Python script.
- Open an elevated command prompt.
- From the command line, configure the Auto Locking policy using the following options:
--host |
The hostname of the user’s organization. |
--username |
The username of the administrator. |
--password |
The password of the administrator. |
--company-id |
The company ID of the organization, which can be found within the organization’s URL, as described above. |
--auto-lock |
Controls whether the Auto Locking feature mode, where 0 - Always, 1 - Never, 2 - Ask. Note: This flag is required if you want to change --auto-lock-duration. |
--auto-lock-duration |
Controls the amount of time a file will remain locked. Options include: 28800 (8 hours), 14400 (4 hours), 7200 (2 hours), 3600 (1 hour). |
For example:
>_ python update_machine_policy_across_org.py --host "hostname" --username "org admin username" --password "org admin password" --company_id org-id --auto-lock 0 --auto-lock-duration 3600
Instructions for Configuring the Manual Collision Resolution feature
- After all prerequisites are met, download the Python script.
- Open an elevated command prompt.
- From the command line, configure the Manual Collision Resolution policy using the following options:
--host |
The hostname of the user’s organization. |
--username |
The username of the administrator. |
--password |
The password of the administrator. |
--company-id |
The company ID of the organization, which can be found within the organization’s URL, as described above. |
--manual-collisions |
Turns on the Manual Collision Resolution feature. |
--no-manual-collisions |
Turns off the Manual Collision Resolution feature. |
For example:
>_ python update_machine_policy_across_org.py --host "hostname" --username "org admin username" --password "org admin password" --company_id org-id --manual-collisions
Comments
0 comments
Article is closed for comments.