[THIN] Re: DelProf

  • From: "Callahan, Michael" <MichaelCallahan@xxxxxxxxxxxxxxxx>
  • To: "thin@xxxxxxxxxxxxx" <thin@xxxxxxxxxxxxx>
  • Date: Mon, 7 Mar 2005 19:57:51 -0600

That's why it is a startup script; it cleans up at boot, so you start with a
clean slate every time you start up.

-----Original Message-----
From: Joe Shonk [mailto:joe.shonk@xxxxxxxxx]
Sent: Monday, March 07, 2005 3:29 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: DelProf



So what happens when the session hangs and doesn't clean up properly or the
server crashes?  You'll start getting profiles directories with
username.domain... This can break some apps.

 

Joe

 


  _____  


From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf
Of Jim Kenzig Kenzig.com
Sent: Monday, March 07, 2005 12:39 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: DelProf

 

Wouldn't you be better off just using Flex Profiles along with UHPClean?


"Callahan, Michael"wrote:

I haven't used delprof since NT 4 days, so I don't know if it also cleans up
HKLM\Software\Microsoft\Windows\CurrentVersion\Group Policy\ and
similar reg keys. Does it?

-----Original Message-----
From: Jeff Malczewski [mailto:jeff.malczewski@xxxxxxxxx]
Sent: Monday, March 07, 2005 1:18 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: DelProf


Exactly... DelProf should be used to do this..


On Mon, 7 Mar 2005 09:24:59 -0700, Joe Shonk wrote:
> But this only cleans out the directory... How are you cleaning up the
> registry (ProfileList, GuidList, UserInstall)?
> 
> -----Original Message-----
> From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf
> Of Callahan, Michael
> Sent: Monday, March 07, 2005 8:48 AM
> To: thin@xxxxxxxxxxxxx
> ; Subject: [THIN] Re: DelProf
> 
> I use group policy to clean out cached copies of roaming profiles; I also
> have the following script set up to run at startup in group policy for my
> terminal servers as a backstop to that:
> 
> 'Start script
> On Error Resume Next
> 
> sScriptFullName = WScript.ScriptFullName
> sScriptPath = Left(sScriptFullName, InStrRev(sScriptFullName, "\"))
> Set oShell = WScript.CreateObject("WScript.Shell")
> Set oFSO = CreateObject("Scripting.FileSystemObject")
> Set oWshSysEnv = oShell.Environment("Process")
> sSysdrive = oWshSysEnv("SYSTEMDRIVE")
> 
> mstrPath = sSysdrive & "\" & "Documents and Settings"
> Set oFolder = oFSO.GetFolder(mstrPath)
> For Each oSubFolder In oFolder.SubFolders
> Select Case oSubFolder.Name
> 
> Case "All Users"
> 
> Case "Default User"
> 
> Case Else
> 
&g t; oFso.DeleteFolder oSubFolder,1
> 
> End Select
> 
> Next
> 'End Script
> 
> I recommend setting this as a startup script to ensure that you don't have
> any open file issues that would prevent the profiles from being deleted.
> This method works fine for me.
> 
> -----Original Message-----
> From: Michael Boggan [mailto:mboggan@xxxxxxxxxxx]
> Sent: Monday, March 07, 2005 9:25 AM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] DelProf
> 
> Does delprof work with Win 2000/2003 profiles? i need to create a script
to
> 
> clear out profiles before rebooting. will it work or do i need something
> else?
> 
> Thanks,
> 
> Michael Boggan
> 
> 

**********    Confidentiality Notice    **********
This electronic transmission and any attached documents or other
writings are confidential and are for the sole use of the intended
recipient(s) identified above. This message may contain information
that is privileged, confidential or otherwise protected from disclosure
under applicable law. If the receiver of this information is not the
intended recipient, or the employee, or agent responsible for delivering
the information to the intended recipient, you are hereby notified that
any use, reading, dissemination, distribution, copying or storage of this
information is strictly prohibited. If you have received this information in
error, please notify the sender by return email and delete the electronic
transmission, including all attachments from your system.

Other related posts: