Summary:
This article outlines how to change the default location for edited documents in Virtual Cabinet, commonly required for users syncing with OneDrive.
More information:
A user can set up their computer so that all documents in their Documents folder are automatically synced with Microsoft OneDrive. OneDrive is a cloud based document management system.
Virtual Cabinet stores documents that are being edited in the user’s Documents folder, specifically “\Documents\Virtual Cabinet\Edited Documents\“.
- Office's handling of documents in OneDrive synced folders prevents the Addin from saving changes.
- We've created a workaround to redirect the Edited Documents folder to a non-synced location.
This feature is available from Virtual Cabinet Version 4.5 onwards.
Configuration:
You will need to create a new registry key on the user’s computer that changes the path of the Edited Documents folder.
| Path | Node | Type | Value |
| Computer\HKEY_CURRENT_USER\Software\VirtualCabiBond | EditedDocumentPath | REG_SZ | Chosen location |
- The chosen location value can reference a server shared folder, e.g. \\servername\files\
- The system will create the relevant subfolders under the path you specified. E.g. if you specify the path “C:\test\” then the system will create the folder path "C:\test\Virtual Cabinet\Edited Documents\"
- Therefore, the path you designate will be the equivalent of the “\Documents” or “\My Documents” folder as far as Virtual Cabinet is concerned.
- Sites can easily roll out this registry key as they would any other program, through Group Policy log in scripts.
Recommended steps:
Move the files that are in the previous Edited Documents folder to the new Edited Documents folder at the same time as applying the registry key to avoid any confusion.
If the system cannot find a file that was edited in the past it will download a new copy of that document from the server, that may or may not contain the changes they were working on.
The VC Client and any Office Instances will need to be closed and re-opened following the Registry Changes before the new directories are used.
Examples: