[THIN] Re: Unload Hung Profiles

  • From: "Magnus" <magnus@xxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Mon, 31 Mar 2003 13:14:37 -0500

Does any one have a copy of regunld.exe that they can email me off line

Much appreciated

Magnus

Magnus@xxxxxxxx



-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf
Of Steve Sullivan
Sent: Monday, March 31, 2003 9:23 AM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] Re: Unload Hung Profiles



Mark,

I think this is my post Pavlo refers to . . .

Two fixes I found for this problem:

1. Insure session sharing is working - on Wyse terminals, users MUST enter
and save their passwords in PN for session-sharing to work. This fixed 99%
of my problem. The multiple apps on different servers scenario WAS
DEFINITELY the cause of this problem for me.

2. Stay logged on to your profile server, and from My Computer, Manage,
Shared Files, monitor open files and close the PRF*.TMP's when you find
them. After an hour or two of this, you will get a handle on what file is
being locked. You'll see them pop up at just about every logoff.

The utility you refer to might be REGUNLD. I originally posted this - frees
stuck profiles by forcefully unloading a user's hive - on thethin, but I
believe MS$ asked Jim to remove it as it is for internal use only and was
not recommended.


Steve



POSTED to the list: 2/25/03

When the user logs off and the profile is written to the network, if a file
is in use and cannot be overwritten, a prf*.tmp file is created instead.
Windows retries the overwrite every 60 seconds until the file is available,
deletes the original, and then renames the prf file to the name of the file
that was in use.

This often happens to NTUSER.DAT - you can usually tell which file is
"stuck" by the location and size of the prf file - should be almost exactly
the same as the file that's in use and can't be overwritten.

This usually happens because the user did not get a clean logoff, or has a
process still running on the server, or the user has several applications
open on several servers, closes them all within 5 seconds, and now all those
servers are trying to update the same profile at the same time!

I fought with this for a long time, and finally got it settled with
session-sharing. Users get all their published apps from the same server
(the one they start Program Neighborhood from.)

Hope this helps . . .

Steve

Steve Sullivan
Citrix Administrator
BlueStar Solutions
Telephone: 623.322.6831
Mobile: 602.684.9652
Email: SSullivan@xxxxxxxxxxxxxxxxxxxxx
Pager: SSullivan@xxxxxxxxxx 




-----Original Message-----
From: Pavlo Ignatusha [mailto:pignatusha@xxxxxxxxxxxxx] 
Sent: Monday, March 31, 2003 6:06 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Unload Hung Profiles


Thanks for clarification, Jim.

I've seen this before in NT4 domain (well before I started using Terminal
services). It was a pain, for sure. I have not seen this in Win2000 yet. My
problem is with extra prf*.tmp files getting locked on the file-server where
my profiles are stored. This cause profile to fail to load/unload and user
is logged in with a generic profile. The KB articles I mentioned pertain to
this case.

Thanks again.

Pavlo

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On
Behalf Of Jim Kenzig
Sent: Friday, March 28, 2003 3:52 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Unload Hung Profiles



It has actually been a problem for several years. The profile gets stuck in
the registry and will not unload. You might start seeing .000 .001 etc put
after the profiles until you reboot your server and clear out and delete the
stuck profiles. JK -----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On
Behalf Of Pavlo Ignatusha
Sent: Friday, March 28, 2003 3:41 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Unload Hung Profiles



Mark,

Pardon my ignorance but what do you mean by "hung profiles"? The reason I'm
asking is that I work on my TS RUP issues now and I'm trying to find the
reason why some files in the profile could get "stuck" (they are marked as
opened and stay opened even if user logs off). If that's your case I may
suggest these MS KB articles:

289564
328607
186454

I also recieved a suggestion from somebody in this group that this may
happen if users are opening different published apps from different servers
and try to log off these servers all in 1 shot. That may cause profile to
corrupt.

HTH
Pavlo



-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On
Behalf Of Schill, Mark
Sent: Friday, March 28, 2003 2:47 PM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] Unload Hung Profiles


I remember using a utility that would free up hung profiles. I did a search
and can't find the utility. Does anyone know where I could find it?

Mark

********************************************************
This Week's Sponsor - Emergent Online
EOL's Universal Printer new Features include:
Network Printing, Pagestreaming, 2400 DPI.
No Client Software Required!
http://www.go-eol.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

********************************************************
This Week's Sponsor - Emergent Online
EOL's Universal Printer new Features include:
Network Printing, Pagestreaming, 2400 DPI.
No Client Software Required!
http://www.go-eol.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm
********************************************************
This Week's Sponsor - Emergent Online
EOL's Universal Printer new Features include:
Network Printing, Pagestreaming, 2400 DPI.
No Client Software Required!
http://www.go-eol.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

********************************************************
This Week's Sponsor - Emergent Online
EOL's Universal Printer new Features include:
Network Printing, Pagestreaming, 2400 DPI.
No Client Software Required!
http://www.go-eol.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

Other related posts: