Quote: Originally Posted by FliGi7
Quote: Originally Posted by MilesAhead
Quote: Originally Posted by gregrocker
I wonder what else Unlocker does besides take ownership and delete. I want to see if it makes deleting the Windows folder easier.
I think one of the techniques it uses is the RunOnce registry key. When it asks if you want to mark a file for deletion that can't be deleted on the spot, it puts the delete command in RunOnce. It fires before the Windows logon. You can do stuff like deleting index.dat files using RunOnce.
RunOnce programs don't run until user logon.
My guess is that the file unlocker programs run as SYSTEM to close file handles, which makes it more effective at getting rid of the locks.
I think you are mistaken. Here's the registry key
I use a program started by that key to delete index.dat files. If they were locked as they would be after login, it would not work. Also I get a long pause before I get the desktop. Another indication it's running before login.
I think we're getting tangled up with 2 different scenarios. One is if it deletes the file immediately. The other is marking it for deletion on next boot. The on next boot scenario is where is uses RunOnce.
Anyway, this is all speculation. If you want to know run Unlocker under a monitor or debugger.