Delete locked files automatically at the next Windows start, with Boot Deleter


Boot Deleter is a free program you can use to schedule files for deletion upon restart. 

The program adds to the context menu of Windows Explorer an option to mark files and folders to be deleted when Windows next starts.

You may need to use this option to delete items that are locked.

Items can also be marked for deletion by passing the file/folder as a command-line argument or by dropping the item onto the Boot Deleter’s icon.

Please note: This is not a program to unlock without restarting Windows files that are used by a process.