How to manually delete a SOLIDWORKS PDM Local Vault View

Article by Joe Medeiros, CSWE updated January 10, 2019

Article

Rarely, it may not be possible to delete SOLIDWORKS PDM Local Vault by the standard method of right-clicking on it and selecting Delete File Vault View.

Delete SOLIDWORKS PDM Local Vault

Normal Method of Deleting Vault View

In these cases, the vault view can be deleted manually.

Caution should be taken to ensure all files are checked in first, if possible. After the below processes are completed, files in the Local Vault View will be deleted.

Manual Deletion Process

The Manual delete SOLIDWORKS PDM Local Vault process involves modifying the Windows Registry,

If you are not familiar with working within the Registry, you should not attempt this manual deletion process. Irreparable damage to the operating system or installed software can occur, if some areas are edited or deleted.

Because of this, I have purposely omitted the steps, to access the areas mentioned in this article.

The first step is to delete the following keys:

  • HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\Applications\PDMWorks Enterprise\Databases\[VAULTNAME]
  • HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SolidWorks\Applications\PDMWorks Enterprise\Databases\[VAULTNAME]
  • Either ‘HKEY_CURRENT_USER\Software\SolidWorks\Applications\PDMWorks Enterprise\ConisioAdmin’. If only one vault is present
  • or ‘HKEY_CURRENT_USER\Software\SolidWorks\Applications\PDMWorks Enterprise\ConisioAdmin\Servers\[Server Name]\FileVaults\[VAULTNAME]’ if there is more then one vault view.

Note, [Vault Name] refers to the name of the Vault that is to be deleted. In my example the Vault is called Orphan_Vault.

Deleting Reg Key

Deleting Reg Key

After deleting these keys, close all Windows Explorer Windows and start a Windows Command Prompt. In the Command prompt enter RD “c:\path_to_vault_view” /s

Remove Directory through Command Prompt

Remove Directory through Command Prompt

 

Alternatively, in Windows Command Prompt, navigate to the Local View (CD “c:\path_to_vault_view”)

Navigating to Local View

 

 

and change the attributes of desktop.ini using:  attrib –s –h –r desktop.ini

Changing Attribute for Desktop.ini

 

 

Open a Windows Explorer Window. You will now see that the vault folder, now appears as a normal Explorer Folder, that can be deleted.

Normal Folder that can be Deleted

Normal Folder that can be Deleted

 

In some cases, you may need to restart Windows Explorer, in the Windows Task Manager, in order to delete the Local View.

Restarting Windows Explorer In Windows TasK Manager

 

Related Links

Want to do more with SOLIDWORKS PDM?

Our Certified SOLIDWORKS PDM Experts can help you to:

Joe Medeiros, CSWE

Joe Medeiros is a SOLIDWORKS and PDM Certified Expert. He has been helping SOLIDWORKS users with training, mentoring and implementations since 1998. He combines industry experience with a thorough understanding of SOLIDWORKS products to assist customers in being successful. He shares his experience and expertise through blogs; one of which has been incorporated into the SOLIDWORKS Essentials training manual.