> For the complete documentation index, see [llms.txt](https://help.imotions.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.imotions.com/lab/support-and-troubleshooting/faq/how-to-change-the-imotions-study-file-folder.md).

# How to change the iMotions study file folder

Move the iMotions Lab study library off the C drive or give each Windows user their own library by setting the IMOTIONS\_ROOT environment variable.

**IMPORTANT NOTE:** Windows user permissions play an important role in changing data storage locations. Please ensure that the root folder of your library has the correct Windows permissions. For example, Windows allows you to set the ownership of the folder so that only a user in a certain group can access the shared folder. If you want a shared iMotions library, it is suggested to give all logged-in users full access to the folder (you can copy the settings iMotions uses when creating the c:\programdata\iMotions folder to give all logged-in users full access). iMotions does not copy the **License.json** file to the new folder. If it isn't there, iMotions opens the registration window on the **first launch**, and the license has to be registered again for that folder (for each user, if every user has their own library). To keep the current registration, copy License.json from the iMotions folder in C:\ProgramData\iMotions (for example C:\ProgramData\iMotions\Lab\_XG) to the same subfolder in the new location (for example D:\iMotionsData\Lab\_XG) before you start iMotions. **Caution: you should never have 2 iMotions licenses active on the same machine-sharing study library.**

## There are three ways to change hard disk data storage:

### 1. If you want all users to have their study library

1. Open Control Panel > System and Security > System
2. On the lower right-hand side, click on "Advanced System Settings"
3. In the new window, click on the "Advanced" tab to find the "Environment Variables" button towards the bottom
4. A new window will pop up. Find the "System Variables" section and click "New"
5. Define which user profile you would like the library to be under (ex: Define the variable at a system level to be: IMOTIONS\_ROOT=!USERPROFILE!\Documents\iMotionsData). In this system variable, use ! instead of % around USERPROFILE, so that iMotions fills in each user's own profile folder when it starts
6. Restart PC

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-f751b6d5155910491e24c2cb74d6b2f19d12fbf9%2F61680fd84e_image-1721046946587.webp?alt=media)

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-45376500a675f4a23d4be8b0f1cfe2820cee8211%2Fd17c758905_image-1721046326414.webp?alt=media)

### 2. If you want to keep a shared library but want to move it from the C drive:

1. Open the Control Panel > System and Security > System
2. On the lower right-hand side, click on "Advanced System Settings"
3. In the new window, click on the "Advanced" tab to find the "Environment Variables" button towards the bottom
4. A new window will pop up. Find the "System Variables" section and click "New"
5. Define the variable at a system level to be IMOTIONS\_ROOT=D:\iMotionsData to move the library to the D drive
6. Restart PC

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-8ac3791794a067199bd38e4053a2ffd7646b9ff1%2Fb81d4ebb84_image-1721046887102.webp?alt=media)

### 3. If some users want to have their study library:

1. Open the Control Panel > System and Security > System
2. On the lower right-hand side, click on "Advanced System Settings"
3. In the new window, click on the "Advanced" tab to find the "Environment Variables" button towards the bottom
4. A new window will pop up. Find the "User variables" section and click "New"
5. Each user should define the variable at a user level to be IMOTIONS\_ROOT=%USERPROFILE%\iMotions
6. All other users will continue to use the standard program data location.
7. Restart PC

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-9c6b8ff069b09baa061210a0bc217d7153333ef6%2Ff973a8e44b_image-1721046837853.webp?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.imotions.com/lab/support-and-troubleshooting/faq/how-to-change-the-imotions-study-file-folder.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
