You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This cause problems for a lot of registry keys as they require elevated permissions to be able to be written.
E.g. 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB'
Maybe better to open the keys with read access only?
Or add the permission level as constructor argument?
The text was updated successfully, but these errors were encountered:
The default RegKey constructor tries to open the registry key with read and write access.
WinReg/WinReg/WinReg/WinReg.hpp
Line 172 in b5dbf0c
This cause problems for a lot of registry keys as they require elevated permissions to be able to be written.
E.g. 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB'
Maybe better to open the keys with read access only?
Or add the permission level as constructor argument?
The text was updated successfully, but these errors were encountered: