[New-bugs-announce] [issue28011] winreg KEY_READ also fails for some keys
report at bugs.python.org
Wed Sep 7 21:54:03 EDT 2016
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?
nosy: pabitra, paul.moore, steve.dower, tim.golden, zach.ware
title: winreg KEY_READ also fails for some keys
versions: Python 2.7
Added file: http://bugs.python.org/file44456/Winreg.jpg
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce