When I open regedit in Windows 7, I get
"Registry editing has been disabled by your administrator"
Can I open it someway in readonly mode? Or does anyone know how can I see values in the registry?
23 Answers
Non-administrators have the same registry 'read' rights as administrators.
You also have full write access (Full Control) to the HKEY_CURRENT_USER key.
To open the registry:
- Open the Windows Start Menu
- Type in "regedit" and press 'Enter' on the keyboard

- Workstations which are a member of a domain will prompt for a password - just enter the password for your non-administrator account.

Please note:
Some sections of the registry are locked to all users (Admin or Non-Admin), for example HKEY_LOCAL_MACHINE\SECURITY
If your system is configured to disallow the use of 'regedit' you will need to speak with your system administrator. Giving advice on how to circumvent this would be unethical and likely against the superuser terms of use.
Use reg query in cmd. It does not need admin privileges.
Probably your administrator had disabled from group policy the right of opening registry editors.
Go to Run » gpedit.msc » User Configuration » Administrative Templates » System » "Prevent access to registry editing tools". Disable it or choose "Not Configured".
The main problem is that reg query doesn't work, giving the same error:
ERROR: Registry editing has been disabled by your administrator.
… or this sounds to me as a bug in Windows 7. On Windows XP, reg query is working fine, without any problem if "Prevent access to registry editing tools" is Enabled.