Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a .reg file with some registry updates that I need to apply to a bunch of user's profiles. The keys are all in HKCU, which means they will end up in

The "manual" way of doing this is to log in as each user, run the .reg file, and then copy the resulting man file back up to the roaming profile on the network.

Common sense tells me there must be a better way to do this. somehow there must be a way to merge that .reg file into a man file without actually being logged into a computer as the user being affected. I am not a windows admin, or at least not supposed to be, so forgive me if this is an utterly stupid question :)

share|improve this question

You mention that these are roaming profiles which makes me assume you're running AD. If so, why not just use Group Policy Preferences to push the registry values? Manually editing hive files seems so archaic.

share|improve this answer
it does sound archaic to me, even as a software engineer with little windows admin experience. I am clearly out of my comfort zone here, but my general common sense told me our current method was crazy. I will see if i can convince our AD folks here to help out. – Peter Nov 1 '10 at 14:38

You can use "Load hive" functionality of REGEDIT.EXE for loading file for editing (select HKEY_USERS branch to activate "Load hive" menu item).

But seems you can't import your REG file directly in this case because there is no HKEY_CURRENT_USER and you should select correct registry branch for user settings using user SID.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.