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) via Cloud Drive Mapper and One Drive For Business. This greatly streamlines the user experience and allows organisations to fully utilise one drive 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

When using folder re-direction options it is our opinion that FolderRedirectionDocuments = 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.

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


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.

Storing user credentials in secure file

In scenarios where Single Sign On (SSO) is not possible or when logging in externally, Cloud Drive Mapper stores user credentials within Windows Credential Manager by default. In some scenarios and environments it may be prudent that these are held in secure file rather than credential manager.

The password is written using SecureString which is a built in security mechanism and by default will allow a file to contain sensitive data which can only be decrypted by the same user on the same machine. This however will not work if you want to have these files roam with the user. To allow this there is a registry key available called "UseKeyOnPassword" which will allow it to be encrypted by Cloud Drive Mapper and will work with only the user OR the machine running. There are three registry keys available for this.  There is a location and these fully support all environment variables for example %appdata%.

This is the location used to store the password
This is required and its presence will activate this functionality.
This is the location used to store the username
This is not required. If it is not present it will use the same location as Password and append a number 2 at the end
This will not use the IAM Cloud Key and instead use default SecureString
This should be used if you are not wanting the credentials to work on different machines.

These keys can be placed in either of the following hives:


Computer\HKEY_CURRENT_USER\SOFTWARE\IAM Cloud\CloudDriveMapper


The encryption key is built in. If this is enabled then the credentials will only work when on the same user AND the same machine. If you have users roaming and wish for them to have credentials follow them then this should not be applied or set to “false.''

For more information on deploying Cloud Drive Mapper please visit our CDM Deployment guide or contact our support teams who will be very happy to help. 

Support Portal:

Email us:

Phone (UK): +44 118 324 0000 

Phone (US): +1 914 495 1298