Solved Need help deleting a corrupted folder

pokeefe0001

New member
Power User
Local time
6:22 PM
Messages
165
While testing a folder/file security program I've ended up with a folder that cannot be deleted. The folder had been hidden, perhaps encrypted, and (somehow) password protected. It now looks normal (although all the lower level folders and files have been renamed). However, when I try to delete the folder or any of its contents I get a popup saying "Could not file this item. This is no longer located in F:\. Verify the location and try again. F:\ is the proper path, and Windows Explorer shows the folder there.

I know I can reformat the drive, but it contains a lot of stuff that would have to be moved first. I'd rather not do that if there is an easier way.

Is there some way to tell Windows to delete a file whose name does not match its entry in its containing directory? (Or whatever the problem is here.)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built by Puget Systems
OS
Windows 7 x64 Pro
CPU
Intel i7 4771 3.50 GHz
Motherboard
ASUS Z87-A
Memory
Kingston DDR3 - 16GB
Graphics Card(s)
Intel HD Graphics 4600
Sound Card
M-Audio Delta Audiofile 2496
Monitor(s) Displays
Samsung SyncMasterr 2043 BWX
Hard Drives
Samsung SSD 840 PRO
WDC WD1002FAEX-00Z3A0
PSU
built in - part of case - 650 Watt
Case
Fractal Design R4
Cooling
Coolmaster Hyper TX3
Keyboard
Dell PS/2
Mouse
Logitech USB
Internet Speed
50 Mb Cable
Antivirus
Kaspersky Internet Security 2015
Browser
Firefox
Hello Pokeefe,

You might restart the PC to see if it may just be a ghost folder that will be gone afterwards.

If not, then you might see if the free programs Unlocker or FileAssassin may be able to remove it.

Hope this helps, :)
Shawn
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
I would try Brink's suggestion first. If the folder still shows there, you can use a tool like Unfocker to delete the folder on next boot. If you don't want to install a program just for that you can use my program RunItOnce from:
Miles Ahead Software

You can use RunItOnce to run any program or batch file on the next login. You don't have to reboot. Just log off, then back on. Just make sure if you do a batch file with commands, that they are correct, esp. when it comes to deleting files and folders. You might make a dummy folder with a few subfolders with a few files inside.. maybe just text files with the word "test" in each or whatever.. to make sure your delete commands work as expected before unleashing them. :)
 

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
I tried rebooting, but the folder is still there and still undeletable.

Based on other suggestions I found on the web, I tried deleting it running in Safe mode but with no luck. I tried deleting it from the command prompt but with no luck. (No error message so it looked like it worked, but the file was still there.)

I guess FileAssassin or Unlocker is my next step.
[*** Time passes ***]

Well, FileAssassin couldn't handle it. It says
"The file you have specified does not exist or is not visible to FileASSASIN. Please select another file."

Of course, this is a directory, not a file. Does that matter?

[*** More time passes ***]

Unlocker was able to delete the file! In the Recycle bin the folder is described as empty. I have no idea where its 143MB of directories and folders went. Hopefully there are really gone rather than hiding.

Anyway, thanks for your suggestions.
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built by Puget Systems
OS
Windows 7 x64 Pro
CPU
Intel i7 4771 3.50 GHz
Motherboard
ASUS Z87-A
Memory
Kingston DDR3 - 16GB
Graphics Card(s)
Intel HD Graphics 4600
Sound Card
M-Audio Delta Audiofile 2496
Monitor(s) Displays
Samsung SyncMasterr 2043 BWX
Hard Drives
Samsung SSD 840 PRO
WDC WD1002FAEX-00Z3A0
PSU
built in - part of case - 650 Watt
Case
Fractal Design R4
Cooling
Coolmaster Hyper TX3
Keyboard
Dell PS/2
Mouse
Logitech USB
Internet Speed
50 Mb Cable
Antivirus
Kaspersky Internet Security 2015
Browser
Firefox
I'm happy to hear that got it. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top