Help!

User Profile Failed At Logon


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions RSS
Next:  Eudora  
Author Message
ianc1505
External


Since: May 31, 2007
Posts: 8



PostPosted: Wed Aug 08, 2007 6:38 am    Post subject: User Profile Failed At Logon
Archived from groups: microsoft>public>windows>vista>general (more info?)

I also have this problem.

I am the only user of a standalone PC running Vista Home Premium.
There is only one account set up (mine). I am Administrator. I have turned
off Guest Account long ago.
I attempted to set up a Standard account for my wife so that she can
download and view her digital photos without fear of her changing any other
settings. I used Control Panel / User Accounts / Manage Other Accounts / Add
Account
Although the account appears to be set up OK at this point, when I log off
as myself and try to logon as my wife, or reboot and attempt to sign in as my
wife, I get the message "User Profile Service Failed at Logon" - "Logon
Denied".
I can still log on OK as myself - Administator.

I have deleted my wife's account and added it again a couple of times, still
no good. I have turned Guest account on & off, this doesn't affect it either.

I have turned User Account Control On & Off; again still no luck.

I really do need your helpful ideas please.

Thanks in advance.
Back to top
Andrew McLaren
External


Since: Jun 28, 2007
Posts: 429



PostPosted: Thu Aug 09, 2007 2:17 am    Post subject: Re: User Profile Failed At Logon [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Ian,

I'm not sure exactly how to fix your problem. But here are some things to
check ... might fix it, or at least give you some ideas ...

The user profile is stored in some files under C:\Users\<username>. These
files need to be present in order for the User Profile Service to make the
logon; if they are missing, you will see the "failed the logon" error
message. Log in as Admininistrator and go to a Command prompt. Change
directory to your wife's home directory; eg:

C:\Users\Ian>cd \Users\Wife <enter>
C:\Users\Wife

Now ro a "dir /a" command to see the hidden files in the directory. The most
important Profile file is called NTUSER.DAT.

Next, make sure the Profile entry in the Registry is pointing towards this
directory.
- run Regedit
- navigate to HKEY_LOCAL_MACHINE
\Software
\Windows NT
\CurrentVersion
ProfileList
There are Profile entries for each user account, identified by the SID
("Security Identifier"), a long number beginning S-1-5-nn-xxxxx- etc. For
interactive (human) users, nn will be 21, ie, S-1-5-21-xxx etc.

The built-in Administrator account's SID ends in -500. Other accounts will
end in random four digit numbers. There will probably be 2 or 3 Profiles
listed - one for your own account, one for your wife, and the old account
your wife used to have. See if you can work out which Profile belongs to
your wife.

Now examine the ProfileImagePath value, under your wife's Profile key. This
should be pointing towards her Home directory, where the NTUSER.DAT file
lives; eg C:\Users\Wife. If it is set to some other location, such as a
temporary directory or strange path, change it back to the default
C:\Users\Wife value. Then exit Regedit, logoff, and try to logon as your
wife.

You might also want to go to Computer, Properties, Advanced System Settings,
User Profiles, and delete any "(unknown)" user profiles, in case there is
left-over crud from unsuccessful attempts to create a user.

Hope this helps a bit; let us know how you get on.

--
Andrew McLaren
amclar (at) optusnet dot com dot au
Back to top
ianc1505
External


Since: May 31, 2007
Posts: 8



PostPosted: Thu Aug 09, 2007 2:17 am    Post subject: Re: User Profile Failed At Logon [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Andrew
Thanks.
I think that we're heading in the right direction....

As I stated before, mine is the only account on the PC ( I deleted Public
completely some months ago because I could see no need for it).
When I create a new Standard account (eg "Karen"), although it appears to
create properly (ie creates an icon on the sign on screen), there are no
entries created in C:\Users; only C:\Users\Ian exists.
Therefore there is no NTUSER.DAT file for my wife.

How do I create a new file (or can I copy and amend the one in my profile?
If so, what is the best way?)

Is therte any way to copy and amend my Profile entry in HKEY_LOCAL_MACHINE \
Software \Windows NT \CurrentVersion\ ProfileList to add a user that way? I
am not very clued up on Registry manipulation, and will need to be given a
step - by - step guide.

Any ideas anyone?
"Andrew McLaren" wrote:

> Hi Ian,
>
> I'm not sure exactly how to fix your problem. But here are some things to
> check ... might fix it, or at least give you some ideas ...
>
> The user profile is stored in some files under C:\Users\<username>. These
> files need to be present in order for the User Profile Service to make the
> logon; if they are missing, you will see the "failed the logon" error
> message. Log in as Admininistrator and go to a Command prompt. Change
> directory to your wife's home directory; eg:
>
> C:\Users\Ian>cd \Users\Wife <enter>
> C:\Users\Wife
>
> Now ro a "dir /a" command to see the hidden files in the directory. The most
> important Profile file is called NTUSER.DAT.
>
> Next, make sure the Profile entry in the Registry is pointing towards this
> directory.
> - run Regedit
> - navigate to HKEY_LOCAL_MACHINE
> \Software
> \Windows NT
> \CurrentVersion
> ProfileList
> There are Profile entries for each user account, identified by the SID
> ("Security Identifier"), a long number beginning S-1-5-nn-xxxxx- etc. For
> interactive (human) users, nn will be 21, ie, S-1-5-21-xxx etc.
>
> The built-in Administrator account's SID ends in -500. Other accounts will
> end in random four digit numbers. There will probably be 2 or 3 Profiles
> listed - one for your own account, one for your wife, and the old account
> your wife used to have. See if you can work out which Profile belongs to
> your wife.
>
> Now examine the ProfileImagePath value, under your wife's Profile key. This
> should be pointing towards her Home directory, where the NTUSER.DAT file
> lives; eg C:\Users\Wife. If it is set to some other location, such as a
> temporary directory or strange path, change it back to the default
> C:\Users\Wife value. Then exit Regedit, logoff, and try to logon as your
> wife.
>
> You might also want to go to Computer, Properties, Advanced System Settings,
> User Profiles, and delete any "(unknown)" user profiles, in case there is
> left-over crud from unsuccessful attempts to create a user.
>
> Hope this helps a bit; let us know how you get on.
>
> --
> Andrew McLaren
> amclar (at) optusnet dot com dot au
>
>
>
Back to top
Andrew McLaren
External


Since: Jun 28, 2007
Posts: 429



PostPosted: Thu Aug 09, 2007 6:09 pm    Post subject: Re: User Profile Failed At Logon [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> When I create a new Standard account (eg "Karen"), although it appears to
> create properly (ie creates an icon on the sign on screen), there are no
> entries created in C:\Users; only C:\Users\Ian exists.
> Therefore there is no NTUSER.DAT file for my wife.

Gee. That's weird. Okay well, that would certainly explain the "User Profile
Failed for logon" error! When a user is created, Windows *should automically
create a User directory for them and install a blank NTUSER.DAT. If the
directory didn't get created then there can be no user profile for that
user.

The new user's home directory get's created based on the template of the
"Default" user; C:\Users\Default. This directory is normally hidden. If you
go to a command prompt and run the command:

C:\Users>dir /a

do you see a Default directory listed, as well as the Ian directory?

> How do I create a new file (or can I copy and amend the one in my profile?
> If so, what is the best way?)

It is a pretty complex operation. If Windows cannot create it automatically,
it would be difficult (and error-prone) to craft one by hand. But let's make
sure Default exists, first.
--
Andrew McLaren
amclar (at) optusnet dot com dot au
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum