Corrupt Registry

Use this space to ask how to do whatever you're trying to use SolidWorks to do.
User avatar
SPerman
Posts: 2040
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2212
x 1863
Contact:

Corrupt Registry

Unread post by SPerman »

I've been having some strange behaviors in solidworks off and on, and I've decided that the problem is a corrupt registry. Deleting the registry makes the problems go away, but I also lose all of my customization. (The problems I've seen are no custom appearances and no material favorites, among other things.

What is the most painless way of rebuilding a corrupt registry? Is it possible to save anything, or do I have to start from scratch? How do I even figure out what all of my customizations are?

I have two computers setup almost identically. Can any settings be shared between the two? (I think exporting settings from one computer and importing them to the other is what corrupted the registry.) I have the registry exported from my home computer (which appears to be working without any issues.) importing those settings to my work computer creates the issues.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
AlexLachance
Posts: 2177
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2355
x 2010

Re: Corrupt Registry

Unread post by AlexLachance »

SPerman wrote: Tue Mar 08, 2022 3:39 pm I've been having some strange behaviors in solidworks off and on, and I've decided that the problem is a corrupt registry. Deleting the registry makes the problems go away, but I also lose all of my customization. (The problems I've seen are no custom appearances and no material favorites, among other things.

What is the most painless way of rebuilding a corrupt registry? Is it possible to save anything, or do I have to start from scratch? How do I even figure out what all of my customizations are?

I have two computers setup almost identically. Can any settings be shared between the two? (I think exporting settings from one computer and importing them to the other is what corrupted the registry.) I have the registry exported from my home computer (which appears to be working without any issues.) importing those settings to my work computer creates the issues.
I have a custom profile made that we can load when our registry gets corrupted so that we can get back all the settings customization we have without "reloading the corruption". I was told importing settings can import the corruption, but I've never had anything that I had reset get instantly corrupt after.
User avatar
Frederick_Law
Posts: 1944
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1634
x 1467

Re: Corrupt Registry

Unread post by Frederick_Law »

I want to work on a "SW Registry" repair tool which can remove "corrupted" registry items.
User avatar
SPerman
Posts: 2040
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2212
x 1863
Contact:

Re: Corrupt Registry

Unread post by SPerman »

Let me know when you have it done. I will buy a copy.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
Frederick_Law
Posts: 1944
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1634
x 1467

Re: Corrupt Registry

Unread post by Frederick_Law »

When you have a "corruption", save the SW registry and send it to me. So I can compare what could be wrong.
User avatar
zwei
Posts: 701
Joined: Mon Mar 15, 2021 9:17 pm
Answers: 18
Location: Malaysia
x 185
x 600

Re: Corrupt Registry

Unread post by zwei »

So... i am not sure will this help...

If you create a backup of your setting using SOLIDWORKS COPY SETTING Wizard, you can actually "examine" the *.sldreg file in notepad to see what customization you made (and maybe even fix your corrupt registry)
image.png
One trick i learned is to rename the *.sldreg to *.reg so that it is easier to examine in notepad++
Far too many items in the world are designed, constructed and foisted upon us with no understanding-or even care-for how we will use them.
User avatar
Glenn Schroeder
Posts: 1518
Joined: Mon Mar 08, 2021 11:43 am
Answers: 23
Location: southeast Texas
x 1754
x 2126

Re: Corrupt Registry

Unread post by Glenn Schroeder »

SPerman wrote: Tue Mar 08, 2022 3:39 pm I've been having some strange behaviors in solidworks off and on, and I've decided that the problem is a corrupt registry. Deleting the registry makes the problems go away, but I also lose all of my customization. (The problems I've seen are no custom appearances and no material favorites, among other things.

What is the most painless way of rebuilding a corrupt registry? Is it possible to save anything, or do I have to start from scratch? How do I even figure out what all of my customizations are?

I have two computers setup almost identically. Can any settings be shared between the two? (I think exporting settings from one computer and importing them to the other is what corrupted the registry.) I have the registry exported from my home computer (which appears to be working without any issues.) importing those settings to my work computer creates the issues.
Where are those custom appearances and material favorites saved? If they're saved somewhere other than in the SW installation folder, and if you use the Copy Settings Wizard to save your customizations, then I don't understand what you're losing by resetting the registry.
"On the days when I keep my gratitude higher than my expectations, well, I have really good days."

Ray Wylie Hubbard in his song "Mother Blues"
User avatar
SPerman
Posts: 2040
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2212
x 1863
Contact:

Re: Corrupt Registry

Unread post by SPerman »

I'm losing all of my menu and toolbar customization.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
Glenn Schroeder
Posts: 1518
Joined: Mon Mar 08, 2021 11:43 am
Answers: 23
Location: southeast Texas
x 1754
x 2126

Re: Corrupt Registry

Unread post by Glenn Schroeder »

SPerman wrote: Wed Mar 09, 2022 8:58 am I'm losing all of my menu and toolbar customization.
The Copy Settings Wizard should take care of that.
"On the days when I keep my gratitude higher than my expectations, well, I have really good days."

Ray Wylie Hubbard in his song "Mother Blues"
User avatar
SPerman
Posts: 2040
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2212
x 1863
Contact:

Re: Corrupt Registry

Unread post by SPerman »

The copy settings wizard is what I am using, and what is creating the corruption.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
zwei
Posts: 701
Joined: Mon Mar 15, 2021 9:17 pm
Answers: 18
Location: Malaysia
x 185
x 600

Re: Corrupt Registry

Unread post by zwei »

Glenn Schroeder wrote: Wed Mar 09, 2022 9:05 am The Copy Settings Wizard should take care of that.
The copy setting wizard basically "copy" all your solidworks registry...
So if your registry is corrupted when you copy the setting, reloading it will corrupt the registry again
Far too many items in the world are designed, constructed and foisted upon us with no understanding-or even care-for how we will use them.
User avatar
SPerman
Posts: 2040
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2212
x 1863
Contact:

Re: Corrupt Registry

Unread post by SPerman »

Computer A - Working fine. Export settings.

Computer B- Import settings from computer A. Things are now not working as expected.

I think I will go one setting at a time adding it back to the registry until I figure out what is causing the problem.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
AlexLachance
Posts: 2177
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2355
x 2010

Re: Corrupt Registry

Unread post by AlexLachance »

SPerman wrote: Wed Mar 09, 2022 9:16 am Computer A - Working fine. Export settings.

Computer B- Import settings from computer A. Things are now not working as expected.

I think I will go one setting at a time adding it back to the registry until I figure out what is causing the problem.

Different hardwares? Perhaps something about the graphic card? Have you checked the famous enhanced graphic performance option?
User avatar
Glenn Schroeder
Posts: 1518
Joined: Mon Mar 08, 2021 11:43 am
Answers: 23
Location: southeast Texas
x 1754
x 2126

Re: Corrupt Registry

Unread post by Glenn Schroeder »

Zhen-Wei Tee wrote: Wed Mar 09, 2022 9:09 am The copy setting wizard basically "copy" all your solidworks registry...
So if your registry is corrupted when you copy the setting, reloading it will corrupt the registry again
Thank you for explaining that.
"On the days when I keep my gratitude higher than my expectations, well, I have really good days."

Ray Wylie Hubbard in his song "Mother Blues"
User avatar
HerrTick
Posts: 207
Joined: Fri Mar 19, 2021 10:41 am
Answers: 1
x 32
x 307

Re: Corrupt Registry

Unread post by HerrTick »

Likely there is a spoiler in the registry outside of your settings but in a position that still affects your settings.
User avatar
AlexLachance
Posts: 2177
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2355
x 2010

Re: Corrupt Registry

Unread post by AlexLachance »

I would try updating graphic drivers and see if you get different results, SolidWorks is really picky with these.
User avatar
Frederick_Law
Posts: 1944
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1634
x 1467

Re: Corrupt Registry

Unread post by Frederick_Law »

When you import settings, don't import everything. Pick one group and test. This way you know which one cause problem.
User avatar
Frederick_Law
Posts: 1944
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1634
x 1467

Re: Corrupt Registry

Unread post by Frederick_Law »

Zhen-Wei Tee wrote: Tue Mar 08, 2022 11:10 pm So... i am not sure will this help...

If you create a backup of your setting using SOLIDWORKS COPY SETTING Wizard, you can actually "examine" the *.sldreg file in notepad to see what customization you made (and maybe even fix your corrupt registry)

image.png

One trick i learned is to rename the *.sldreg to *.reg so that it is easier to examine in notepad++
I use Notepad++ compare addin to check good and bad reg.
I see a few entries in wrong section.
Post Reply