New submission from Pabitra:

UAC does not give KEY_ALL_ACCESS on various keys, that's a know fact. But, 
KEY_READ access also throws WindowsError: [Error 5] Access is denied for few 
keys.

Out of all the keys in HKEY_USERS, I am trying to access, "S-1-5-18",  
"S-1-5-19" and  "S-1-5-20". Openkey() with KEY_READ works fine for "S-1-5-18". 
However for "S-1-5-19" and  "S-1-5-20" it fails (even if I use KEY_READ access).

Then how can I read the values for those specific keys, if KEY_READ also shows 
access denied?

----------
components: Windows
files: Winreg.jpg
messages: 274951
nosy: pabitra, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: winreg KEY_READ also fails for some keys
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file44456/Winreg.jpg

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28011>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to