Jump to content

Recommended Posts

Posted

Just had the 2nd occurrence of this issue. Particular user on a particular machine getting "User profile cannot be loaded" etc. They work fine on any other machine.

One user, a teacher has UEV enabled thus they don't have a profile set in AD. The other this morning was a student running of a mandatory profile; both reasons why the profile itself is AOK.

 

The local profiles delete as per group policy on restart or shutdown of the computer which appears to work well; their profile in c:\users is deleted and is the SID is removed from the profilelist in registry.

 

The fix was to hunt through the registry for the username and delete all occurrences, notably:

 

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\SessionData (the one I think is causing the problem)

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State

Computer\HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2

 

So it's clear the profile deletion isn't complete by any means.

 

I can probably knock up a script to remove any keys within SessionData but that seems a bit drastic and I'm sure there's a simpler solution. Has anyone come across this please?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...