Unable to delete unused media locally

When trying to delete unused media, Anki desktop hangs and crashes. The media is unable to be deleted directly from file explorer either. It hangs up at “Calculating…” Any ideas?

If Windows is getting stuck too, that seems to imply either a hardware issue, or some sort of corruption on the drive. There’s probably a Windows utility to check your disk for errors that you could try.