If Cloud Drive Mapper detects the OneDrive Sync client is already active on a machine it's installed on, you can use this conditional override feature to get CDM to perform different actions.
Simply set up a regkey SyncClientDetectionOverride to either HKCU or HKLM
The value of the regkey will vary depending on what you want the conditional override to do.
This uses a bitmask that allows you to calculate your own behaviours by adding multiple reference numbers together.
- NoFolderRedirection = 1
- FolderRedirectionToLocal = 2
- DoNotMapOneDrive = 4
- DoNotMapExternalOD = 8
- DoNotMapSharePointStatic = 16
- DoNotMapTeams = 32
- DoNotMapSPGroups = 64
- DoNotMapSPSites = 128
- DoNotMapFullConverge = 256
Please note '3' (1+2) is an invalid combination as 1 and 2 are mutually exclusive, if you enter 3 it will behave like 2.
1 = Switches off folder redirection
2 = The root location used by CDM Folder Redirection switches from within the mapped OneDrive to the OneDrive for Business sync folder. The redirected folder paths set-up within CDM stay intact.
5 (1+4) = Switches off Folder Redirection and do not map a drive to OneDrive - but other drive mappings e.g. to SharePoint will stay intact.
6 (2+4) = Does not map to OneDrive, and Folder Redirection stays active but switches the root redirection location to the OneDrive for Business sync folder. The redirected folder paths set-up within CDM stay intact.
16 = No SharePoint static URL drives are mapped - but OneDrive mappings and converged drives would remain intact if present.
20 (4+16) = No OneDrive mappings or SharePoint static paths - but converged drives would stay intact.
Please note that if no sync client is detected, these settings will be ignored.
If you have any questions please contact email@example.com and we'll be glad to help out.