- NTFS - version 3.1 - used fsutil to obtain information
- Microsoft Windows XP [Version 5.1.2600]
- Method (or tool) to obtain, a list of files set for deletion during the next system restart?
There is a free MS/Sysinternals program called pendmoves that can show you the list of files waiting to be deleted/moved on reboot.
You can also look at the following registry key for a list of pending operations:
The API operation that does this is called MoveFileEx() with the MOVEFILE_DELAY_UNTIL_REBOOT option.
More information in this KB.
FYI, to manually add a working entry to this area of the registry you can do the following:
From this thread.
Of course using movefile is easier than doing all that.