SW system settings file location?

Use this space to ask how to do whatever you're trying to use SolidWorks to do.
User avatar
mbiasotti
Posts: 32
Joined: Tue Mar 23, 2021 1:57 am
Answers: 0
Location: San Jose, CA
x 41
Contact:

SW system settings file location?

Unread post by mbiasotti »

Does anyone know where the SolidWorks stores (path) the System Settings file on Windows 10?
User avatar
zxys001
Posts: 1077
Joined: Fri Apr 02, 2021 10:08 am
Answers: 5
Location: Scotts Valley, Ca.
x 2304
x 997
Contact:

Re: SW system settings file location?

Unread post by zxys001 »

Hi Mark,...as in, the SW registry? What are you trying to find?
"Democracies aren't overthrown; they're given away." -George Lucas
“We only protect what we love, we only love what we understand, and we only understand what we are taught.” - Jacques Cousteau
User avatar
mattpeneguy
Posts: 1386
Joined: Tue Mar 09, 2021 11:14 am
Answers: 4
x 2489
x 1899

Re: SW system settings file location?

Unread post by mattpeneguy »

zxys001 wrote: Mon Sep 27, 2021 11:35 pm Hi Mark,...as in, the SW registry? What are you trying to find?
Yeah, AFAIK all those settings are in the registry. To back them up, and restore them you can use the Copy Settings Wizard, which just puts all those keys in a text file wherever you want to store it (default is \user\documents). To be clear, using that tool has messed my settings up requiring me to delete and recreate my Solidworks registry entry when I used it after updating SW...So, only ever use that tool for the same year of SW.
I'm sure Mark knows all this, so I'm confused as to what he's asking exactly too.
User avatar
mbiasotti
Posts: 32
Joined: Tue Mar 23, 2021 1:57 am
Answers: 0
Location: San Jose, CA
x 41
Contact:

Re: SW system settings file location?

Unread post by mbiasotti »

Thanks Matt - I didn't realize that it writes to the registry. We are having issues with our new deployment of SW2021 here at Sarcos in that user's settings are not being saved upon restart of SW. It was an admin install and our company PC's are extremely locked down due to our work with the DOD.

-M
User avatar
mbiasotti
Posts: 32
Joined: Tue Mar 23, 2021 1:57 am
Answers: 0
Location: San Jose, CA
x 41
Contact:

Re: SW system settings file location?

Unread post by mbiasotti »

All - any idea what key in the registry the system setting are being saved?
User avatar
SPerman
Posts: 2054
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2224
x 1874
Contact:

Re: SW system settings file location?

Unread post by SPerman »

You can open one of the settings file with a text editor and it will show you all of the changes and where they are written. It is all in HKCU (Current User.)

Code: Select all

REGEDIT4
;SolidWorks Copy Settings Wizard

[HKEY_CURRENT_USER\Software\SolidWorks]

[HKEY_CURRENT_USER\Software\SolidWorks\General]
"Thumbnail graphics"=dword:00000000

[HKEY_CURRENT_USER\Software\SolidWorks\SOLIDWORKS 2020]

[HKEY_CURRENT_USER\Software\SolidWorks\SOLIDWORKS 2020\Animator]
"Manual Key Background Color"=dword:00ebebeb
"Timeline Text Color"=dword:00666666
"Timeline Tick Color"=dword:00666666
"Timeline Background Invalid Color"=dword:00cccccc
"Timeline Background Solved Color"=dword:0080ffff
"Timeline Background Bad Solve Color"=dword:000000ff
"Hidden Child Color"=dword:00999999
"Master Color"=dword:00ffffff
"Physical Simulation Color"=dword:00ffffff
"Viewpoint Color"=dword:00ffffff
"Suppressed Viewpoint Color"=dword:00999999
"Active Camera Change Color"=dword:004aadce
"Captured Change Color"=dword:0000ffff
"Solved Change Color"=dword:0033cc33
"Presentation Change Color"=dword:0000a6ff
"Visual Change Color"=dword:00ff00ff
"Solving Change Color"=dword:00ff0000
"Light or Camera Change Color"=dword:00ffff00
"Normal Key Color"=dword:00ff0000
"Suppressed Key Color"=dword:00999999

....
-
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
mattpeneguy
Posts: 1386
Joined: Tue Mar 09, 2021 11:14 am
Answers: 4
x 2489
x 1899

Re: SW system settings file location?

Unread post by mattpeneguy »

I believe I renamed HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks and Solidworks recreated everything to go back to original settings when I relaunched it. It's been a while since I've messed with it. It would probably be best to get your VAR involved because anytime you root around in the registry you can cause problems.
Also, I'm on Windows 7 here, so, I'm not 100% sure that registry key is the same for Windows 10.
User avatar
Frederick_Law
Posts: 1945
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1636
x 1467

Re: SW system settings file location?

Unread post by Frederick_Law »

"Computer\HKEY_CURRENT_USER\SOFTWARE\SolidWorks\"
User avatar
mattpeneguy
Posts: 1386
Joined: Tue Mar 09, 2021 11:14 am
Answers: 4
x 2489
x 1899

Re: SW system settings file location?

Unread post by mattpeneguy »

Frederick_Law wrote: Tue Sep 28, 2021 12:31 pm "Computer\HKEY_CURRENT_USER\SOFTWARE\SolidWorks\"
Yes there's user settings there, too.
User avatar
bnemec
Posts: 1944
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2542
x 1400

Re: SW system settings file location?

Unread post by bnemec »

mbiasotti wrote: Tue Sep 28, 2021 10:58 am Thanks Matt - I didn't realize that it writes to the registry. We are having issues with our new deployment of SW2021 here at Sarcos in that user's settings are not being saved upon restart of SW. It was an admin install and our company PC's are extremely locked down due to our work with the DOD.

-M
That sounds like the clues to me.

"User settings being reset on restart." IIRC that's an option that can be set in the admin image settings tool. Really hoping someone with more experience with admin images can correct or expand on that for us.
User avatar
AlexB
Posts: 499
Joined: Thu Mar 18, 2021 1:38 pm
Answers: 28
x 267
x 444

Re: SW system settings file location?

Unread post by AlexB »

bnemec wrote: Tue Sep 28, 2021 2:33 pm That sounds like the clues to me.

"User settings being reset on restart." IIRC that's an option that can be set in the admin image settings tool. Really hoping someone with more experience with admin images can correct or expand on that for us.
You're correct. It's possible for the Admin to lock down certain settings that cannot be changed ("Lock" column). The way I understand the other column, where it's marked "Apply" will apply these settings each time the user restarts Solidworks.

To modify this, I would hope that the Admin could modify the settings file and redeploy that.

The below settings are accessed via the options editor that is used to configure the admin installs.
image.png
Post Reply