Jump to content

How to find registry hive for current user


Recommended Posts

Some registry settings can be made only knowing the registry hive of the current user. Unfortunately the GUID it's not a standard, so the question is. How can I get the guid number during the App install (last part of unattended cd) and use to supply registry modification?

Andrea

Link to comment
Share on other sites


Can you not simply make your modifications to HKEY_CURRENT_USER (HKCU)

<Edit>

If you have used a registry monitoring program, and your resultant reg file has many references to something similar to HKEY_USERS\S-1-5-21-1215551440-2146636555-83645543-500, that is the SID number which as you say, is not standard (i.e. changes for every user and install)

All you need to do is a search and replace routine in your editor and replace all occurrences of that with HKEY_CURRENT_USER

</Edit>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...