Command-line parameters
| Parameter | Description | Command |
|---|---|---|
| /qb | Displays progress during installation. | MSI: msiexec.exe /i CloudDriveMapper.msi /qb LICENSEKEY=your_license_key EXE: Not supported on EXE. |
| /exenoui | Does not display the setup wizard during installation. | MSI: Not supported on MSI. EXE: .\CloudDriveMapper.exe /exenoui LICENSEKEY=your_license_key |
| /qn | Performs a silent installation. | MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key EXE: .\CloudDriveMapper.exe /qn LICENSEKEY=your_license_key |
| /norestart | Prevents the computer from restarting automatically after installation. | MSI: msiexec.exe /i CloudDriveMapper.msi /qn /norestart LICENSEKEY=your_license_key EXE: .\CloudDriveMapper.exe /qn /norestart LICENSEKEY=your_license_key |
| LICENSEKEY | Enter your license key here. | MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key EXE: .\CloudDriveMapper.exe /qn LICENSEKEY=your_license_key |
| DESKTOP_SHORTCUT=0 | Prevents a desktop shortcut from being created. | MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key DESKTOP_SHORTCUT=0 EXE: .\CloudDriveMapper.exe /qn LICENSEKEY=your_license_key DESKTOP_SHORTCUT=0 |
| DESKTOP_SHORTCUT=1 | Creates a desktop shortcut. | MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key DESKTOP_SHORTCUT=1 EXE: .\CloudDriveMapper.exe /qn LICENSEKEY=your_license_key DESKTOP_SHORTCUT=1 |
| STARTMENU_SHORTCUT=0 | Prevents the Start menu shortcut from being created. | MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key STARTMENU_SHORTCUT=0 EXE: .\CloudDriveMapper.exe /qn LICENSEKEY=your_license_key STARTMENU_SHORTCUT=0 |
| STARTMENU_SHORTCUT=1 | Creates the Start menu shortcut. | MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key STARTMENU_SHORTCUT=1 EXE: .\CloudDriveMapper.exe /qn LICENSEKEY=your_license_key STARTMENU_SHORTCUT=1 |
| STARTUP_SHORTCUT=0 | Prevents CDM from running at startup. | MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key STARTUP_SHORTCUT=0 EXE: .\CloudDriveMapper.exe /qn LICENSEKEY=your_license_key STARTUP_SHORTCUT=0 |
| STARTUP_SHORTCUT=1 | Runs CDM at startup. | MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key STARTUP_SHORTCUT=1 EXE: .\CloudDriveMapper.exe /qn LICENSEKEY=your_license_key STARTUP_SHORTCUT=1 |
| LAUNCHCDM=1 |
Launches CDM after installation and adds it to the taskbar notification area. See note. |
MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key LAUNCHCDM=1 EXE: .\CloudDriveMapper.exe /qn LICENSEKEY=your_license_key LAUNCHCDM=1 EXE and MSI installers do not support LAUNCHCDM=1 when CDM is deployed through Microsoft Intune. |
| LogLevel=Debug | Enables debug logging for detailed error logs. | MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key LogLevel=Debug EXE: .\CloudDriveMapper.exe /qn LICENSEKEY=your_license_key LogLevel=Debug |
| APPDIR | Installs CDM to a custom installation path. | MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key APPDIR=C:\Folder\cdmv3\ EXE:.\CloudDriveMapper.exe /qn LICENSEKEY=your_license_key APPDIR=C:\Folder\cdmv3\ |
| CLEANDATA=1 | Removes CDM app data for all users during an upgrade. | MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key CLEANDATA=1 EXE: .\CloudDriveMapper.exe /qn LICENSEKEY=your_license_key CLEANDATA=1 |
| MAPPINGGROUPID | Configures the specified mapping group to the computer (HKLM). | MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key MAPPINGGROUPID=your_mapping_group_key EXE: .\CloudDriveMapper.exe /qn LICENSEKEY=your_license_key MAPPINGGROUPID=your_mapping_group_key |
| FOLDERREDIRECTIONPOLICYID | Configures the specified folder redirection policy to the computer (HKLM). | MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key FOLDERREDIRECTIONPOLICYID=your_folder_redirection_key EXE: .\CloudDriveMapper.exe /qn LICENSEKEY=your_license_key FOLDERREDIRECTIONPOLICYID=your_folder_redirection_key |
| UNINSTALLCDMLEGACY=1 | Uninstalls CDM Legacy (aka v2.x) as part of the CDM (V3) installation. Applies to release 3.21 and above. | MSI: msiexec.exe /i CloudDriveMapper.msi /qb LICENSEKEY=your_license_key UNINSTALLCDMLEGACY=1 EXE: .\CloudDriveMapper.exe /exenoui /qn LICENSEKEY=your_license_key UNINSTALLCDMLEGACY=1 |
| FORCEKILLCDM=1 | Force kill all instances of CDM. | MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key FORCEKILLCDM=1 EXE: .\CloudDriveMapper.exe /exenoui /qn LICENSEKEY=your_license_key FORCEKILLCDM=1 |
Examples
| Scenario | Command | |
|---|---|---|
| 1 | Install CDM silently for the first time |
MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key EXE: .\CloudDriveMapper.exe /exenoui /qn LICENSEKEY=your_license_key |
| 2 | Install CDM silently for the first time and launch it after installation |
MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key LAUNCHCDM=1 EXE: .\CloudDriveMapper.exe /exenoui /qn LICENSEKEY=your_license_key LAUNCHCDM=1 |
| 3 | Install CDM silently without shortcuts (recommended for VDI rollout) |
MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key DESKTOP_SHORTCUT=0 STARTMENU_SHORTCUT=0 STARTUP_SHORTCUT=0 EXE: .\CloudDriveMapper.exe /exenoui /qn LICENSEKEY=your_license_key DESKTOP_SHORTCUT=0 STARTMENU_SHORTCUT=0 STARTUP_SHORTCUT=0 |
| 4 | Uninstall CDM silently |
MSI: msiexec.exe /x CloudDriveMapper.msi /qn EXE: msiexec.exe /x {PRODUCT-CODE-GUID} /qn |
| 5 | Install CDM silently with a custom mapping group |
MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key MAPPINGGROUPID= your_mapping_group_key EXE: .\CloudDriveMapper.exe /exenoui /qn LICENSEKEY=your_license_key MAPPINGGROUPID= your_mapping_group_key |
| 6 | Install CDM silently with a folder redirection policy |
MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key FOLDERREDIRECTIONPOLICYID= your_folder_redirection_key EXE: .\CloudDriveMapper.exe /exenoui /qn LICENSEKEY=your_license_key FOLDERREDIRECTIONPOLICYID= your_folder_redirection_key |
| 7 | Install CDM silently and uninstall CDM Legacy (aka v2.x) |
MSI: msiexec.exe /i CloudDriveMapper.msi /qn LICENSEKEY=your_license_key UNINSTALLCDMLEGACY=1 EXE: .\CloudDriveMapper.exe /exenoui /qn LICENSEKEY=your_license_key UNINSTALLCDMLEGACY=1 |