Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My goal is to stop Windows from changing certain keys back to their default settings when the computer reboots. In answer to a previous question on Super User someone suggested setting a registry key to read-only. But when I look at the permissions there are four (I assume the one RESTRICTED is irrelevant so I'll ignore it):

  • There's SYSTEM
  • There's Me (I'm an admin)
  • There's Administrators (which I assume is the 'default' administrator)

I don't know which one of these to change to make a key read only so that Windows itself can't alter it unless I change its permissions back. Further, I don't seem to be able to change the permissions on anything but the RESTRICTED user.

If it matters the specific keys I want to set to be unchangeable by Windows are:

  • HKEY_CURRENT_USER\Control Panel\Mouse\MouseSensitivity
  • HKEY_CURRENT_USER\Control Panel\Mouse\SwapMouseButtons
share|improve this question

1 Answer 1

up vote 6 down vote accepted

To make changes to permissions, you need to uncheck the Include inheritable permissions from this object's parent checkbox:

alt text

share|improve this answer
    
Thanks. Do you know which of the mentioned users I make the change to? –  MrVimes Aug 28 '10 at 21:36
    
I'd change them all if you want it to be read-only (though you could experiment). Make sure that Read access is still available for all. –  BillP3rd Aug 28 '10 at 21:41

Your Answer

 
discard

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.