Another Vista Problem(Index.dat)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



It seems that Vista has created another whole new set of problems for programs to work around.

I have written an app to clean the Temp, Temporary Internet Files and Cookies, along with any other folders the user might want to cleanup. The only way I could find to delete the Index.dat files was to do it with a batch file, placed in the root of C: and then an entry in the RunOnce key of HKLM. This would run the batch file before the user was logged on and the Index.dat files could then be deleted.

I know that was probably not the best way to accomplish removing the Index.dat files, but it seemed to be the only way I could get it to work, as Microsoft keeps them so well protected, but they just keep growing.

Now along comes Vista and you cannot copy anything to C: drive, without Admin permission's and you cannot access HKLM through VB6. If you use HKCU the Index.dat files are then in use and cannot be deleted.

Does anyone know a way around this problem?

Thanks,
Norm

.



Relevant Pages

  • Re: Unable to Save in Word 2003 - Nothing Happens
    ... Office 2003 Professional was originally installed on Windows XP Professional and then I upgraded to Vista Ultimate without uninstalling. ... I must have installed it to all users as My Wife's and Daughter's account can save in Word and at some stage my son could save also. ... As to why Word tries to create files within the temporary internet files directory I don't know. ... are you sure that you were logged in as Administrator and are you sure that you installed it for All Users and not just for your own profile? ...
    (microsoft.public.word.application.errors)
  • Re: Finding Files
    ... They are Internet Explorer creations. ... They behave in Vista the same way they do in WinXP - or Win9x. ... I cannot find the folder "Temporary Internet Files" nor the file using the folders pane.. ...
    (microsoft.public.windows.vista.general)
  • Re: determine version of .exe thru batch file
    ... Is there a way to do this in Vista? ... My goal is to create a batch file ... Help with this method or the correct method would be GREATLY ... The code you've got there looks like Powershell code, rather than cmd.exe code, so it won't work as is in a cmd.exe shell. ...
    (microsoft.public.windows.vista.general)
  • Re: Vista Deployment includes Registering COM component
    ... I would think that the deployment project comes out as an exe, msi ect ect, since I have never created a setup project. ... I think Vista can still run a Batch file. ... I would create a Batch file that is using Regsvr32 Dllname.dll and register the DLL with the user executing that Batch file. ... You can have the Batch file and the DLL in a zip file, and have them unzip it and have them do it, until you figure out to do it with a Net deployment project. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Finding Files
    ... But using the method you suggested which uses Windows explorer and the methods I explained earlier in this thread I cannot. ... So the essential question is how does Vista organise files and how can you find all and every file? ... It is not just about finding temporary Internet files. ... I cannot find the folder "Temporary Internet Files" nor the file using the folders pane.. ...
    (microsoft.public.windows.vista.general)