Writting to User Registry

  • Thread starter Thread starter Wayne Gibson
  • Start date Start date
W

Wayne Gibson

Hi,
Was wondering if anybody could help.
I want to be able to write some registry settings for another user profile
on a machine.
I am logged in as the administrator, but can't seem to find any examples of
how to do this.

I know it can be done, as I have seen WinGuides - Tweak Manager do it..

Any Ideas..

Thanks

Wayne Gibson
 
Wayne Gibson said:
Was wondering if anybody could help.
I want to be able to write some registry settings for another user profile
on a machine.

All user's hives are subkeys of HKEY_USERS. The name of the key is a
textual representation of a user's SID, as I understand.
--
With best wishes,
Igor Tandetnik

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken
 
Wayne said:
Hi,
Was wondering if anybody could help.
I want to be able to write some registry settings for another user profile
on a machine.
I am logged in as the administrator, but can't seem to find any examples of
how to do this.

I know it can be done, as I have seen WinGuides - Tweak Manager do it..

Any Ideas..

A manual way:

Start regedit.exe.

Type "loading a hive" in Regedit's help (under the index tab).

Load the user profile (typically C:\Documents & Settings\<user
name>\NTUSER.dat).
 
I think maybe a local policy for your machine would do
waht you are wanting. Look at running the MMC for Group
Policy, the build a local policy. You can do some great
stuff with Policies..
-Steve
 
If you can get away with it use LoadUserProfile, otherwise you have to get
user sid to create path to hive and load it manually. Not fun.

Good luck
Harvey Shields
 
Back
Top