# Location of Project folder under "Program Files", why?

**URL:** <https://forum.inductiveautomation.com/t/location-of-project-folder-under-program-files-why/60355>\
**Category:** Ignition\
**Created:** [June 3, 2022, 6:38pm UTC](https://forum.inductiveautomation.com/t/location-of-project-folder-under-program-files-why/60355 "2022-06-03T18:38:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/user5/32/39393_2.png) [@user5](https://forum.inductiveautomation.com/u/user5)\
**Post date:** [June 3, 2022, 6:38pm UTC](https://forum.inductiveautomation.com/t/location-of-project-folder-under-program-files-why/60355/1 "2022-06-03T18:38:24Z")

</div>

Hello,

I am just curious why the Ignition team chose to have Projects (or even data folder) under “C:\Program Files\Inductive Automation\Ignition” instead of “C:\ProgramData”?

We use bitbucket as repository for projects and cloning projects on Projects folder requires us to give special permissions, without which Windows tries to protect any changes to Program Files folder.

Would be less hassle, and probably right way to do, if “data” folder was under ProgramData.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 3, 2022, 6:45pm UTC](https://forum.inductiveautomation.com/t/location-of-project-folder-under-program-files-why/60355/2 "2022-06-03T18:45:01Z")

</div>

It’s just a default. You can change it; in `ignition.conf` you can pass the parameter `data.dir` with a different value, e.g. `wrapper.java.additional.6=-Ddata.dir=$someOtherDataDir`.

We’ve found that, in general, having the default install put things in one place is a lot easier than trying to go down the rabbit hole of putting things in the myriad different OS-specific locations things might be “expected” to reside.

---

<div class="post-metadata">

**Author:** ![user5](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/user5/32/39393_2.png) [@user5](https://forum.inductiveautomation.com/u/user5)\
**Post date:** [June 3, 2022, 6:56pm UTC](https://forum.inductiveautomation.com/t/location-of-project-folder-under-program-files-why/60355/3 "2022-06-03T18:56:53Z")

</div>

Thanks for the quick response.

---

<div class="post-metadata">

**Author:** ![user5](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/user5/32/39393_2.png) [@user5](https://forum.inductiveautomation.com/u/user5)\
**Post date:** [June 3, 2022, 7:45pm UTC](https://forum.inductiveautomation.com/t/location-of-project-folder-under-program-files-why/60355/4 "2022-06-03T19:45:34Z")

</div>

I changed the line to:  
wrapper.java.additional.1=-Ddata.dir=-"/Users/user name/Documents/Projects"

Could not find -/Users/user name/Documents/Projects\gateway.xml or -/Users/user name/Documents/Projects\gateway.xml\_clean.

Do I need to copy the contents of data folder to this new folder?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 3, 2022, 7:46pm UTC](https://forum.inductiveautomation.com/t/location-of-project-folder-under-program-files-why/60355/5 "2022-06-03T19:46:53Z")

</div>

…Yes?  
You’re telling Ignition “all of your persistent configuration data is stored in this location, now”. If you don’t move the data, then Ignition won’t have any data to refer to.

I don’t think QA tests around this, particularly, so there may be some rough edges, but it will work.

---

<div class="post-metadata">

**Author:** ![user5](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/user5/32/39393_2.png) [@user5](https://forum.inductiveautomation.com/u/user5)\
**Post date:** [June 3, 2022, 7:59pm UTC](https://forum.inductiveautomation.com/t/location-of-project-folder-under-program-files-why/60355/6 "2022-06-03T19:59:04Z")

</div>

OK so I copied the files.  
I restarted the gateway.  
I launched the designer  
I see the files get updated (it asked me to recreate user, etc)  
I created a new Project, but it still goes to original folder instead of new one. Seems like there is a separate configuration for Project folder?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 3, 2022, 8:07pm UTC](https://forum.inductiveautomation.com/t/location-of-project-folder-under-program-files-why/60355/7 "2022-06-03T20:07:57Z")

</div>

Hmm. So, guess I missed something; you _can_ force just the projects to a different directory (via `ignition.projects.dir` flag, set the same way as the data dir flag), but if you _aren’t_ specifying that override then it should be using `$data/projects`.

---

<div class="post-metadata">

**Author:** ![user5](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/user5/32/39393_2.png) [@user5](https://forum.inductiveautomation.com/u/user5)\
**Post date:** [June 4, 2022, 2:08am UTC](https://forum.inductiveautomation.com/t/location-of-project-folder-under-program-files-why/60355/8 "2022-06-04T02:08:40Z")

</div>

> [@paul-griffith](#):
>
> ignition.projects.dir

Great! That worked. Thank you very much. Good work around for Windows OS.
