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 if USERPROFILE environment variable is set.
$HOMEDRIVE$HOMEPATH\iManageDrive if USERPROFILE environment is not set and HOMEPATH and HOMEDRIVE environment variables are set.
$HOMEPATH\iManageDrive if USERPROFILE and HOMEDRIVE environment variables are not set and HOMEPATH environment variable is set.
Change the working directory using the following environmental variables:
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>. You must add DRIVE_USER_ROOT_DIR as an environment variable. For information about adding an environmental variable, see Adding environment variables to system properties.
iManage Drive data directory: Directory where iManage Drive saves data into dababases. 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 admin settings:
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 is not set, the default path is LOCALAPPDATA which usually is C:\Users\<username>\AppData\Local. If set, this overrides the value for the LOCALAPPDATA enviornment variable. For example, IMANAGE_DRIVE_APP_DATA_DIR_ROOT: D:\drive_root
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 is not 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>
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