Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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've installed a software on my windows 8 computer which writes entries in my registry. How can I modify this registry entries for all users ? For example what I need to modify is values from this key but this key only refers to a single user:


But "S-1-5-21-543895283-3741240661-2983116896-500" is different depending on the user name. How can I change that key for all users ?

I've tried to work with this key but is not possible.


share|improve this question
up vote 1 down vote accepted

Only the current user's registry(hive) is loaded which makes it hard to update the registry-hives for other/all users.

That's why usually changes to multiple users-registries are done through logon-scripts or group policies. This usually requires a Windows domain infrastructure.

Another approach is to loop through all user accounts on a machine. For each accound, load the user-hives into the current registry, make changes and unload the hive again. This requires a bit of scripting.

Luckily, someone else already did the work. I found a script that does exactly what you want:


I haven't tested it, but it looks good.

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.