Please run the script as System User
The procedure displays the given particular field' value from the given Registry Key.
registry_key=r'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment' reg_field="PROCESSOR_ARCHITECTURE"
Comments