[issue28011] winreg KEY_READ also fails for some keys

2016-09-08 Thread Eryk Sun
Eryk Sun added the comment: It's not a bug that you can't read those keys. The DACL (discretionary access control list) of those two keys doesn't grant any access to standard users. However, administrators do have full control, in case your account is a UAC restricted admin with a split

[issue28011] winreg KEY_READ also fails for some keys

2016-09-07 Thread Pabitra
Pabitra added the comment: Same applies for Python 3.5 as well. -- versions: +Python 3.5 ___ Python tracker ___

[issue28011] winreg KEY_READ also fails for some keys

2016-09-07 Thread Pabitra
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".