We help IT Professionals succeed at work.
Get Started

Setting permissions for parts of HKCU in Registry via script

4,792 Views
Last Modified: 2013-12-04
All our users are Power Users, but we have a program that need Modify access to these parts of the Registry, which a Power User cannot do, so at the minute said program is unusable.

HKCU\Control Panel\Desktop\MultiUILanguageId
HKCU\Control Panel\Desktop\MUILanguagePending
HKCU\Control Panel\International\Locale

I have looked at setting these via group policy, but apparently I can only use this feature to modify permission for HKEY_LOCAL_MACHINE, HKEY_USERS and HKEY_CLASSES_ROOT.  I realise that the profile for every user is kept in HKEY_USERS, but changing this setting for every user that has ever logged onto that PC would require knowing the SID of every user, which isn't feasible.

If I understand it correctly, when a user logs on, the Registry profile of that user is copied from HKEY_USERS to HKEY_CURRENT_USER.  After this happens, is there no way changing the permissions in HKEY_CURRENT_USER after logon, rahter than changing HKEY_USERS before logon?

I would be looking to have this as some sort of command(s) that run in a Logon Script, so preferably batch commands, or VB Script.

Thanks
Comment
Watch Question
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2011
Commented:
This problem has been solved!
Unlock 2 Answers and 13 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE