hi ive got a strange problem i have some mkv file on my pc win7 and cannot delete you try to delete it says file is in use by windows explorer even if you restart the system or boot in safe mode you get same problem.

i did some research an on technet some suggest using lockHunter or unlocker. so i tried lockhunter and it deleted the file and send to recycle bin so i guess its ok.

when i try empty recycle bin i get the error cannot empty trash the file mkv is in use by windows explorer you get option tryagain or give the name as $RZR8T54 (which is not the files name)and size 0kb in the error.

if i press try again it just give me the same error, but if i press cancel it empty my trash but the sad news is that my hardrive space stay the same as if i havent deleted anything.

so can someone please tell me what the ***** how can i resolve this note that the files has been remove from its location i cannot find it.

Dani AI

Generated

Short explanation first: the odd name you saw ($RZR8T54) is how the Recycle Bin stores deleted files (Windows renames the file and keeps a pointer record). That explains why the file "disappeared" from its original folder yet still used disk space. The usual reasons the bin then refuses to empty are (a) some process still holds a handle to that recycled file (Explorer shell extension, thumbnail/preview handler, media player or antivirus), or (b) the file system metadata is inconsistent (so free space isn't updated).

Safe, quick cleanup (run from an elevated Command Prompt):

taskkill /f /im explorer.exe
rd /s /q C:\$Recycle.Bin
start explorer.exe

Repeat the rd line for any other drive letters (D:\, E:\, etc.). This forcibly removes the recycle-bin folder and recreates it on restart. Do this only from an admin prompt.

If you want to find the locking process instead of nuking the bin, use Sysinternals tools (Process Explorer or handle.exe) to search for the $R name or the original filename; Task Manager alone often won’t show the specific handle. Also run chkdsk C: /f and reboot if free space still looks wrong — filesystem repair commonly fixes stale space. If large space is used but you can’t locate files, check Volume Shadow Copies (system restore) as another common culprit.

Notes tied to the thread: ’s observation about the $R name is expected behavior; ’s Task Manager idea is a good start but try Process Explorer/handle for handles; ’s live-CD approach will work as a last resort if Windows tools fail. Always run these steps as Administrator and take care before deleting restore points or shadow copies.

Recommended Answers

All 5 Replies

open task manager / find that file name / right click /open the file location / click in task manager end process tree / delete the file in open file location
done.

for more computer tips system speed hint

hi the problem is that these files doesn't show up in task manager to end any process and this happens only with certain .mkv files.

As i have said, I manage to remove them with lockhunter but even e if ive deleted them and can't see them in there location, they acting as if they are still there because it doesn't free up space on my HDD. My HDD size stays the same size even if i have deleted a 900mb or 1gb mkv file.

ok without doing anything my HDD size increased, so i guess it must had been some kind of error that made the disk size stay the same even if i had deleted my problem is solved

If you have not tried unlocker then try it first.

If unlocker won't work then Download any Linux OS like Ubuntu or fedora or mint
then boot it from cd and use as live cd when asked.

It runs without installing then open my computer and open your drive and delete that mkv files.

After deleting goto trash and delete it from there also.

in 4th post you have written that your hdd size is increasing

to solve this problem search on google for "Trojan Horse" or "Space Eater"
it'a a virus that hog your drive continuously until it fulls.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.