Changed HKEY_CURRENT_USER to HKEY_LOCAL_MACHINE