Thursday, 4 September 2014

Resetting the SOLIDWORKS registry

Over time within SOLIDWORKS it is possible to make a wide array of customisations to your user settings and also your user interface. It can be hard to keep track of these changes if you are editing them on a daily basis like I do. Also, we all know that system updates have been known to damage registry files that SOLIDWORKS needs to be able to function correctly.
So if you would like to fully reset all of your SOLIDWORKS preferences, or if you have noticed strange behaviour or missing icons since a recent Windows update. One option to resolve your issues it to reset the registry entry for SOLIDWORKS.
Firstly, be very careful when making modifications to the registry as this may cause serious instability on your system. As such, you will need full administrative permissions on your computer to be able to edit them.
The following guide illustrates how to create a fresh copy of the SOLIDWORKS registry for the current user of the machine in a Windows environment. This registry includes the system options and customisations that a particular user has set up. Examples of the types of elements that this controls are file locations, custom toolbars and system options. By creating a fresh copy of this registry, you will revert SOLIDWORKS for the current user back to default settings as if SOLIDWORKS is a new installation.
This process will not work correctly if SOLIDWORKS is currently running, so the first step is to save all relevant work and exit SOLIDWORKS.

The registry is controlled by your operating system and in Windows the process for   accessing the registry is as follows;
 




Click on the Start button in the bottom left of the desktop and in the search dialogue type ‘regedit’
This should find the regedit.exe program and if you click it from the list, the program will open.












 
 
In the Registry Editor window that is opened, expand the folder for HKEY_CURRENT_USER to find the subfolder for Software.












 
 
 
Within the Software folder, scroll down to find the folder called ‘SolidWorks’ and expand it. This folder contains multiple folders that control different aspects of SOLIDWORKS on your machine. There are separate folders listed here for each different version of SOLIDWORKS that is installed on the machine. In the imager to the right, you may see that I have multiple versions (2012,2013, and 2014).












It is always advisable not to make permanent changes to the registry without first checking that they will not damage your system. As such, at this point you can right-click the folder that represents the version of SOLIDWORKS that you want to reset (in this case 2012), and select to Rename the folder.










 
 
 
Rename the folder to something recognisable as shown in the image to the right by adding a suffix to the name. This ensures that the folder will not move when the folders are next sorted alphabetically.
 
 
 
 
 
 
 
 
 
 
 

Now that the Registry folder for that version of SOLIDWORKS has been renamed, when the software is next started and attempts to read the registry it will be unable to locate it. This forces SOLIDWORKS to create a new registry folder with a fresh set of the default registry keys in it, essentially resetting the software options to what they were when SOLIDWORKS was first installed. When launching SOLIDWORKS for the first time after renaming this registry folder, you will be asked to agree to the end user license agreement and treated like a new user.
 
 



If you would like to check the Registry Editor again at this point, either by opening a new session (as per step 1), or by selecting View – Refresh (f5) in the menus of the Registry Editor, you will see that a new folder has been created with the same name as the original folder that you renamed.

This is an important point to make because having the new copy and the original renamed folder allows you to revert back to the previous settings should the generation of a new registry folder fail to solve any issues, or if you would like to revert back to your previous settings. The process for reverting back is very simple. Ensure SOLIDWORKS is closed, delete the ‘new’ registry folder created in the above steps, and then rename the original folder back to its original name.


No comments:

Post a Comment