Can also try Move On Boot
. It's free and this simple tool allows you to Move, Copy or Delete files before Windows can lock or alter the files. The changes are made to your hard drive before Windows starts, hence it requires a restart of your system after you give MoveOnBoot its instructions. There are no messy boot or DOS commands, just a simple 3-step process.
Step 1: Locate the name of the file that is causing your problems.
Step 2: Decide if you want to copy, move or delete the file.
Step 3. Choose a destination for moving the file, or a new file name for the rename option (this option won't appear if you are deleting a file).
Click OK to confirm you want to process. The nice thing is that the program doesn't make you reboot straight away. It's a good idea to reboot ASAP, but if you are in the middle of something and want to wait, the program will simply run next time you start Windows.