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?
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:
Some sections of the registry are locked to all users (Admin or Non-Admin), for example HKEY_LOCAL_MACHINE\SECURITY
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.