# 5.65 FAQ-930 Why my Windows freezes or crashes on Origin startup or during running, or Origin doesn't function properly?

Last Update: 3/3/2021

If Origin User Files folder (and possibly other Origin-related folders) is set on a cloud-syncing service such as "DropBox", "Google Drive" (Backup and Sync), or "Microsoft OneDrive", you may encounter following problems:

## Problem 1. Origin cannot function properly

For example, you cannot find any fitting functions in Nonlinear Curve Fit dialog.

### How to solve problem 1

#### Solution 1

1. Run script below in the the Script Window to clear the User Folder path value in registry and then you can reset User Files folder the next time Origin starts.
del –path
2. Close Origin.
3. Restart Origin. Specify a new folder as User Files Folder. The new location can be anywhere on your file system that is NOT in the cloud-sync service folder. Make sure the new location has full read and write rights.

#### Solution 2

Make a "backup" on your local disk. Take OneDrive for example. Change the file status as "Always keep on this device" (with icon of the green circle with the white check mark). These files were downloaded to your device and always ready to use even offline case.

## Problem 2. Windows 10 Freezes or Crashes when Origin is starting up or while Origin is running

Windows 10 freezes or crashes when Origin is starting up or while Origin is running. The error message may vary depending on the cloud-syncing service used. For example,

You are likely to observe an error message similar to the following:

It may also display the following information:

Stop code: SYSTEM_SERVICE_EXCEPTION
What failed: cldflt.sys

### How to solve problem 2

Move Origin User Files folder (and possibly other folders) off cloud-syncing services.

 Prior to performing the following steps to move Origin folders off of cloud-syncing services, if you are using Origin 2018 or Origin 2018 SR1, you MUST upgrade to Origin 2018b or a later version. The following steps cannot prevent Origin 2018 or 2018 SR1 from crashing Windows. You may try them but you are likely to still experience crashes.

#### 2. Determine if your User Files folder is located on a cloud-syncing service

Locate your Dropbox, Google Drive, or OneDrive folder in Window File Explorer to locate the folder. There will likely be a shortcut to it in the Navigation pane. If so, you should navigate through the folder searching for a sub-folder entitled User Files.

Example of a User Files folder on OneDrive:

If you do not see a shortcut to one of the cloud-syncing services in the Navigation pane, you either do not have one installed or you may have to dig deeper into your file system to locate the folder.

If a service is not installed or you cannot locate the Origin User Files folder in a synced folder, then it is not causing this issue. You should contact OriginLab Technical Support for further assistance.

#### 3. Determine a new location for your User Files folder

The new location can be anywhere on your file system that is NOT in the cloud-sync service folder. Make sure the new location has full read and write rights.

#### 4. Create the new User Files folder

In the new location you previously determined, manually create a subfolder entitled "OriginLab". Then create a number of sub-folders based on the version of Origin you are using. Spelling and capitalization are important.

For Origin 2018b or later For Origin 2017 or earlier
Add these sub-folders: User Files, Autosave, Backup, and Unsaved. Add these sub-folders: User Files, Autosave.

Make note of the full path to these folders

#### 5. Changing folder locations for Origin

In order to avoid crashing Windows by starting Origin, you will need to take another approach to resetting the User Files folder for Origin.

Open the '''Registry Editor''' in one of two ways:

1. In the search box on the Windows taskbar, type regedit.
2. Select the top result, regedit Run command.

or:

1. Right-click on Start menu, then select Run.
2. Enter regedit in the Open: box and select OK.

When the Registry Editor opens, navigate to the following path on the left pane of the dialog:

Computer\HKEY_CURRENT_USER\Software\OriginLab

Within the OriginLab Registry key, you should see one or more sub-keys, one for each version of Origin installed on your PC. Select and expand the key for your version and select it's International sub-key. Illustrated below is an example for Origin 2018b:

Setting "Path" value for new User Files folder location

In the right pane of the Registry Editor, locate a value named Path and then:

1. Right-click on "Path".
2. From the context menu, select Modify...
3. Enter the FULL path to the new User Files folder (you should have noted this previously). Make sure sure to add a backslash to the end of the path.
For example: C:\your New Location\OriginLab\User Files\
4. Click OK.

Setting "Autosave" value for new Autosave folder location

In the right pane of the Registry Editor, locate a value named Autosave. If it is not found, follow these steps:

1. Add a new value by right-clicking inside the empty area of the pane and, from the context menu, selecting New:String Value.( See Step #1 below).
2. Rename the new value to "Autosave" by right-clicking on "New Value #1" and, from the context menu, selecting Rename.( See Step #2 below).

Step #1:

Step #2:

Next, modify the the new "Autosave" value by using the exact same steps as outlined in Setting "Path" value for new User Files folder location above except substituting "Autosave" for "User Files".

 Notes: For Origin 2018b and later, you need to repeat the exact steps outlined in Setting "Autosave" value for new Autosave folder location twice. The first time, the term "Backup" should be substituted for "Autosave" and the second time, the term "Unsaved" should be substituted for "Autosave".

Results

The final result of the Registry modifications is illustrated below.

#### 6. Restart Origin

Now that you have moved your User Files folder along with other relevant folders, you can start Origin and it should run properly and use the new folders.

Keywords:Windows,Origin,crash,freeze,startup,start,launch,run,running,blue,blue screen of death,BSOD,stop code, SYSTEM_SERVICE_EXCEPTION,What failed,cldflt.sys,OneDrive,Google Drive,Backup and sync, DropBox,Your PC ran into a problem and needs to restart. We're just collecting some error info, and then we'll restart for you, no fitting function