Login | |
|
 |
RE: Array problem - 1/10/2006 5:15:49 AM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
strKeyPath = "Software\Microsoft\Internet Explorer\TypedURLs" you forgot a space in the above line, in the registry, there is a space between internet and explorer.
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
 |
RE: Array problem - 1/11/2006 2:23:34 AM
|
|
 |
|
| |
Country73
Posts: 733
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
|
Index.dat is a hidden "system" file, so it makes it very difficult to delete these files. The easiest way to delete the Index.dat files is to delete them when the individual is not logged into the machine. As soon as that individual logs back in then new Index.dat files will be created.
|
|
| |
|
|
|
 |
RE: Array problem - 1/11/2006 2:50:55 AM
|
|
 |
|
| |
kirrilian
Posts: 628
Score: 3
Joined: 3/15/2005
From:
Status: offline
|
you could use wmi to delete the file on the remote systems, assuming you have admin rights to them
_____________________________
Have you searched here ? VBScript Fundamentals My Site
|
|
| |
|
|
|
 |
RE: Array problem - 1/11/2006 3:15:29 AM
|
|
 |
|
| |
Country73
Posts: 733
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
|
quote:
Would it work as a startup script instead of a logon/logoff script? Tried that, same reaction as if you were fully logged in. One possiblity, if not pushing this out to a remote machine, set the script up in a scheduled task to run sometime when you are not logged in.
|
|
| |
|
|
|
 |
RE: Array problem - 1/12/2006 6:22:33 AM
|
|
 |
|
| |
Country73
Posts: 733
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
|
quote:
I don't think that will work for me, we use this as part of our logoff script at work, and most systems are shutdown at the end of the day. You may be able to do it with setting up a scheduled task to run your script at a specified time (when the users "should" be logged out). Either run the script from the workstation itself or have a server run the script against all of the workstations. Locations of the Index.dat files. \Documents and Settings\<Username>\Cookies\index.dat \Documents and Settings\<Username>\Local Settings\History\History.IE5\index.dat \Documents and Settings\<Username>\Local Settings\History\History.IE5\MSHist012001123120020101\index.dat \Documents and Settings\<Username>\Local Settings\History\History.IE5\MSHist012002010720020114\index.dat \Documents and Settings\<Username>\Local Internet Files\Content.IE5\index.dat
|
|
| |
|
|
|
| |
|
|
 |
|
 |
|
|