#116411 - 2004-03-19 12:45 PM
Delete hung profiles from my terminal servers
|
Curious
Getting the hang of it
Registered: 2004-02-16
Posts: 61
|
Hey!
I use kix 4.22 and have a problem with users who log on our terminal-servers and log off. Occasionaly their profile doesn't delete. This is a common problem I see on the net, and we'we done quite some things to solve this.Things are better, but the problem occurs now and then. What I was thinking to do, was to use kix to check the server when the user log on their local machine (before terminalserver is launched) and then delete the directory. Then the problem of files being in use is gone - as the user have logged off the day before (probably), and the dir can be deleted.
One of my main problems is that most our comp's use Win-95, and the rd/rmdir/del isn't sufficient, as the profile-directory contains both hidden and system-files.I also thought of using attrib -h -r, but was hoping to find an easier way of doing this (don't know if this will solve it either).Also the kix del command has problems doing what I want. Rd/rmdir for 2000 would have solved this easily, but it isn't a way to run this command on the win-95 comp I suppose.
In addition - can anyone tell me exactely what the '>nul 2>nul' does? Why isn't '> nul' sufficient?
Look forward to good hints and tips. And as I am quite a newbie, plz spell it out to me
Jon
_________________________
I was placed on earth to do a job. Right now I have so much to do, I will never die..
|
|
Top
|
|
|
|
#116413 - 2004-03-19 01:31 PM
Re: Delete hung profiles from my terminal servers
|
Curious
Getting the hang of it
Registered: 2004-02-16
Posts: 61
|
Yea, I know that! I forgot to mention that I restart all our term-servers every night, that's why the profile is possible to delete without jerking with processes and registry.
Our local experts has been involved in trying to solve this issue, but they couldn't help us any further. I've used a tool named uphclean - made by a microsoft-engineer, but as I said, still not 100 %.
What is a fact, is that sometimes when a totally new profile is generated, the profile is ok under documents and settings on the respective term-server, but when the user logs off, (takes more than 10-15 secs), this is a symphtom that the system doesn't manage to write the roaming profile back to our fileserver. And this has 100% certain nothing to do with local rights on this server. By the way.. we also use citrix on out term-servers. And you know.. we can't always be there to log off a hung user through server manager as the user's are way to inpatient to wait for our help. But this is correct, this "fixes" most issues for this user. What I want to do, is fix the other problems, regardless of what caused it - as long as the profile is still hung.
The delprof-tool I have noticed, and was thinking of using this, but as you said yourself, it doesn't seem 100% reliable.
What do you propose to use as household-tools? Besides the delprof-tool?
Jon
_________________________
I was placed on earth to do a job. Right now I have so much to do, I will never die..
|
|
Top
|
|
|
|
#116415 - 2004-03-19 02:28 PM
Re: Delete hung profiles from my terminal servers
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Here is something that we use with two Citrix boxes that are a little elderly and do not have enough space..
Re- Help with folder cleanup
What we do is look for profiles that are over two days old and remove these.
We have been using it about two weeks now and is working great..
Just uncomment out the line to RD /S /Q.. You should then be off and rolling. If you have a "Documents and Settings", you will need to change to that folder as well.
Kent
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|