You are on page 1of 7

SolidWorks Enterprise PDM

How to manually delete an Enterprise PDM file vault (archives and database)
Note! This procedure will completely delete a file vault from the servers hosting it any remaining file vault views on
clients using the deleted file vault will not function after this.
It is recommended that you first try to remove the file vault using the administration tool by right-clicking the file vault name
and select Remove. This will remove the database and archives for the vault.

If the removal via the administration tool fails for some reason (for example one of the servers no longer exist), you can
use these instructions to manually remove the file vault completely.

On each archive server:


1. Locate the current physical location of the vault archive by checking the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\Applications\PDMWorks
Enterprise\ArchiveServer\Vaults\[VAULTNAME]\ArchiveTable

Page 1 of 7

SolidWorks Enterprise PDM


2. Delete the physical vault archive folder (folder with same name as the vault, containing 16 subfolders 0-F).

3. Delete the vault registry key under:


HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\Applications\PDMWorks
Enterprise\ArchiveServer\Vaults\[VAULTNAME]

4. Remove the file vault name from the Vaults value under:
HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\Applications\PDMWorks

Page 2 of 7

SolidWorks Enterprise PDM


Enterprise\ArchiveServer\Computers\<local>\Archives

Note that depending on EPDM language and how the root folder is configured, the key Archives might be
named something different. Find the key containing the REG_MULTI_SZ value named Vaults.

5. Restart the SolidWorks Enterprise PDM Archive Server service.

6. If vault was replicated, repeat process on each replicated archive server.

On SQL Server (using management studio):


1. Log in to SQL management as an administrator (for example using the sa login).
2. Expand Databases, ConsioMasterDb, Tables. Right-click the table FileVaults and select Edit Top 200 Rows.

Page 3 of 7

SolidWorks Enterprise PDM


3. Delete the row containing the file vault name and database name (of the vault you are deleting)..

4. Expand Server Objects, Linked Servers. Delete the linked server named ArchiveIndex_FILEVAULTNAME.

Page 4 of 7

SolidWorks Enterprise PDM


5. Expand Databases, right-click the file vault database to delete, select Delete.

NOTE!! This step is Irreversible and will remove the database. Make sure that you have a backup of the
database before deleting it in case you need to get it back for some reason.

Page 5 of 7

SolidWorks Enterprise PDM


6. In the Delete object dialog, confirm that the database name shown is the database you intend to delete. Mark Close
existing connections. Press OK to delete the database.

7. Restart the SolidWorks Enterprise PDM Database Server service.

On the client systems:


Each client that has a file vault view to the deleted vault must remove the local view as it is unusable at this point.
1. Close open applications and the Enterprise PDM Administration tool. If Enterprise PDM is running, right-click the
EPDM tray icon and select Exit.

Page 6 of 7

SolidWorks Enterprise PDM


2. Right-click the file vault view and select Delete file vault view.

If the normal removal of the view does not work, refer to KB solution S-012984 for manual instructions.

3. If the login prompt shows, cancel the login.


4. Select if you wish to keep any cached files and press Delete to delete the view.

5. Open the registry editor and delete the following key:


HKEY_CURRENT_USER\Software\SolidWorks\Applications\PDMWorks Enterprise\ConisioAdmin

6. If the deleted vault still shows up in the administration tool on some clients it means the view is still left on the client, or
the key in step 5 was not deleted for the currently logged in profile. To remove it from the tree, right-click the archive
server name and select Refresh.

Page 7 of 7