This problem crops up every now and then at work. Our build machine can have it\'s files accessed via a normal windows file share. If someone browses a folder remotely on the ma
Found a solution.
Find the process using Process Explorer:
Download and install the Unlocker (Warning: Link removed, as it contains malware)
Unlock the directory
Now the directory should be unlocked, and can now be deleted.