Changing iManage Drive directories
You can change the following directories iManage Drive uses by changing the options mentioned here:
iManage Drive working directory: Directory where users create and modify their folders and files. The following is the default directory for Microsoft Windows:
$USERPROFILE\iManageDrive
ifUSERPROFILE
environment variable is set.$HOMEDRIVE$HOMEPATH\iManageDrive
ifUSERPROFILE
environment isn't set andHOMEPATH
andHOMEDRIVE
environment variables are set.$HOMEPATH\iManageDrive
ifUSERPROFILE
andHOMEDRIVE
environment variables aren't set andHOMEPATH
environment variable is set.
Change the working directory using the following admin settings:
DRIVE_USER_ROOT_DIR
NATIVE_DRIVE_LETTER
if you have set the DRIVE_USER_ROOT_DIR
, then the working directory would be: <DRIVE_USER_ROOT_DIR>\<username>
.
iManage Drive data directory: Directory where iManage Drive saves data into databases. It contains encrypted file storage, log files, and so on. The default directory for iManage Drive data directory is %LOCALAPPDATA%\iManage\GoDrive
.
Change data directory using the following variables:
IMANAGE_DRIVE_APP_DATA_DIR_ROOT
LOCALAPPDATA
Use IMANAGE_DRIVE_APP_DATA_DIR_ROOT
to change the location for storing iManage Drive application data. If this option isn't set, the default path is LOCALAPPDATA
which usually is C:\Users\<username>\AppData\Local
. If set, this overrides the value for the LOCALAPPDATA
environment variable. For example, IMANAGE_DRIVE_APP_DATA_DIR_ROOT: D:\drive_root
NOTE:
- Use this option if you can't change the value for
LOCALAPPDATA
. - Set a unique value for each user so that users don't overwrite each others data, for example—
D:\drive_root\<username>
.
iManage Drive encrypted files directory: Directory that contains encrypted files that are references from iManage Drive working directory. The default directory for the iManage Drive encrypted file storage directory is %LOCALAPPDATA%\iManage\GoDrive\files
.
Change the location for encrypted file directory using the following environment variable: IMANAGE_DRIVE_FILES_DIR
. For example, set the value to E:\drive\<username>
.
If this environment variable isn't set, the encrypted files are stored at the default location where iManage Drive data is stored or whatever location is set using IMANAGE_DRIVE_APP_DATA_DIR_ROOT
.
Example: IMANAGE_DRIVE_FILES_DIR: E:\drive\<username>
NOTE:
- Each of these directories can be set to the same or different drive as required. However, if an admin setting is enabled, the admin setting overrides the environment variable setting.
- "If there is an admin setting, then that may override the environment variable setting"
- In the aforementioned variables, replace the <username> variable with the actual username.
- The descriptions and the default options (if any) for these settings are mentioned in Configuring user settings.
Adding environment variables to system properties
You must add all the environment variables to the system properties by doing the following:
- Search and select Edit the system environment variables. The System Properties dialog box appears.
- Under Advanced tab, select Environment Variables. The Environmental Variable dialog box appears.
- Select New. The New System Variable dialog box appears.
- In the Variable name field, enter the environmental variable, for example,
DRIVE_USER_ROOT_DIR
. - In the Variable value field, enter the variable value, for example, M:\Admin
For additional information about how to add environment variables, visit the following pages:
- https://www.architectryan.com/2018/08/31/how-to-change-environment-variables-on-windows-10/
- https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/set_1
NOTE:
The IMANAGE_DRIVE_FILES_DIR
environment variable should be unique for each user. Two users shouldn't have the same value for the IMANAGE_DRIVE_FILES_DIR
environment variable.