4 Replies Latest reply on Aug 20, 2015 9:23 AM by Sam Bailey

    SolidWorks Complete Unistall/remove. all folders and registry keys deleted.

    Jason Nicholson

      I know that often I have looked for a way to completely unistall SolidWorks so that I could start fresh.  This is the best I can do for now without getting more specific to your machine and settings.

       

      WARNING: If you save you templates in the default place, they will be deleted by the batch file below.  You should back them up.

       

       

      1. Use the Copy Settings Wizard to save your keyboard shortcuts, menu customization, toolbar layout, and file locations.  Go to Start -->All Programs-->SolidWorks 2010-->Copy Settings Wizard and follow the prompts to save your settings.
      2. Unistall all solidworks products.  Go to Start-->Control Panel-->Add/Remove Programs.  Select all entries that pertain to "SolidWorks...."
      3. Modify the attached batch file for your needs.  This means some of your registry keys may be different.  Also, its possible one of your program file directories is different especially if you changed it when installing.  Note that I do not delete the Toolbox directory.  If you want to delete that, add it to the batch file.

       

       

       

      echo on
      REM This will silently uninstall SolidWorks, remove the SolidWorks directory, and clean
      REM the Windows registry. Review, edit, remove or comment out (REM) entries as needed.
      REM NOTE: Run the Copy Settings Wizard and back up all SolidWorks configuration files
      REM before running this batch file.


      REM =======================================
      REM Remove the SolidWorks directory
      REM NOTE: This should point to the SolidWorks install directory.
      REM All customized documents (formats, etc.) should not be kept
      REM in this directory. Place them on the network and use
      REM Toos\Options\File Locations to point to the customized documents.

      rmdir /s /q "c:\program files\SolidWorks"
      rmdir /s /q "c:\program files\SolidWorks Corp"
      rmdir /s /q "c:\program files\common files\SolidWorks Shared"
      rmdir /s /q "c:\program files\common files\SolidWorks Installation Manager"

      rmdir /s /q "c:\program files (x86)\SolidWorks"
      rmdir /s /q "c:\program files (x86)\SolidWorks Corp"
      rmdir /s /q "c:\program files (x86)\common files\SolidWorks Shared"
      rmdir /s /q "c:\program files (x86)\common files\SolidWorks Installation Manager"
      rmdir /s /q "c:\program files (x86)\SolidWorksx86"

      rmdir /s /q "c:\windows\SolidWorks"

      rmdir /s /q "%APPDATA%\solidworks"
      rmdir /s /q "%APPDATA%\solidworks 2007"
      rmdir /s /q "%APPDATA%\solidworks 2008"
      rmdir /s /q "%APPDATA%\solidworks 2009"
      rmdir /s /q "%APPDATA%\solidworks 2010"
      rmdir /s /q "C:\Documents and Settings\All Users\Application Data\SolidWorks"


      REM ====================================
      REM Remove the SolidWorks Windows Registry keys.
      REM NOTE: If mulitple versions of SolidWorks are installed on the same machine, edit
      REM the reg file to add the desired SolidWorks version name.

      reg DELETE HKEY_CURRENT_USER\Software\Solidworks /f
      reg DELETE HKEY_CURRENT_USER\Software\SRAC /f
      reg DELETE HKEY_CURRENT_USER\Software\DesignSource /f
      reg DELETE HKEY_CURRENT_USER\Software\GSSL /f
      reg DELETE "HKEY_CURRENT_USER\Software\SolidWorks BackOffice" /f
      reg DELETE HKEY_CURRENT_USER\Software\SRAC /f

      reg DELETE HKEY_LOCAL_MACHINE\Software\SolidWorks\ /f
      reg DELETE HKEY_LOCAL_MACHINE\Software\Srac /f
      reg DELETE "HKEY_LOCAL_MACHINE\Software\SolidWorks Corporation" /f
      reg DELETE "HKEY_LOCAL_MACHINE\Software\FLEXlm License Manager" /f

      reg DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SolidWorks /f
      reg DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SolidWorks Corporation" /f
      reg DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\FLEXlm License Manager" /f


      echo "Press any key to contine"
      pause

       

       

      If you would like a little more info, look here:

      http://www.solidworks.com/sw/support/Tech_Tips/TT_CleanUpdate.html