Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does Windows Store apps stores its local settings?

Hello fellow programmers,

I am new to Windows 8. Where does Windows Store app's LocalSettings store its serialized file ? I am referring to this one:

Windows.Storage.ApplicationData.Current.LocalSettings

Per WinStore app tutorial here, I can load and save serialized properties to either roaming settings or local settings. The roaming goes to the cloud, but where exactly does the local setting goes to ? Registry? Isolated file?

Thank you in advance.

like image 403
Jeson Martajaya Avatar asked Feb 26 '13 20:02

Jeson Martajaya


People also ask

Where are Windows apps settings stored?

Look in c:\users\{username}\AppData\Local\Packages\{packageID} where packageID identifies a particular app. In there you'll see a number of folders, and inside the one called Settings you'll see settings.

Where is settings in Microsoft Store?

Open Settings. Go to Apps -> Apps & features. On the right side, look for Microsoft Store and click it. The advanced options link will appear.

Where are Windows apps stored in registry?

An application that is installed for per user can be registered under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths. An application that is installed for all users of the computer can be registered under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths.

Where are Windows 10 apps located?

Select Start > Settings > Apps. Apps can also be found on Start . The most used apps are at the top, followed by an alphabetical list.


1 Answers

Look in c:\users\{username}\AppData\Local\Packages\{packageID} where packageID identifies a particular app. In there you'll see a number of folders, and inside the one called Settings you'll see settings.dat. That's where the LocalSettings and RoamingSettings are stored. (Roaming settings are stored locally and sync'd with the cloud, so you aren't hitting the cloud every time you want to retrieve one.)

The LocalState, RoamingState, and TempState folders alongside Settings are where you can store your own files if what you want to store in settings gets too complicated for key-value pairs.

like image 90
Kraig Brockschmidt - MSFT Avatar answered Sep 22 '22 20:09

Kraig Brockschmidt - MSFT