[THIN] Re: Flexprofiles Not Clearing Down - CLR Security Config

  • From: Warren Simondson <caditc@xxxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Sun, 21 Dec 2008 10:25:09 +1100

Yes, you're quite right - REMPROF didn't delete stray partial profiles from the 
local drive because once a 
profile file structure has lost its core elements like NTUSER.DAT, it can no 
longer be deemed as a 
profile with any form of SID, instead it is just a clump of abndoned files.

Previously REMPROF /A would delete profiles that had no username association. 
i.e. The username had 
been deleted in Active Directory but  a profile still existed in form of a SID.

After experiencing first hand how many times profiles do not clear properly on 
exit and leave a partial 
file strcuture behind, I have modified REMPROF to also delete these abandoned 
file structures. So now 
you can clear out your documents and settings area and just keep the profiles 
that should be there.

Download the latest version of REMPROF from 
http://www.ctrl-alt-del.com.au/CAD_TSUtils.htm and run 
REMPROF /A from a command line.

You can a also schedule this to run on a regular basis.

I hope that helps everyone.

-- 
Warren Simondson

Ctrl-Alt-Del IT Consultancy Pty Ltd
Website: http://www.ctrl-alt-del.com.au




Quoting IT Support <it@xxxxxxxxxxxx>:

> Deleteprofiles.vbs works a treat and is now scheduled to run multiple
> times a day to tidy up my servers!
> 
> Thanks for the info.
> 
> N
> 
> From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
> Behalf Of IT Support
> Sent: 18 December 2008 13:21
> To: 'thin@xxxxxxxxxxxxx'
> Subject: [THIN] Re: Flexprofiles Not Clearing Down - CLR Security
> Config
> 
> Hi Jim & All,
> 
> I've already tried the new beta of uphc - no joy.
> 
> You can manually delete these folders so I'll try
> DeleteProfiles.vbs...
> 
> Thanks for all your help!
> 
> N
> 
> 
> 
> From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
> Behalf Of Jim Kenzig http://thin.ms
> Sent: 18 December 2008 13:14
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: Flexprofiles Not Clearing Down - CLR Security
> Config
> 
> Well if they are locked maybe he needs to install The User Profile
> Hive Cleanup utility.
> There is now a 2.0 beta version that releases handles quite well
> (after a registry edit) See
> 
> http://blogs.technet.com/uphclean/archive/2008/02/28/uphclean-v2-0-beta.aspx
> 
> Jim Kenzig
> Blog: http://www.techblink.com
> 
> 
> On Thu, Dec 18, 2008 at 7:46 AM, Jeremy Saunders
> <Jeremy.Saunders@xxxxxxxxxxxxxx<mailto:Jeremy.Saunders@xxxxxxxxxxxxxx>>
> wrote:
> 
> 
> 
> Are the files/folders locked by an open process/handle, or can you
> manually delete them? If they are not locked, then use Joe's
> DeleteProfiles.vbs script found here:
> http://www.theshonkproject.com/index.php?option=com_content&task=view&id=50&Itemid=30.
> My experience shows that it succeeds where Delprof and Remprof fail.
> 
> 
> 
> Cheers,
> 
> Jeremy.
> 
> 
> 
> From: thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>
> [mailto:thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>]
> On Behalf Of IT Support
> Sent: Thursday, December 18, 2008 8:46 PM
> 
> To: 'thin@xxxxxxxxxxxxx<mailto:thin@xxxxxxxxxxxxx>'
> Subject: [THIN] Re: Flexprofiles Not Clearing Down - CLR Security
> Config
> 
> 
> 
> REMPROF doesn't even remove these empty folders.
> 
> 
> 
> If I had enough hair, I would start tearing it out about now.
> 
> 
> 
> 
> 
> From: thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>
> [mailto:thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>]
> On Behalf Of
> Jacob.Maurer@xxxxxxxxxxxx<mailto:Jacob.Maurer@xxxxxxxxxxxx>
> Sent: 18 December 2008 06:09
> To: thin@xxxxxxxxxxxxx<mailto:thin@xxxxxxxxxxxxx>
> Subject: [THIN] Re: Flexprofiles Not Clearing Down - CLR Security
> Config
> 
> 
> 
> Delprof or Remprof
> 
> 
> 
> Run as a Scheduled task every few hours'
> 
> 
> 
> 
> 
> 
> 
> From: thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>
> [mailto:thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>]
> On Behalf Of IT Support
> Sent: Thursday, 18 December 2008 3:07 AM
> To: 'thin@xxxxxxxxxxxxx<mailto:thin@xxxxxxxxxxxxx>'
> Subject: [THIN] Re: Flexprofiles Not Clearing Down - CLR Security
> Config
> 
> 
> 
> Hi Joe,
> 
> 
> 
> Still no joy with the latest beta (v2.0 build 2.0.49.0 (beta)).
> 
> 
> 
> Any other suggestions?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> From: thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>
> [mailto:thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>]
> On Behalf Of Joe Shonk
> Sent: 17 December 2008 15:30
> To: thin@xxxxxxxxxxxxx<mailto:thin@xxxxxxxxxxxxx>
> Subject: [THIN] Re: Flexprofiles Not Clearing Down - CLR Security
> Config
> 
> 
> 
> Try 2.0
> 
> 
> 
> From: thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>
> [mailto:thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>]
> On Behalf Of IT Support
> Sent: Wednesday, December 17, 2008 4:30 AM
> To: 'thin@xxxxxxxxxxxxx<mailto:thin@xxxxxxxxxxxxx>'
> Subject: [THIN] Re: Flexprofiles Not Clearing Down - CLR Security
> Config
> 
> 
> 
> Absolutely. Version 1.6.30 across the server farm.
> 
> 
> 
> Kind Regards,
> 
> Jaime
> 
> From: thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>
> [mailto:thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>]
> On Behalf Of Andy Friar
> Sent: 17 December 2008 11:09
> To: thin@xxxxxxxxxxxxx<mailto:thin@xxxxxxxxxxxxx>
> Subject: [THIN] Re: Flexprofiles Not Clearing Down - CLR Security
> Config
> 
> 
> 
> I'm assuming you've got UPHClean installed?
> 
> 
> 
> Rgds
> 
> Andy
> 
> 
> 
> From: thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>
> [mailto:thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>]
> On Behalf Of IT Support
> Sent: 17 December 2008 10:30
> To: 'thin@xxxxxxxxxxxxx<mailto:thin@xxxxxxxxxxxxx>'
> Subject: [THIN] Flexprofiles Not Clearing Down - CLR Security Config
> 
> 
> 
> Hi All,
> 
> 
> 
> We're using FlexProfiles on XenApp 4.5 and have started getting an
> issue with local profiles not being deleted on logoff.
> 
> 
> 
> The orphaned profiles just contain one empty folder structure:
> 
> 
> 
> %userprofile%\Application Data\Microsoft\CLR Security
> Config\v2.0.50727.832
> 
> 
> 
> Has anyone else had this & can advise the troubleshooting steps?
> 
> 
> 
> Much appreciated.
> 
> 
> 
> 
> 
> 
> 
> BM Polyco Ltd Disclaimer
> This e-mail and the information it contains are confidential. If you
> have received this message in error please notify us immediately. You
> should not use or copy it for any purpose nor disclose its contents
> to any other party. The contents of this communication are advisory
> and are not binding on the Company unless supported by authorised
> documentation.
> It has also passed through the MailControl Anti-Virus service powered
> by BlackSpider for total peace of mind.
> 
> 
> 
> Click here<https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==>
> to report this email as spam.
> 
> 
> 
> ________________________________
> 
> AppSense provides user environment management solutions that
> personalize and optimize virtual and physical user
> environments. Whether delivered via Citrix, Terminal Server, Virtual
> Desktops, Streaming, Blade PCs or physical
> desktops, AppSense solutions ensure consistent, contextual and
> responsive environments to all users all the time.
> Find out more by visiting us at
> www.appsense.com<http://www.appsense.com>.
> 
> CONFIDENTIAL: The contents of this email and any attachments may be
> confidential. It is intended for the named recipient(s) only.
> If you are not the named recipient, please notify the sender
> immediately and do not disclose the contents to any other person or
> make
> any copies. AppSense monitors communications. AppSense Limited is
> Registered in the United Kingdom, Registration Number 3873980.
> Registered Address: 3200 Daresbury Park, Daresbury, Warrington,
> Cheshire, United Kingdom, WA4 4BU
> 
> ________________________________
> Confidentiality and Privilege Notice
> This document is intended solely for the named addressee.  The
> information contained in the pages is confidential and contains
> legally privileged information. If you are not the addressee
> indicated in this message (or responsible for delivery of the message
> to such person), you may not copy or deliver this message to anyone,
> and you should destroy this message and kindly notify the sender by
> reply email. Confidentiality and legal privilege are not waived or
> lost by reason of mistaken delivery to you.
> ________________________________
> 
> 

************************************************
For Archives, RSS, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
//www.freelists.org/list/thin
Follow ThinList on Twitter
http://twitter.com/thinlist
Thin List discussion is now available in blog format at:
http://thinmaillist.blogspot.com
Thinlist MOBILE Feed
http://thinlist.net/mobile
************************************************

Other related posts: