I too would like a copy of your script, perhaps you could post it on the thin, with Jims permission of course;-) On Tue, 29 Mar 2005 09:20:39 -0500, Pavlo Ignatusha <pignatusha@xxxxxxxxxxxxx> wrote: > Michael, > > I would appreciate a copy of your script as this looks very interesting. I'm > using UPHclean but still run into profile issues every so often. > > Thanks, > > Pavlo Ignatusha > Systems Network Coordinator > Pembroke Regional Hospital > tel. (613) 732-3675 #6150 > fax. (613) 732-9986 > pignatusha@xxxxxxxxxxxxx > > > -----Original Message----- > From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On > Behalf Of Callahan, Michael > Sent: Monday, March 07, 2005 2:26 PM > To: thin@xxxxxxxxxxxxx > Subject: [THIN] Re: DelProf > > There is a section in the script that does that; I prefer it to delprof, > since I've had mixed results with that util. With the script I have more > control. If anyone wants to see the whole script let me know and I'll send > it. > > -----Original Message----- > From: Joe Shonk [mailto:joe.shonk@xxxxxxxxx] > Sent: Monday, March 07, 2005 10:25 AM > To: thin@xxxxxxxxxxxxx > Subject: [THIN] Re: DelProf > > 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 > > 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 > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today - it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > ******************************************************** > This Weeks Sponsor: RTO Software TScale > TScale provides a cost-effective way to improve performance, capacity and > stability for thin-client servers like Citrix MetaFrame or Microsoft > Terminal Services running Windows NT, 2000 or 2003. > http://www.rtosoft.com/enter.asp?id=296 > ********************************************************** > Useful Thin Client Computing Links are available at: > http://thin.net/links.cfm > ThinWiki community - Excellent SBC Search Capabilities! > http://www.thinwiki.com > *********************************************************** > For Archives, to Unsubscribe, Subscribe or > set Digest or Vacation mode use the below link: > http://thin.net/citrixlist.cfm > > ********** 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. > ******************************************************** > This Weeks Sponsor: RTO Software TScale > TScale provides a cost-effective way to improve performance, capacity and > stability for thin-client servers like Citrix MetaFrame or Microsoft > Terminal Services running Windows NT, 2000 or 2003. > http://www.rtosoft.com/enter.asp?id)6 > ********************************************************** > Useful Thin Client Computing Links are available at: > http://thin.net/links.cfm > ThinWiki community - Excellent SBC Search Capabilities! > http://www.thinwiki.com > *********************************************************** > For Archives, to Unsubscribe, Subscribe or > set Digest or Vacation mode use the below link: > http://thin.net/citrixlist.cfm > > ******************************************************** > This Weeks Sponsor: RTO Software TScale > TScale provides a cost-effective way to improve performance, capacity and > stability for thin-client servers like Citrix MetaFrame or Microsoft > Terminal Services running Windows NT, 2000 or 2003. > http://www.rtosoft.com/enter.asp?id=296 > ********************************************************** > Useful Thin Client Computing Links are available at: > http://thin.net/links.cfm > ThinWiki community - Excellent SBC Search Capabilities! > http://www.thinwiki.com > *********************************************************** > For Archives, to Unsubscribe, Subscribe or > set Digest or Vacation mode use the below link: > http://thin.net/citrixlist.cfm > > ********** 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. > ******************************************************** > This Weeks Sponsor: RTO Software TScale > TScale provides a cost-effective way to improve performance, capacity and > stability for thin-client servers like Citrix MetaFrame or Microsoft > Terminal Services running Windows NT, 2000 or 2003. > http://www.rtosoft.com/enter.asp?id)6 > ********************************************************** > Useful Thin Client Computing Links are available at: > http://thin.net/links.cfm > ThinWiki community - Excellent SBC Search Capabilities! > http://www.thinwiki.com > *********************************************************** > For Archives, to Unsubscribe, Subscribe or > set Digest or Vacation mode use the below link: > http://thin.net/citrixlist.cfm > > -- > The information in this email belongs to the Pembroke Regional Hospital > and may contain confidential and privileged information for the sole use > of the individual or organization to which it is addressed. If you are > not the intended recipient, you are hereby notified that any disclosure, > copying or distribution of the contents of this email is prohibited. > If you have received this email in error, please contact the sender and > destroy all copies of the original message. > > ******************************************************** > This Weeks Sponsor: RTO Software TScale > TScale provides a cost-effective way to improve performance, capacity and > stability for thin-client servers like Citrix MetaFrame or Microsoft Terminal > Services running Windows NT, 2000 or 2003. > http://www.rtosoft.com/enter.asp?id=296 > ********************************************************** > Useful Thin Client Computing Links are available at: > http://thin.net/links.cfm > ThinWiki community - Excellent SBC Search Capabilities! > http://www.thinwiki.com > *********************************************************** > For Archives, to Unsubscribe, Subscribe or > set Digest or Vacation mode use the below link: > http://thin.net/citrixlist.cfm > -- Tom at home ******************************************************** This Weeks Sponsor: RTO Software TScale TScale provides a cost-effective way to improve performance, capacity and stability for thin-client servers like Citrix MetaFrame or Microsoft Terminal Services running Windows NT, 2000 or 2003. http://www.rtosoft.com/enter.asp?id=296 ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm ThinWiki community - Excellent SBC Search Capabilities! http://www.thinwiki.com *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm