The “User Profile Service service failed the logon (OSD)” error was given to me after I updated the task sequence at a customer a while back. The only thing updated was a new core-image with the latest updates and a new package for Internet Explorer 11.
Other clients that were installed with the older task sequence stilled work and clients that were in use that had gotten the updates stilled worked, so this lead me to the package for IE 11. The installer was created using IEAK 11, described HERE, and as I thought this was the application causing the issue.
When creating a new package using IEAK, there is a bug, that prevents the default profile from loading correctly and a specific file from being copied. The file is named “iesqmdata_setup0.sqm” and is located somewhere under C:\Users\Default\. It seems the complete path is different on every system, but removing this file will solve the issue.
To verify that this is causing the error, you could check the event-viewer and look for the error code 1509.
To solve the issue, I put the following PowerShell script after IE 11 was installed to search for the file and remove it.
$filePath = "C:\Users\default\" $fileName = "iesqmdata_setup0.sqm" $item = Get-ChildItem -Recurse -Force $filePath -ErrorAction SilentlyContinue | Where-Object { ($_.PSIsContainer -eq $false) -and ( $_.Name -like "*$fileName*") } $file = $item.FullName Remove-Item $file -Force
This is a bug, something that I hope MS will fix. I’ve seen this error from IE 9 and forward.
Pingback: Deploy IE 11 using SCCM 2012A guide to Microsoft Products
this is just what I was looking for, thank you for the post.
Just one thing…. how did you add the PS script in the application in SCCM?
thank you
Glad to hear that it helped!
You can add the file to a package and at the command line specify:.ps1″
“powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File .\
(The same if you use an application, but then you need something as a detection method)
Good morning, I am starting to see this error now that IE has been deployed. I am kinda new at using this and PS. Can you explain how to run that script or even add it to the deployment package in laymens terms? thank you
Hi Robert!
The easiest way, depending on how you deploy IE, is to either push it through GPO (If there is a user that is able to logon).
Or you could create an application/package to run with the following line:
powershell.exe -ExecutionPolicy Bypass -file script.ps1
Set this to run after the initial deployment of IE has run.