_RegistryRead

Reads key of registry taking in account a 64 bit Windows
Note: For reading some keys from the registry administrator rights could be needed

Miscellaneous.au3
_RegistryRead

parameters

$sKey Registry key
$sValueName Value name to read

return value

value Read key value

related

_WindowsVersion

example

_RegistryRead( "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\", "CurrentVersion" )