Default security permissions on Windows Registry keys.

Registry keys with permissions

At work, I’m working on a registry key permission error.  Something which worked on Windows 2000, now doesn’t work on Windows XP.  It’s security related, hope to solve it today.

One of the questions I had was: “What are the default registry security permissions for Windows 2000 and Windows XP?”  Couldn’t find anything.

So I created my own, using the Microsoft Sysinternals AccessEnum tool.  The above graph just shows how much Microsoft has tighten registry security, from operating system to operating system.

You can find the attached spreadsheet summary here.

Bookmark and Share

How to remove registry keys using REGEDIT

Via the Greek Guru, Peter Kammas:

In case you didn’t already know it, you can use .reg files to also REMOVE registry keys and/or values…

To do so, create a .reg file as follows:

Removing a registry key:



(note the minus sign before the key name… this will remove the entire key, including subkeys and values, without prompting: so be careful)

Removing a registry value:


"Kennel Patch Install Date"=-

(note the minus sign after the equals sign on the value(s) you want to remove… this will only remove the value(s) specified)

Then it’s just a simple matter of executing the changes with a regedit /s <.reg file>

Note: Microsoft have documented this in How to add, modify, or delete registry subkeys and values by using a registration entries (.reg) file

Bookmark and Share