SOLVED

application user data in MSIX

%3CLINGO-SUB%20id%3D%22lingo-sub-1570744%22%20slang%3D%22en-US%22%3Eapplication%20user%20data%20in%20MSIX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1570744%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMSIX%20usually%20removes%20all%20user%20level%20entries(files%2Fregistries)%20created%20while%20using%20application.%3C%2FP%3E%3CP%3E1.%20How%20about%20the%20settings%20that%20users%20create.%20Ex%3A%20bookmarks%20in%20Google%20Chrome.%3CBR%20%2F%3E2.%20if%20it%20deletes%2C%20will%20that%20be%20retained%20if%20we%20are%20using%20fslogix%20for%20user%20profiles.%3C%2FP%3E%3CP%3E3.%20if%20retains%2C%20any%20specific%20folder%20path%20retained%20in%20user%20profile.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELook%20forward%20to%20the%20reply.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1573857%22%20slang%3D%22en-US%22%3ERe%3A%20application%20user%20data%20in%20MSIX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1573857%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749926%22%20target%3D%22_blank%22%3E%40Kragunath%3C%2FA%3E%20By%20default%20these%20things%20are%20removed%20on%20uninstall%20by%20design.%26nbsp%3B%20But%20if%20the%20package%20did%20not%20contain%20ANY%20AppData%20files%20then%20those%20are%20written%20externally%20(just%20like%20the%20Documents%20folder)%20and%20will%20remain.%26nbsp%3B%20Also%2C%20there%20is%20an%20option%20on%20the%20PowerShell%20removal%20to%20keep%20the%20data%20-%20not%20exposed%20in%20the%20GUI%20uninstaller.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1574190%22%20slang%3D%22en-US%22%3ERe%3A%20application%20user%20data%20in%20MSIX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1574190%22%20slang%3D%22en-US%22%3EThank%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F146612%22%20target%3D%22_blank%22%3E%40TIMOTHY%20MANGAN%3C%2FA%3E%2C%3CBR%20%2F%3Eif%20I%20understood%20correctly%2C%3CBR%20%2F%3E1.%20If%20AppData%20is%20not%20added%20in%20the%20package%2C%20the%20content%20will%20be%20written%20outside%20the%20container%20and%20remain%20after%20removal%20of%20package.%3CBR%20%2F%3E2.if%20the%20AppData%20is%20added%20in%20the%20package%2C%20PowerShell%20command%20can%20be%20used%20to%20retain%20the%20content%20after%20removal.%3CBR%20%2F%3Eif%20yes%2C%20is%20there%20any%20MS%20document%20for%20this%20behavior.%20Please%20provide%20if%20any.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1574567%22%20slang%3D%22en-US%22%3ERe%3A%20application%20user%20data%20in%20MSIX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1574567%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749926%22%20target%3D%22_blank%22%3E%40Kragunath%3C%2FA%3E%26nbsp%3BThat%20sounds%20right%20to%20me.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20don't%20know%20of%20any%20documentation%20directly%20addressing%20this%20on%20the%20former%2C%20although%20it%20may%20be%20implied%20at%20places.%26nbsp%3B%20The%20latter%20is%20documented%20in%20the%20remove-appxpackage%20cmdlet%2C%20just%20without%20context%20or%20details.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPerhaps%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F73899%22%20target%3D%22_blank%22%3E%40John%20Vintzel%3C%2FA%3E%26nbsp%3Bor%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F145112%22%20target%3D%22_blank%22%3E%40Sharla%20Akers%3C%2FA%3E%26nbsp%3Bcan%20add%20this%20scenario%20to%20the%20next%20documentation%20bash%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1584863%22%20slang%3D%22en-US%22%3ERe%3A%20application%20user%20data%20in%20MSIX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1584863%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F146612%22%20target%3D%22_blank%22%3E%40TIMOTHY%20MANGAN%3C%2FA%3E%2C%3CBR%20%2F%3EThanks%20for%20the%20update.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F73899%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40John%20Vintzel%3C%2FA%3E%3CSPAN%3E%26nbsp%3Bor%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F145112%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40Sharla%20Akers%3C%2FA%3E%2C%3CBR%20%2F%3ECould%20you%20help%20on%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1594671%22%20slang%3D%22en-US%22%3ERe%3A%20application%20user%20data%20in%20MSIX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1594671%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F749926%22%20target%3D%22_blank%22%3E%40Kragunath%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20learn%20more%20about%20how%20the%20MSIX%20Container%2C%20and%20AppData%20works%20in%20our%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fwindows%2Fmsix%2Fdesktop%2Fdesktop-to-uwp-behind-the-scenes%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Edoc%20here%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%2C%3C%2FP%3E%0A%3CP%3ESharla%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1594962%22%20slang%3D%22en-US%22%3ERe%3A%20application%20user%20data%20in%20MSIX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1594962%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F145112%22%20target%3D%22_blank%22%3E%40Sharla%20Akers%3C%2FA%3E%2C%3CBR%20%2F%3EThanks%20for%20the%20update.%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

 

MSIX usually removes all user level entries(files/registries) created while using application.

1. How about the settings that users create. Ex: bookmarks in Google Chrome.
2. if it deletes, will that be retained if we are using fslogix for user profiles.

3. if retains, any specific folder path retained in user profile.

 

Look forward to the reply.

6 Replies

@Kragunath By default these things are removed on uninstall by design.  But if the package did not contain ANY AppData files then those are written externally (just like the Documents folder) and will remain.  Also, there is an option on the PowerShell removal to keep the data - not exposed in the GUI uninstaller.

Thank @TIMOTHY MANGAN,
if I understood correctly,
1. If AppData is not added in the package, the content will be written outside the container and remain after removal of package.
2.if the AppData is added in the package, PowerShell command can be used to retain the content after removal.
if yes, is there any MS document for this behavior. Please provide if any.

@Kragunath That sounds right to me.

 

I don't know of any documentation directly addressing this on the former, although it may be implied at places.  The latter is documented in the remove-appxpackage cmdlet, just without context or details.  

 

Perhaps @John Vintzel or @Sharla Akers can add this scenario to the next documentation bash?

@TIMOTHY MANGAN,
Thanks for the update.

@John Vintzel or @Sharla Akers,
Could you help on this.

Best Response confirmed by John Vintzel (Microsoft)
Solution

Hi @Kragunath,

 

You can learn more about how the MSIX Container, and AppData works in our doc here.

 

Best,

Sharla

@Sharla Akers,
Thanks for the update.