runas admin regedit change current user registry?

  • Thread starter Thread starter Roger
  • Start date Start date
R

Roger

How do I runas the Administrator in the current users account and
change the registry for the current user? I tried the runas command but
only the Administrator's registry gets changed.
 
In said:
How do I runas the Administrator in the current users account
and change the registry for the current user? I tried the runas
command but only the Administrator's registry gets changed.

Used runas and ran what? The OS is always good info. Actual
command lines are often infomative too.

Started from Administrator, "HKCU" is likely to be "Default User".
The "other" account will be found under HKU by SID. Edit there, but
get the correct one of course.

Other possibilities exist (see runas /?) but your other user's
account registry hive will still be accessed at HKU since it is not
"current" in the context.
 
In Windows 2000 and XP you can "Load Hive" from another user's profile.

In Win 2000

1. Open REGEDT32
2. Go to the HKUsers subwindow.
3. From the File Menu choose to "Load Hive"
4. Browse to the users profile under C:\Docs and Settings\Username
5. Open the NTUser.dat file
6. When prompted for the key name, call it the user name or something.
7. Make your modifications.
8. UNLOAD the Hive.

In XP

1. Open REGEDIT
2. Go to the HKEYUsers branch.
3. From the File Menu choose to "Load Hive"
4. Browse to the users profile under C:\Docs and Settings\Username
5. Open the NTUser.dat file
6. When prompted for the key name, call it the user name or something.
7. Make your modifications.
8. UNLOAD the Hive.
 
Back
Top