Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
how can i kill all handles attached to a USB ??

i have the USB device ID, USB drive letter with me...

i want to unlock it from all processes...

Any solutions for how to release all processes with USB?

Thank You.
Posted

1 solution

You have to tell the applications with the files open to release them. Forcing the file handles closed outside of the application that opened it will only cause data loss and possible disk corruption.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900