[THIN] Deleting Stuck profiles - ok not so easy

  • From: Mario Villarreal <MarioV@xxxxxxxxx>
  • To: "'jimkenz@xxxxxxxxxxxxxx'" <jimkenz@xxxxxxxxxxxxxx>
  • Date: Tue, 13 Aug 2002 21:23:05 -0700

Hello Jim
Thanks for replying.  Unfortunately that didn't work for me.

Running W2K Servers w/ MF 1.8 in an NT4.0 Domain
Our Servers have three partitions
x:\ is for support/utility files
y:\ is our system drive also where profiles are stored
Z:\ is our programs drive

I saved our profile script in our scripts directory on drive x:  I ran the
script from a command prompt and all went through with no errors.  However,
the profiles did not delete.  Thinking that the script (and accompanying
utilities) would have to be in the same directory as the profiles, I copied
them over and ran it again.  Nothing.  I looked on the M$ website and found
the syntax and parameters and tried them, still nothing.

So now my question is... does DELPROF.EXE look for a variable for the proper
directory? 
I've copied the script below just in case.
I'm VERY appreciative for your help
Mario

THIS IS THE SCRIPT

@echo
REM This batch file gets rid of stuck profiles.
x:\scripts\regunld.exe >> x:\scripts\regunload.log
echo y | delprof.exe
:END

I've also tried 
x:\scripts\DELPROF.EXE /y

Thanks again

-----Original Message-----
From: Jim Kenzig http://thethin.net [mailto:jimkenz@xxxxxxxxxxxxxx]
Sent: Tuesday, August 13, 2002 6:05 PM
To: MarioV@xxxxxxxxx
Subject: RE: [THIN] Deleting Stuck profiles - easy...I hope


Create a script using delprof (http://thethin.net/delprof.zip) and the below
utility (link may wrap)

http://thethin.net/thincd/adm%20templates%20Policy%20and%20Profile%20Utiliti
es/Unload%20Hung%20Profiles/regunld.zip

EG
regunld
echo y | delprof.exe

Regards,
Jim Kenzig
http://thethin.net


-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On
Behalf Of Mario Villarreal
Sent: Tuesday, August 13, 2002 6:07 PM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] Deleting Stuck profiles - easy...I hope


Hello
We have an issue with roaming profiles not logging off properly.  I KNOW I
KNOW...(check the archives)  But hear me out.
We have the registry set to delete all copies of roaming profiles, and under
most circumstances, they delete just fine. However, at times when a users
session is reset (after being idle for 4 hours) or the computer hangs, the
profiles will stick.  I downloaded the script that unlocks the registry for
those profiles.  I can them manually delete them by right clicking on My
Computer then going into the profiles tab.  My question is, is there a way
to automate the deletion of the profiles within x:\Documents and Settings ?
I obviously can't write a script to delete the contents because then the all
users directory would be deleted.
Any suggestions or links that might assist me?
Thanks in advance
Mario




===================================
This weeks Sponsor:
ThinPrint
- High resolution, DRIVER FREE PRINTING with no loss of quality in color.
- Removes print spooling and rendering tasks from your terminal server.
http://www.thinprint.com
===================================
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm


===================================
This weeks Sponsor:
ThinPrint
- High resolution, DRIVER FREE PRINTING with no loss of quality in color.
- Removes print spooling and rendering tasks from your terminal server.
http://www.thinprint.com
===================================
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm

Other related posts: