title: Windows 10 - Permission Difference Between CommonAppDataFolder and User's Application Data Folder
body: <p>My application keeps failing with an access denied error when writing to a file in Windows 10. When the file is in C:\ProgramData\, it fails. As a test, I moved it to C:\Users\username\AppData\Roaming\ and the access denied error went away. I've also noticed that when right clicking on the file when its in ProgramData, I need administrative access to delete or rename the file. In AppData\Roaming, I do not. However, there doesn't appear to be any security differences between the two folders. I can't figure out why one works and the other doesn't, any help is appreciated. </p>
  
  <p>Thank you.</p>