Thank you. I hope this will be fixed in the core, or at least added into the documentation. P.S. Not to be nit-picky, but I think you meant this: Global $sHKLM32 = @AutoItX64 = 1 ? "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE" : "HKLM\SOFTWARE" Global $sHKLM64 = @AutoItX64 = 1 ? "HKEY_LOCAL_MACHINE\SOFTWARE" : "HKLM64\SOFTWARE"