M
M
mikhanoid2011-05-14 13:26:15
Windows
mikhanoid, 2011-05-14 13:26:15

Why does the User Profile Service in Windows 7 fail to log in and how can I fix it?

The situation is this: I have Windows 7 Professional, licensed. I bought it in anticipation of DXHR in order to play normally in my favorite cyberpunk since childhood. In the meantime, the game has not been released, it is used to debug and rewrite applications that are purely applications that I write myself, which do not go anywhere further (relatively speaking) ordinary mutexes, threads, processes, files and sockets, during testing I actively read the documentation in Internet. But I myself am a Linux-oid, and therefore I rarely go into W7.
And so, sometimes I live in this Windows 7, I update regularly and I’m even glad that these are great fellows at Microsoft, the system has never even crashed or hung, it pleases with the speed of work, antiviruses, firewalls, and in general you can even live ... Apparently, overpraised.
Yesterday, after the next update, I found out that I can't create files in my Documents. The system began to happily report that they say Permission denied, enter the administrator password ... Well, okay, I think, maybe I accidentally spoiled something, I clicked the wrong checkbox somewhere, it happens. I don’t have anything valuable in the user profile, so I took it down without thinking too much (naturally, through the control panel and deleting the user, otherwise you never know what), so as not to suffer later.
Then, I created a new user... And this strange behavior began: when I click on the icon of a freshly created standart user on the Logon screen, the system writes: The User Profile Service service failed the logon. User profile cannot be loaded.
Well ... I thought, it happens, Windows is the same. I put him -1 in karma mentally, and went to look for a solution. It seems that I found it: support.microsoft.com/kb/947215 - but here's the problem: nothing from what is described there helps. But it says about some Group Policy settings… Hmm, I think, however… I definitely didn’t go there and didn’t change anything, and in general it says on the Microsoft website that there is no such thing in Windows 7 Professional, but it is only in Enterprise and Ultimate versions .
And now it's completely not clear what could be the problem? As a Linux-oid, I can’t even imagine such behavior of the system: when an account is successfully created, but the system cannot use it in any way - and is not able to understand in which direction to dig, that is, I have complete frustration, lack of mental models of what is happening, and a complete misunderstanding of what keywords to look for a solution to the problem. I can't even find anything in the Registry related to the newly created user. It's not even in the list of SIDs - it's absolutely mysterious for me: how can you create a user, but not assign an identifier to him? .. Directly mysticism.
Therefore, all my hopes are for the Habra community (I looked in other communities, they just repeat the recipe from Microsoft in different versions). What to do, where to look, what to look for? Not under the administrator to start up your glitchy programs and roam the Internet.
PS Or, it would be easier to demolish this Windows (it's a pity for the money, of course, but ... it's just ... such a bummer is not childish) and hope that when DXHR comes out, it will start under WiNE too? .. The 2nd parts of Starcraft work there and Portal.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
B
benipaz, 2011-05-14
@benipaz

the easiest way is to reinstall the vents :)
you can try system restore. in the seven he works very well. but of course it's better to reinstall :)

O
Oleg, 2011-05-14
@Bahusss

> The system began to happily report that they say Permission denied, enter the administrator password ...
I don’t remember something that 7 at least once requested the administrator “password”, usually you just need to press the button on the UAC window. Is that really a windows window?
>But it says about some Group Policy settings... Hmm, I think, however... I definitely didn’t go there and didn’t change anything, and in general, on the Microsoft website it says that there is no such thing in Windows 7 Professional, but it is only in Enterprise and Ultimate versions.
Well, this is not true - gpedit.msc is also in the Professional version.
> I even in the Registry can not find anything related to the newly created user.
Microsoft understands the problems of Linux users when using alternative operating systems, so they made a big FixIt button in the article, by clicking on which an msi file is downloaded, which should fix the problem automatically when it starts - have you tried it?
It seems to me that the root of the problem is that someone (or something) has changed the access rights to the Users folder where user profiles are stored. There should be Administrators with all possible rights and Users and Everyone with read rights.

F
fluxion, 2011-05-14
@fluxion

“Yesterday, after another update, I found that I can’t create files in my Documents. The system began to happily report that they say Permission denied, enter the administrator password ... ”- well, they would have given these rights, perhaps this would have solved the problem. Folder Options -> Security. Why immediately demolish the profile, it is not clear.
And now it's really better to rearrange from scratch.

F
fluxion, 2011-05-14
@fluxion

Damn, already sent a message and remembered what should have been added: my experience shows that it is better to create a user with admin rights, log in under him and if everything went fine, rearrange his rights to user. Did you do the same or did you create the user right away?

I
Ivan Tikhonov, 2011-05-15
@polym0rph

No, if the newly created user cannot log in, then it is most likely not in the rights to the folder that matters. Firstly, you need to get into the logs and see what errors Windows throw up in the System log. If there is nothing interesting, then climb to look for information on the update that was downloaded.
Maybe what services were disabled, antivirus or some other software recently installed? Are you logging in in safe mode? In general, there is where to dig, I would even be interested. If time is a pity, then under demolition. Purely on updates, I have not yet caught such a glitch for 7 on any machine.
I only encountered the rights to the folder and the inability to log in under a new user, but there, as I later found out, the previous very lazy paranoid admin removed all inheritance and set rights to all folders, including system ones.

M
Mikhail Shevtsov, 2011-05-15
@mshewzov

The User Profile Service service failed the logon. User profile cannot be loaded.

And what about the User Profile Service settings? Apparently, it could not start due to an error in its own login. Maybe she's trying to run from the wrong user? It must be run under the system account.

M
Mikhail Shevtsov, 2011-05-27
@mshewzov

Is the LocalSystem profile intact? You can try to check the following registry branches (and at the same time the presence of their files). Registry branch "HKEY_USERS\S-1-5-18" - "%SystemRoot%\System32\config\systemprofile\NTUSER.DAT" (refers to the system account).
Plus, there is an inaccessible part of the registry. Inaccessible, as I understand it, to anyone other than the system account. Because I don’t see it from under the admin, there is just all the info about activation there. Perhaps there is something damaged.
Have you tried a system restore yet? You can try to just restore the registry. Backup copies of the DEFAULT, SAM, SECURITY, SOFTWARE, and SYSTEM registry files are located in the "%SystemRoot%\System32\config\RegBack" folder. Typically, backups are made once every 10 days. Therefore, if the system is younger than 10 days, then they will not be.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question