Error writing to the registry during Windows Logon Agent Install