Advertisement

09.23.2008 at 06:42AM PDT, ID: 23754877 | Points: 500
[x]
Attachment Details

Profile not being unloaded at log off

Asked by stonneway in Windows 2003 Server, Remote Desktop/Terminal Services

Tags: , ,

Hi,

We have a user on a 2003 TS box who has a problem logging on each morning. They get the standard warning about the profile not loading and get presented with a temp profile.

What appears to be happening is that their NTUSER.DAT file is in use, and so the system cant instate their roaming profile from the server.

The userenv.log with verbose debugging turned on shows;

09:48:20:692 ReconcileFile: Failed to delete file <C:\Documents and Settings\<username here>\NTUSER.DAT> with error = 32

I've used Process Explorer to look at the handle for that file, and it is in use despite the user not being logged on at the time. The process that's using it is apparently 'system' but I've gone through all of systems sub-processes and can't see any of them that have an active handle to the ntuser.dat file in question.

I've also installed User Profile Hive Cleanup which has proven to be about as much use a chocolate tea-pot really. The only time I ever get any action from it is when I restart the service, and even then it doesn't meantion anything about this user or their profile. I've turned on Callstack logging but it's been a week now of this user not being able to log on each morning and so far UPHClean hasn't logged a dicky-bird.

Does anyone else have any idea as to how I can find out what is keeping this file open after the user logs of? Rebooting the server and kicking off the other 20 users ceased to be an option after day 2.

Olly
Start Free Trial
[+][-]09.26.2008 at 01:01AM PDT, ID: 22577444

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.26.2008 at 07:07PM PDT, ID: 22585238

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_2_20070628