This is a vbscript we've had in our logon scripts for a while. Don't know if it is as effective as Shannon's though. Const TEMPORARY_INTERNET_FILES = &H20& Set objShell = CreateObject("Shell.Application") Set objFolder = objShell.Namespace(TEMPORARY_INTERNET_FILES) Set objFolderItem = objFolder.Self strPath = objFolderItem.Path & "\*.*" Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.DeleteFile(strPath)
Phillip Partipilo Parametric Solutions Inc. Jupiter, Florida (561) 747-6107 _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mengwasser, Kevin Sent: Wednesday, January 25, 2006 3:29 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] OT - Clear IE Cache on Remote machines Thanks. With some modification I think I can make this work in my situation. I've noticed that some users have changed were the cache is, but that's a small percentage. Hopefully this speeds up the migration. Thanks. _____ From: [EMAIL PROTECTED] on behalf of Shannon Coleman Sent: Wed 1/25/2006 1:40 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] OT - Clear IE Cache on Remote machines Here are the contents of a VbScript that I use at our organization. It basically goes to "C:\Documents and Setting\ <users directory> \local settings\temporary internet files\Content.IE5\" and deletes each cache folder. Here are is the content of that script. **************************************************************************** **************************************************************************** ******* on error resume next Dim objNWO Dim objFSO Dim strUSR Dim strFolder Dim rootFolder Dim SubFolders Dim strDirectory SET objNWO = Wscript.CreateObject("Wscript.Network") SET objFSO = CreateObject("Scripting.FileSystemObject") strUSR = objNWO.UserName strFolder = "c:\documents and settings\" & strUSR & "\local settings\temporary internet files\Content.IE5\" SET rootFolder = objFSO.GetFolder(strFolder) SET SubFolders = rootFolder.SubFolders strDirectory = strFolder For Each Folder In SubFolders strDirectory = strDirectory & Folder.Name objFSO.DeleteFolder(strDirectory) strDirectory = strFolder Next SET objNWO = Nothing SET objFSO = Nothing SET strUSR = Nothing SET strFolder = Nothing SET rootFolder = Nothing SET SubFolders = Nothing SET strDirectory = Nothing **************************************************************************** **************************************************************************** ******* _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mengwasser, Kevin Sent: Wednesday, January 25, 2006 11:55 AM To: ActiveDir@mail.activedir.org Subject: [ActiveDir] OT - Clear IE Cache on Remote machines I realize that this is off topic, but related in a way, so forgive me. I've searched through Google and the list archives and did not find an answer to this question I have around a 1000 xp and win2000 machines in an NT domain that I'm getting ready to migrate to AD. The problem is that ADMT v3 takes forever to migrate the user profiles on most pilot machines. As I'm watching the machines migrate it seems to take forever on the IE cache. So what I would like to do is remotely clear the IE cache for all of the users profiles on the machines before I migrate them. Is there a utility to do this or a way to script it? Thanks. _____ *********************************** CONFIDENTIALITY STATEMENT: This e-mail and any attachments are intended only for those to which it is addressed and may contain information which is privileged, confidential and prohibited from disclosure and unauthorized use under applicable law. If you are not the intended recipient of this e-mail, you are hereby notified that any use, dissemination, or copying of this e-mail or the information contained in this e-mail is strictly prohibited by the sender. If you have received this transmission in error, please return the material received to the sender and delete all copies from your system. ------------------------------------------------ All outgoing and incoming e-mails are electronically archived and subject to review and/or disclosure. Taylor-Morley, Inc. 17107 Chesterfield Airport Road Chesterfield, MO 63005 ------------------------------------------------
<<attachment: winmail.dat>>