Forum Discussion

AengusM's avatar
AengusM
Level 4
4 years ago

Delete a folder if present in archive

I have a folder (email) in 50% of my archives that we need to delete. Any scripts or automated ways to delete the folder? Thanks
  • VirgilDobos's avatar
    4 years ago

    Hello,

    Have you considered this approach?

    First, ensure the folders are empty or delete/move all items from the folder. When the folder is empty, set the following  key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\KVS\Enterprise Vault\Storage

    DWORD - DeleteEmptyFolders

    Value - 1

    Restart Storage service. When the empty folder is deleted from the archive, the value of the key will be 0.

    https://www.veritas.com/support/en_US/article.100017586