02-26-2016 03:53 AM
Hi,
I have a large number (>1000) of clients that i would like to reset the vault cache for. Instead of asking the desktop team or our staff to reset the cache themselves i would like to programmatically reset the vault cache by using PowerShell (.Net) or another programming language. To date i have been unable to determine a way to do this, however i was thinking it may be possible to do it via the Enterprise Vault API? Any help would be greatly appreciated.
Thank you,
Scott
02-26-2016 05:05 AM
02-26-2016 06:58 AM
Thank you JW3.
It is a shame we dont have a way to do it more cleanly. I would like the ability to reset the cache & re-sync with the server through the CLI.
The major concern of deleting the files (as i am sure you understand) is items that have not been synchronised with the server in the users cache will be lost.
I have tried the OVReset DWORD & it appears to do something as the key is removed once i start up Outlook again, however i cannot see it deleting any .mdc or .db files. Is this the expected behaviour?
02-26-2016 08:49 AM
JW3, do they want to perform Run Now's on all the users first before removing mdc's? Maybe you could come up with a logon script to remove C:\Users\xxxxxx\AppData\Local\KVS\Enterprise Vault\ and HKEY_CURRENT_USER\Software\KVS\Enterprise Vault\Client\
03-30-2016 09:49 AM
hi dcVAST,
How about the VC mail data that has not been synchronised with the server? If we pull the files from the client we will possibly lose data.
Thank you
03-30-2016 09:58 AM
That's why you proabably want to do a Run Now on the users first.
04-01-2016 03:22 AM
So i pulled the VC from my client. Now it is showing that no vaults are available. If i perform a run now against the mailbox it does not initiate a synchronisation of the vault cache. The only way i can get it to build the mdc/db is to manually click on the synchronisation button. Programatically this leaves me with very few options as i cannot force a synchronisation.
Any thoughts?
04-01-2016 09:45 AM
If you removed the directory and registry key you should get a VC prompt after re-launching Outlook and it will sync. For Virtual Vault check the box on the Virtual Vault tab of Vault Cache Properties.
04-01-2016 12:17 PM
You can, in an unsupported way, edit the hidden message in a user mailbox...