SOLVED

How can I read an app's registry settings using RegEdit.exe?

%3CLINGO-SUB%20id%3D%22lingo-sub-1797752%22%20slang%3D%22en-US%22%3EHow%20can%20I%20read%20an%20app's%20registry%20settings%20using%20RegEdit.exe%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1797752%22%20slang%3D%22en-US%22%3E%3CP%3EAt%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fmsix%2Fdesktop%2Fdesktop-to-uwp-behind-the-scenes%23registry%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMS%20Docs%20-%20Understanding%20how%20packaged%20desktop%20apps%20run%20on%20Windows%20-%20Registry%3C%2FA%3E%20it%20reads%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3EApp%20packages%20contain%20a%20registry.dat%20file%2C%20which%20serves%20as%20the%20logical%20equivalent%20of%20%3CEM%3EHKLM%5CSoftware%3C%2FEM%3E%20in%20the%20real%20registry.%20At%20runtime%2C%20this%20virtual%20registry%20merges%20the%20contents%20of%20this%20hive%20into%20the%20native%20system%20hive%20to%20provide%20a%20singular%20view%20of%20both.%20For%20example%2C%20if%20registry.dat%20contains%20a%20single%20key%20%22Foo%22%2C%20then%20a%20read%20of%20%3CEM%3EHKLM%5CSoftware%3C%2FEM%3E%20at%20runtime%20will%20also%20appear%20to%20contain%20%22Foo%22%20(in%20addition%20to%20all%20the%20native%20system%20keys).%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFrom%20this%20description%20it%20seems%20only%20the%20app%20itself%20has%20access%20to%20its%20own%20registry%20key%20settings.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20can%20I%20read%20an%20arbitrary%20app's%20registry%20settings%20using%20RegEdit.exe%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1798322%22%20slang%3D%22en-US%22%3ERe%3A%20How%20can%20I%20read%20an%20app's%20registry%20settings%20using%20RegEdit.exe%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1798322%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%2F838503%22%20target%3D%22_blank%22%3E%40BetterToday%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20do%20this%20using%20the%20%3CA%20href%3D%22https%3A%2F%2Fwww.advancedinstaller.com%2Fhover.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Efree%20tool%20Hover%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20are%20more%20details%20on%20%3CA%20href%3D%22https%3A%2F%2Fwww.advancedinstaller.com%2Fregistry-in-msix-container-hover.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Einspecting%20the%20registry%20from%20an%20MSIX%20container%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBogdan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1802401%22%20slang%3D%22en-US%22%3ERe%3A%20How%20can%20I%20read%20an%20app's%20registry%20settings%20using%20RegEdit.exe%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1802401%22%20slang%3D%22en-US%22%3E%3CP%3EGlad%20I%20could%20help%20Axel.%3CBR%20%2F%3E%3CBR%20%2F%3EDon't%20forget%20to%20send%20us%20feedback%20about%20the%20tool%2C%20if%20you%20feel%20it%20needs%20some%20improvements.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

At MS Docs - Understanding how packaged desktop apps run on Windows - Registry it reads:

 

App packages contain a registry.dat file, which serves as the logical equivalent of HKLM\Software in the real registry. At runtime, this virtual registry merges the contents of this hive into the native system hive to provide a singular view of both. For example, if registry.dat contains a single key "Foo", then a read of HKLM\Software at runtime will also appear to contain "Foo" (in addition to all the native system keys).

 

From this description it seems only the app itself has access to its own registry key settings.

 

How can I read an arbitrary app's registry settings using RegEdit.exe?

3 Replies
best response confirmed by BetterToday (Occasional Contributor)
Solution

Hi @BetterToday 

 

You can do this using the free tool Hover.

 

Here are more details on inspecting the registry from an MSIX container.

 

Bogdan

@Bogdan MitracheThanks a lot for pointing me to this very valuable piece of information!

 

I'm new to app development and don't know more than bedrock about how MSIX containers work.

 

Your answer is very much appreciated!

 

Cheers,

Axel

Glad I could help Axel.

Don't forget to send us feedback about the tool, if you feel it needs some improvements.