Forum Discussion

Andrews_Mike's avatar
9 years ago

Unable to delete empty folder

We are having an issue with deleting the empty folder on the archive explorer on EV 10.04

Any suggessions ?

 

 

7 Replies

  • Hello Mike,

    That is really a short problem statement :-) It is not possible to delete an empty folder from Archive Explorer. To delete empty folders, you need to set a registry key. This is in the Registrykeys.pdf, under the Storage section.

    As follows:

    Location: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\KVS\Enterprise Vault\Storage
    DWORD value: DeleteEmptyFolders
    Set to non-zero to enable.

    When enabled and the storage service restarted, a new thread examines all vaults in all stores owned by that Storage Service. Empty folders in
    structured archives are deleted.
    Special folders such as the following are never deleted: "Inbox", "Drafts", "Sent Items", "Outbox", "Deleted Items".
    Note: Resets to zero (disabled) when all stores and archives have been processed.

    comment  GA:

    When the key is set (to 1, as that is 'non-zero'), restart the storageservice. this will then start removing empty folders from archives. The only way to 'monitor' is to verify the registrykey's value is set back to 0. this happens when all empty folders have been deleted.

    • Andrews_Mike's avatar
      Andrews_Mike
      Level 3

      Thank you very much for the update. Is this issue enhanced in EV11? We are planning for an upgrade by Jan 2017

      • GertjanA's avatar
        GertjanA
        Moderator

        Hello Mike. No it is not.

        If you have Virtual Vault for your users, I believe that when you enable deletions in VV, users actually can delete the empty folders themselves, but that might not be desirable in your environment.

        My experience in using this key is (even in a large environment), it runs reasonably quick. We've ran it initially, and then decided to enable the registry key once a month, to clean up the empty folders (if exist)

  • Hi Andrews,

    can you please tell us if the registry key worked for you.

    As far as I remember there was a similar problem at one of my former customers, they used ev 10.0.4 and the registry key didnt remove all empty folders.