Avatar of Jsmply
Jsmply
 asked on

Win2k8 keeps hanging on "Please wait for the user profile service"

Hi Everyone,

Our server 2008 box keeps hanging on "Please wait for the user profile service" when logging on or off, even locally.  Occasionally while signing on and off via TS you get the message that the terminal server is busy processing another request as well.

Done some google searching, can't find anything out of the ordinary.  The user profile service issue can occur even when no one is logged in via TS so although they may have a common cause, they can orruc independent of one another.  

Nothing really changed on the box recently.  This did occur a long time ago and seemed to resolve itself, but now it's back and happening almost daily.   it's used very infrequently and is not a Domain Server, it's actually not even presently joined to a domain.  

There is only ONE nic on this server (I mention that because a lot of other google results yielded two nics and an improper binding order as a cause).

Any input would be appreciated.
Microsoft Server OSWindows Server 2008Windows OS

Avatar of undefined
Last Comment
Jsmply

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
sAiyAnstAr

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Jsmply

ASKER
Hi,

The event logs don't show anything of interest.  This server was never a doman member.  It just runs some databases, nothing unique.  That's why it's so puzzling.
SOLUTION
Tony J

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Jsmply

ASKER
Hi Everyone,

Yes it's a production machine, but we can reboot it when needed (and can do daily after hours if necessary for troubleshooting, etc).  So far we have determined that a reboot does indeed fix the problem in the sense that we can login again, but after the first login or two the problem returns and the box gets locked (no real rhyme or reason we have identified yet as to which login is the magical one that triggers it).

As for a process being stuck, it's possible (or even likely) but seems odd that nothing has really changed on the server and its been running the same setup for a few years now.

We will have to look into the chkdsk possibility on next reboot, probably over the weekend.  
Tony J

I think this is a process locking the user profiles.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Tony J

The CitrixTools XenApp session cleaner is a good alternative to UPHClean and runs on 2008 variants.

It is also free:

http://www.citrixtools.net/Default.aspx?id=6&tabid=63

Registration (free) required for download.
Jsmply

ASKER
Tony: It happens on local logins also though, not just TS.  Anotherwords a fresh reboot of the box, no TS connections.  It can occur after a few terminal logins.  Is UPHClean related only to TS issues?
Hypercat (Deb)

No, UPHClean is not just related to terminal server sessions.  I'm not familiar with the Citrix tool, though, and according to a previous post, UPHClean isn't compatible with Server 2008.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Jsmply

ASKER
Thanks.  Any obvious things we can check to see if this is is needed?  I recall UPHClean helping with some issues of access denied messages in the event log, not seeing that though.
Hypercat (Deb)

It was generally associated with situations where a user profile would get corrupted in some way during logoff.  This happens usually because of a process that is still running so that the user's registry hive can't be closed properly when they log off.  To be honest, I can't think of any useful way to try to troubleshoot the specific process if you're not actually getting an error message during logoff, or if there aren't any errors in the event logs. You could simply try installing UPHClean on the server if it will even install on Server 2008 and see if it seems to resolve the issue.
Tony J

Sorry meant to add that the alternative tool I pointed to (used to) work with pure RDS - Citrix not being a pre-requisite.

However, they've updated it since so I have to caveat it.

It certainly won't hurt and the symptoms you describe align perfectly with it.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Jsmply

ASKER
Very odd, it seems to be getting stuck in more and more situations.  Today for example, their are Windows Updates that need to be applied and machine needed to be restarted.  Went ahead and restarted and it's been stuck on installing update 7 for about 2 hours.  We will let it go though and see if it eventually restarts.

Jsmply

ASKER
Okay found something in the registry.  Looked on via the console session while logging off an RDP session.  Found a message that a printer might be causing an issue?  Not sure what would be causing it though, no physical printers are connected, just the normal XPS writter and another image writter.  They have been installed for years.  

\REGISTRY\USER\S-1-5-21-xxxx-xxxx-xxxxx-xxxxx-xxxxxx\Printers\DevModePerUser

Substituted the x's only because didn't write that part down exactly before shutting down for the day.  Can grab it tomorrow if it actually mattered.  
Jsmply

ASKER
Oh and looked in the registry under that area, the exact user doesn't exist, and all the similiar ones don't show anything out of the ordinary in the printers\devmodeperuser
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Jsmply

ASKER
It seems like the issue was resolved by disabling the redirection of client printers in the RDP configuration.  Since doing that, no further hang ups have occurred.

Can anyone suggest a way to distribute the points fairly?
gheist

It was your idea to disable redirection... You give some points to people who helped with ideas, and grant most for your last comment.
Jsmply

ASKER
It wouldn't let me award points to my comment, that's fine though.  I'd prefer to share them.  Thanks everyone for the input.  Seems every answer was right under certain circumstances.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23