Brian Madden Logo
Your independent source for application and desktop virtualization.
advertisement

Roaming profile leftovers, in the Profiles / User Environment forum on BrianMadden.com

rated by 0 users
This post has 8 Replies | 5 Followers

Top 150 Contributor
Points 1,470
Jeff Husband Posted: Mon, Apr 23 2007 12:54 PM
I'm having an issue with roaming profiles not clearing off the system totally. I've got UPHClean running and I'm getting 1401 errors in the event log. I haven't found a pattern to the errors and the left over profiles. As far as the leftovers, they are Temporary Internet Files. One of the files is hashfile.dat in the offline folder.

Eg:

M:\Documents and Settings\awells\Local Settings\Temporary Internet Files\NE6HJ6UT\WF1AXSJI\Offline\hashfile.dat

Has anyone out there run across an issue like this?

TIA
  • | Post Points: 50
Top 50 Contributor
Points 4,705
Saw this behaviour a while ago, back then it was a virus scanner. No other then Mcafee, which goes without saying.. sigh
  • | Post Points: 20
Guest replied on Wed, May 2 2007 4:36 PM
[quote=Ton Siemons]Saw this behaviour a while ago, back then it was a virus scanner. No other then Mcafee, which goes without saying.. sigh
[/quote]

Is the Citrix Community not a large fan of McAfee? What do you recommend for servers running Citrix?
  • | Post Points: 35
Top 10 Contributor
Points 88,175
McAfee is absolutely great. It will prevent your computer from getting infected, it will protect it. Now actually being able to do work on the box...that's a different story...

[quote=Guest][quote=Ton Siemons]Saw this behaviour a while ago, back then it was a virus scanner. No other then Mcafee, which goes without saying.. sigh
[/quote]

Is the Citrix Community not a large fan of McAfee? What do you recommend for servers running Citrix?[/quote]
  • | Post Points: 5
Top 75 Contributor
Points 2,325
Just reboot the server at night and run a script to get rid of all old profile directories.
mcse, rcp, ccna, ccsp, cca, ccea, ccia 4.0, cca 4.5 etc :-)
  • | Post Points: 5
Top 10 Contributor
Points 21,323
[quote=Guest]

Is the Citrix Community not a large fan of McAfee? What do you recommend for servers running Citrix?
[/quote]

I would recommend TrendMicro. Been using it for years with zero issues on terminal servers.

Rudy

  • | Post Points: 5
Not Ranked
Points 20

I've had this same problem with our Windows 2003 SP2 Terminal Server and I finally figured out the issue.  It turned out to be the Indexing Service.  By using a program called Handle, I was able to figure out that the process cidaemon.exe (Indexing Service) was keeping a lock on the hashfile.dat when the server was trying to delete the roaming profile cache.  We did not need the indexing service on our terminal server, so I've disabled it.

Here is how I went about finding this problem (Just in case another process is the culprit).  Download the handle (http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx).  This CLI problem will display all of the files currently locked by Windows and what process is locking it.  There is a lot of information displayed be default.  The easiest way I found to do it is to pipe the output to a text file and open it in notepad and then search for the file that you cannot delete (Run command "handle >output.txt" and open output.txt in notepad).

Make sure that you can't delete the file(s) from Explorer first.  This will test and see if the file is actually locked.  I had a hard time fiquring this out because after X amount of time, the cidaemon.exe process released the file, and I was able to manually delete these, but I was still bothered by what was causing the system not to be able to delete the entire profile when a user logged out.  

Hope this helps!

Brantley

 

 

  • | Post Points: 20
Top 200 Contributor
Points 1,080

I was able to stop the Indexing Service and then delete these files.  Does anyone know of a different way to resolve this problem?  We need the Indexing Service to run to be able to search for files from the Citrix servers. 

At one point I thoughtto help profiles log off, not sure if this will work with a Service  you could enter in the name of the executbale in this registry entry though.  Does anyone know if this works?

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI]

"LogoffCheckSysModules"="cidaemon.exe"

  • | Post Points: 20
Not Ranked
Points 349

I can confirm that the reg key method will absolutely work - as for cidaemon.exe, i can't respond :) I've never tried that specific exe. If this is a proveable method - it would be best managed through GPO's, unless you dont mind individual server management of this.

  • | Post Points: 5
Page 1 of 1 (9 items) | RSS