this post was submitted on 17 Feb 2025
25 points (96.3% liked)

iiiiiiitttttttttttt

649 readers
430 users here now

you know the computer thing is it plugged in?

founded 2 years ago
MODERATORS
 
all 18 comments
sorted by: hot top controversial new old
[–] [email protected] 21 points 1 month ago (1 children)

Process Explorer (the sysinternals tool) will show you which process has the handle open to the file.

[–] Jtee 6 points 1 month ago

FWIW, it's usually Windows Installer, Windows Explorer, or some other system task. If you open a command prompt and ready the del command, you can kill Windows Explorer and then run your delete.

[–] wreckedcarzz 5 points 1 month ago* (last edited 1 month ago)

I would say 'just reboot' but because I'm petty and also because I've had shit not release even after a reboot:

  • Boot a live iso
  • Mount the drive
  • Delete that shit with the utmost prejudice
  • Reboot
  • Sunglasses (yeaaaaaaaaahhhhhhhh)

E: fancy formatting

[–] [email protected] 4 points 1 month ago

first lmao

second, I'd get powertoys for windows, it has a feature that shows you what processes are holding onto a particular file/directory so you can kill the process and get the file dealt with.

[–] serenissi 3 points 1 month ago

flock by default is doing great :)

[–] AnonymousFish 3 points 4 weeks ago

I think I've had a similair problem before! Turning off the "preview pane" might help if you have that option enabled. I've had trouble with renaming files that were also open in the preview pane in the past, but turning it off fixed the issue

[–] the_riviera_kid 3 points 1 week ago (1 children)

Try Unlocker it almost always does the trick.

[–] [email protected] 2 points 1 week ago

I rebooted, which fixed it. Turns out, the folder was open in vscode, even though vscode wasn't running.

[–] Cort 1 points 1 month ago (1 children)

Looks like a restart fixed it, but I think it refused to delete since you had the folder open. Your task manager showed 2 instances of windows explorer. I bet it was minimized and got overlooked

[–] [email protected] 4 points 1 month ago

No, the first one is the explorer instance that I tried to delete the folder in, the second is the popup in the screenshot.

[–] over_clox -2 points 1 month ago (1 children)

Almost seems like you might have some sort of virus or malware.

There's a magic registry key that can force delete folders and files before Windows has even finished booting. It's intended to be used during Windows updates, but when used creatively, can perform some brute force fixes.

This link isn't exactly relevant, but I'm not home right now to dig that deep into the registry to offer that sort of advice at the moment.

https://www.solveyourtech.com/how-to-force-delete-a-file-windows-11-step-by-step-guide/

If that doesn't help, hit me up later and I'll do my best to turn the registry inside out..

[–] [email protected] 2 points 1 month ago (2 children)

A reboot fixed it, its just weird that it happened.

[–] over_clox 3 points 1 month ago

Oh, cool cool 👍