First off, sorry if this is not the appropriate place for this post.
I am a software enginner. I have an application that saves some settings files when it exits. These files are written to the C:\ProgramData\COMPANY_NAME\SOFTWARE_NAME\ folder. I encountered an issue where if the first person to run the application was the administrator, future users go error attempting to edit the file. As a solution I put som default files into my software installation, hoping that they would be installed for all users. Now, when my program tries to write to these files, I get data redirection to the windows VirtualStore.
I've read up in the VS a bit, and all examples I see refer to programs that write to the Program Files folder. I am not doing that, but am wondering why I am getting redirection from the ProgramData folder.
I hope I have posed this question clear enough that it can be answered. If additional information is needed I can, of course, provide it.
Thanks.