Monday, May 21, 2018

Cannot Create Any Account on Windows 7 - User Profile Service failed the logon. User profile cannot be loaded


I have run this weird problem of not being able to create any users. It began with the idea of creating new user for gaming. Before that I had 2 Admin accounts, 1 normal password protected account, 1 guest accout (not protected for frieds) - and some several hidden services for Xampp Services. And never had such a problem anymore.


I have created a new user and put a password from my normal user (with UAC asking for an admin-password). Tried to switch to newly created user and had this error (in german on my pc):
User Profile Service failed the logon. User profile cannot be loaded.


I have done some research and found out there is a solution for this but mostly people experienced it with an existing already-in-use account, where they could delete the entry in the registry/transfer files etc.


This does not work in my case as there NO registry entries in profilelist and there is NO folder for the user. The only trace of this newly created account is that it appears in the login screen of windows.


So I had the idea to see what particular error message there is, which is timely overlapping with logging into that account and I have found these 2 errors (translation found on the net):


"Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off."


"Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, and that your network is functioning correctly." (I think this is because it tries to login with TEMP account but does not succeed that too!)


I also get several warnings:
"The Winlogon notification subscriber Profiles failed a critical notification event."


"Die Datei \?\C:\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\desktop.ini konnte nicht nach \?\C:\Users\Gamer\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\desktop.ini kopiert werden. Mögliche Fehlerursachen sind Netzwerkprobleme oder nicht ausreichende Sicherheitsrechte.


Details - Zugriff verweigert" (did not find any exact translation but it says that the file cannot be copied and access denies)


So therefore I was wondering what the problem was and looking for answers. Finally I have found this about security rights of the folders. (sorry it is in german)


So I have started to investigate the security rights of all those files, which could not be copied. All of them were inaccessible by the Administrators!


So I have changed the ownership of those files to administrators and gave the permission to them and everyone. After this step I could log in and both the folders and registry keys were created.


When I have started with this text I didn't know the solution so I have decided to keep writing and share. I did not know why suddenly the problem occured so I cannot trace it back to prevent it happening again.


PS: Windows 7 Home Premium, all updates installed.


Answer



I have started to investigate the security rights of all those files, which could not be copied. All of them were inaccessible by the Administrators!


So I have changed the ownership of those files to administrators and gave the permission to them and everyone. After this step I could log in and both the folders and registry keys were created.


When I have started with this text I didn't know the solution so I have decided to keep writing and share. I did not know why suddenly the problem occured so I cannot trace it back to prevent it happening again.


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...