copyoptwiz options

Is there a waytoscript the Copy Settings Wizard? I would like to schedule ascriptto run and save the settings to a network drive.

 

SolidworksAdministration
Comments 8
SF
SF 2012-06-21

Did you ever figure this out.  I'm trying to do the exact same thing.

Thanks,

mike

SF
SF 2012-06-21

Hi Scott, which file are you talking about exactly.  The only file I know of for the Copy settings wizard is an EXE (copyoptwiz.exe) and looks like gibberish in notepad.  Is there another file somewhere the executable calls?

DG
DG 2012-06-21

Run the copy setting wizard and create the Setting REG file. Now open that in notepad and edit as required. Save and close.

Now using the copy setting wizard, run the files over several machines as required.

SF
SF 2012-06-21

You don't even have to open the copy settings wizard first to apply the settings.  Just double on the .SLDREG file and the wizard will start and copy the settings over.

KL
KL 2012-06-21

Scott, Deepak, Russ

The OP knows how to use the Copy Settings Wizard. What he wants is to save a .sldreg file with a script (macro) which will run the Copy Settings Wizard at scheduled intervals.

<p>Mitch Summerlin wrote:</p><p></p><p style="margin-left:0in">Is there a waytoscript the Copy Settings Wizard?<span style="color:#ff0000"><strong> I would like to schedule ascriptto run and save the settings</strong></span> to a network drive.</p><p></p>
SF
SF 2012-06-21

Correct Kevin, I want to write a script that will run the copy settings wizard silently and save each of our 58 users settings as a backup.

KL
KL 2012-06-21

You don't have to run the Copy Settings Wizard to create the reg file. You could export direct from the registry.

This may be a start for you.    http://www.visualbasicscript.com/backupexport-registry-key-m48840.aspx

EDIT:  Oops wrong link. Try this one. http://www.motobit.com/help/regedit/sa310.htm

SF
SF 2012-06-21

Good point Kelvin.  I hadn't really compared the output of copy settings wizard to the entire hkcu\software\solidworks key.  It looks like they just leave out the subkeys named

applications, Copy Settings Wizard, EXTreferences, IM, and addinsStartUp.  I can script that pretty easy I think. Thank you!