Ownership of Windows 10 app data files

Discuss various technical topics not related to Mozilla.
Post Reply
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Ownership of Windows 10 app data files

Post by tanstaafl »

It appears the standard methods to get full access to files created by win32 processes doesn't work on data files created by Metro apps. How do you do that? The only method I can find for deleting those files is to uninstall the app. I can't find any way to edit them. Is the problem that I need to learn more about PowerShell commands or ....? I recently upgraded from Windows 7 to 10 so I never ran into this situation before.

The reason I ask:

I tried running the Windows 10 Mail App, in order to help somebody troubleshoot what looked like it might be a Thunderbird problem. When I went to add a Outlook account it told me that it would switch me from a local account to my Outlook account for Windows login the next time I restarted. So I aborted that and added my Comcast IMAP account instead. It managed to get a accurate list of folders but never found any messages and couldn't send any messages. So I tried to delete the account. It never finished that command. When I tried using a different part of the user interface to delete that account it never let me press that button, something always got in the way. Exiting and restarting the app didn't help.

The last post in http://superuser.com/questions/449389/w ... store-data claims the files used to store its data are in C:\Users\Username\AppData\Local\Packages\microsoft.windowscommunicationsapps\LocalState\Indexed\LiveComm. They're in that package repository, but they have names such as microsoft.windowscommunicationsapps_2015.6208.42001.0_neutral_~_8wekyb3d8bbwe.xml . I tried opening them and couldn't get the security privileges needed, even following the prompt to open the security tab, because it would not let me edit or add any privileges. I used a .reg file from http://www.howtogeek.com/howto/windows- ... -in-vista/ to add a "Take Ownership" command to File Explorer and tried to take ownership of those four files. Didn't help. I had been able to use that command under Windows 7 with no problem.

So I decided to try to uninstall the app instead. The control panel settings won't let me do that. I eventually found http://answers.microsoft.com/en-us/wind ... 0a5d45fe80 and used a script in powershell to uninstall the Mail & Calendar apps. That seems to have gotten rid of the *.xml files as a side effect, but what I really wanted to do was just edit/delete the apps data files.
User avatar
Omega X
Posts: 8225
Joined: October 18th, 2007, 2:38 pm
Location: A Parallel Dimension...

Re: Ownership of Windows 10 app data files

Post by Omega X »

Yeah, that started with Windows 8. It takes a special kind of voodoo to get rid of the metro related stuff.
Post Reply