Folder redirection was introduced in Cloud Drive Mapper version 1.5.4. This new functionality allows users to access their known folders (e.g my documents, videos, favorites, desktop, downloads) via Cloud Drive Mapper and OneDrive For Business. This greatly streamlines the user experience and allows organisations to fully utilise OneDrive for Business without any loss of existing functionality to users. 

Setting up Folder Redirection

Folder redirection is turned off by default but is easy to set up. The configuration of Folder Redirection is determined through registry keys in the table below and can be applied in either of the following hives:


Computer\HKEY_CURRENT_USER\SOFTWARE\IAM Cloud\CloudDriveMapper

The value of these keys can be configured as “true” at which point it will use the default value or you can choose your folder name. If the key is not present or set to “false” it will not redirect that folder.

Please note – the full path of the redirection will be the drive letter assigned to OneDrive for business, combined with the value of the Root key (or default) along with the specific redirected folder. For example if FolderRedirectDocuments = “true” it will use:


**Please note ** -  It will create the directory automatically if it does not exist

**Please note ** -  In order for FolderRedirectionDocumentsToRoot to work, FolderRedirectionDocuments need to be set too

When using folder re-direction options it is our opinion that FolderRedirectionRoot = true is the better option as this then creates by default a MyProfile folder within OneDrive that is then the central store for folders such as Desktop / Documents / Pictures etc. This presents a cleaner uncluttered root folder that lends itself better to a mobile device view.

This combination will create a folder on OneDrive root called My Profile where the redirected folders will then sit.

REG ADD "HKCU\Software\IAM Cloud\CloudDriveMapper" /v "FolderRedirectionRoot" /t "REG_SZ" /d "true" /f

REG ADD "HKCU\Software\IAM Cloud\CloudDriveMapper" /v "FolderRedirectionDesktop" /t "REG_SZ" /d "true" /f

REG ADD "HKCU\Software\IAM Cloud\CloudDriveMapper" /v "FolderRedirectionDocuments" /t "REG_SZ" /d "true" /f

An example of this can be seen in the screenshot below:

This combination will re-direct folder at OneDrive root level

REG ADD "HKCU\Software\IAM Cloud\CloudDriveMapper" /v "FolderRedirectionDocumentsToRoot" /t "REG_SZ" /d "true" /f

REG ADD "HKCU\Software\IAM Cloud\CloudDriveMapper" /v "FolderRedirectionDesktop" /t "REG_SZ" /d "true" /f

REG ADD "HKCU\Software\IAM Cloud\CloudDriveMapper" /v "FolderRedirectionDocuments" /t "REG_SZ" /d "true" /f


When applying folder redirection on windows 10 you will find there is two separate keys within the user shell registry hive. The keys used on Windows versions prior to Windows 10 only update the quick links. The root known folders have a separate key however it is important to note – the name visible in explorer will always be the name of the final part of the path. For example, if we redirect to M:\MyProfiles\Docs then you will see “Docs” in the explorer because it is the last path.


We have found that folder re-direction via CDM can be blocked when the policy below is in place :-

Folder redirection not applying

reg query "HKCU\software\microsoft\windows\currentversion\policies\explorer" /v "DisablePersonalDirChange" 

If result = 0x1 then redirection is blocked

GPO under User Configuration > Administrative Templates > Desktop > Prohibit User from manually redirecting Profile Folders

For more information on deploying Cloud Drive Mapper, please contact our support team who will be happy to help.