Things You'll Need
Notepad
Step 1
Open Notepad and input the following code into the document, replacing the segments that say "Your User Name" with your computer username:
Del "C:\Documents and Settings\YourUsername\Application Data\Microsoft\Internet Explorer\UserData\index.dat"
Del "C:\Documents and Settings\YourUserName\Cookies\index.dat"
Del "C:\Documents and Settings\YourUserName\Local Settings\Temporary Internet Files\Content.IE5\index.dat"
Del "C:\Documents and Settings\YourUserName\UserData\index.dat"
Del "C:\Documents and Settings\Default User\Cookies\index.dat"
Del "C:\Documents and Settings\Default User\Local Settings\Temporary Internet Files\Content.IE5\index.dat"
Del "C:\Documents and Settings\Local Service\Cookies\index.dat"
This is the command that will instruct your computer to automatically delete index.dat, but you're not done yet, because now you have to configure your computer to do so every time you shut down your computer.
Step 2
Save the Notepad document as "IndexDat.cmd" (Save the document exactly as appears here with the quotations and all because the quotations will prevent Notepad from saving it as IndexDat.cmd.txt).
Step 3
Copy and paste the file you just created to the following folder: C:\Windows\System32\GroupPolicy\Machine\Scripts\Shutdown.
Step 4
Go to Start>Run, and input "gpedit.msc" (without quotations) into the Run bar.
Step 5
Navigate to the following location: Computer Configuration->Windows Settings->Scripts (Startup/Shutdown).
Step 6
Click on "Shutdown," and then click on "Add." Locate the IndexDat.cmd file you created, and click on it to add it to the "Shutdown" folder. Now every time you turn off your computer, your computer will automatically delete index.dat for you.
Tips
In some computers the operating system is located in the following folder: C:\Winnt\System32\GroupPolicy\Machine\Scripts\Shutdown. Therefore, copy the IndexDat.cmd file to that folder if that's where your operating system is located.
Warnings
Beware of making one mistake when typing the code or placing it within the appropriate locations on your computer because the command prompt will not execute correctly if you do.
Published by Phantom Rose
Phantom Rose is an author, a freelancer and a Phan! Published work: Maiden's Blush View profile
- Work from Home Jobs: New Listings #3New work from home jobs and companies filling work from home jobs. List of work from home jobs.
- Basic Command Shell Concepts (Changing and Creating from the Command Line)Learn how to create, edit and delete information from the Windows command line.
- FROM the COMMAND PROMPT:COMPUTER HELP
- Some of Our Favorite Girls from Flavor of Love on Myspace!Buckwild, Goldie, Pumkin, New York, Krazy, Like Dat...they are all on Myspace!
- How to Speak and Understand Teen LingoLanguage is constantly changing and today's teens have a language all their own. If you're having trouble understanding your teen learn some of his lingo and you'll be groovin'.
- What Every Windows User Needs to Know About the Windows Registry
- How to Delete Index.Dat
- How to See Deleted Internet History
- How to Keep Your Information Private: Delete Your Temporary Internet Files
- Fix Your Internet Connection Problems When You Can't Connect
- Hey Microsoft, May I Please Use My Computer Now?
- A Comprehensive Look at A&M Records vs. Napster, Its Components and Consequences



