Script Download: FixIssuesDescribedinKB947215(VBScript).ziphttp://gallery.technet.microsoft.com/scriptcenter/Script-to-fix-issues-3bbe6635
When you log on to a Windows 7-based or a Windows Vista-based computer by using a temporary profile, you receive the following error message: The User Profile Service failed the logon. User profile cannot be loaded.
To resolve this issue, use the script described in this sample to remove the invalid SID registry key.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery