RunOnce values are processed with the current login credentials. A typical user does not have sufficient permissions to successfully process the "4. 'Install pstores.exe'='pstores.exe -install'" RunOnce entry, causing both of the events listed above to be logged.
Also, a typical user by default has "Everyone=read" permission on the RunOnce key, so the entries cannot be deleted.
Other Microsoft and third-party Setup procedures may be affected in a similar way if they use the RunOnce or RunOnceEx keys to complete the Setup process during next logon.
Use either of the following methods:
Have a user with local administrative rights log on to the computer.
Use an administrative AutoAdminLogon and optionally disable the Mouclass and Kbdclass driver to prevent user interruption.
This method involves certain issues. The password of the local administrator is stored as plain text in the registry (plus the corresponding script file), and a problem with disabled drivers can lead to an inaccessible system. Furthermore, be aware of the information on the following article in the Microsoft Knowledge Base:
159969 AutoLogon Fails If DontDisplayLastUserName Is Also Enabled
Because of these issues, Microsoft recommends using the first method.