Can't delete folder with millions of empty folders - What can I do?

Thenin

New member
Member
Local time
12:33 PM
Messages
95
Due to a bug in a vendor's automatic update tool, it created many millions of empty folders in a root folder (C:\Temp), and I've been totally unable to delete it. I was able to boot up a linux Live distro (Zorin v12, which is very Windows-like) and rename the folder to C:\Temp3, so it wasn't locked due to other files/folders inside, but when I tried to delete the folder in Zorin, it provided no indication that it was actually doing anything, even after an hour's wait.

So I tried to boot from a Windows 7 install flash drive, and waited for almost an hour for it to finish the god-damned "Searching for Windows Installations" bullshit (gawd, I hate that despicable "feature"! :mad:)

Eventually I was able to get to the command prompt and entered this command: Del /S /Q C:\Temp3, and although the command eventually completed (that is, the command prompt returned), the folder was still full of millions of empty folders!

So I booted up my paid copy of Active@Boot Disk, used it's file manager to navigate there, and chose "Delete". It then showed a window "calculating" the number of elements inside (instead of just deleting the damn folder), and even after two hours, it was still counting without deleting anything at all!

So I tried booting up in Safe Mode, but it refused to recognize my USB mouse and keyboard, so I couldn't even log in. But I figured that could have been because they were attached via a KVM, so I attached a separate USB mouse and keyboard directly to the front panel, but Safe Mode still refused to see them.

Then I booted up normally and pressed SHIFT + DEL to delete the folder without prompting, but it's now been running for three hours already and it's saying that it'll take at least another three hours! I started trying to use a disk editor to locate the folder in question and basically "disconnect" it / set it to zero bytes or whatever, but I'm afraid that I might do irreparable damage to the NTFS structure of my boot disk.

SO: What I desperately need is some way to FORCIBLY delete the damn thing immediately without question and without going through all those empty folders one at a time. Can anyone offer some other way to do this or some other piece of software that'll do what I need?

Thanks!
 

My Computer My Computer

At a glance

Windows 7 Professional 64-bitIntel Core i7-4790K Devil’s Canyon Quad-Core ...16GB G.SKILL TridentX 2666 (PC3 21300) RAMEVGA nVidia GTX-750
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home-built
OS
Windows 7 Professional 64-bit
CPU
Intel Core i7-4790K Devil’s Canyon Quad-Core 4.0 GHz
Motherboard
ASUS Z97-A/USB 3.1 Gen 2
Memory
16GB G.SKILL TridentX 2666 (PC3 21300) RAM
Graphics Card(s)
EVGA nVidia GTX-750
Sound Card
LogiLink USB 2.0 7.1 Channel Sound Box
Monitor(s) Displays
DELL U2713HM, ViewSonic 22, HDTV
Screen Resolution
1920x1080
Hard Drives
System is on 2x RAID 0 Samsung 850 PRO 256GB SATA-III SSD

System has several other SATA III disks as well
PSU
Corsair RM750x
Case
CoolerMaster Storm Scout 2
Cooling
CoolerMaster Hyper 212 EVO
Keyboard
Apple Slim, Bluetooth slim
Mouse
Logitech Trackball Marble & Logitech Wireless Trackball
Internet Speed
100 Gbps
Antivirus
Avira AntiVirus Pro
Browser
Waterfox, Opera, Basilisk
If there's one thing that computers are good at, it's producing 1s & 0's in the form of %%#@ you mother (*(&^(&$ LMAO


I think what you have going on here is a classic long path name issue. Where I think there is actually a command that can be used in command prompt, I prefer a GUI alternative. Try FastCopy or Long Path Tool.


Download FastCopy - MajorGeeks



Long Path Tool 5: advanced long path files manager

Zorin looks nice. Just downloaded it. :D
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Something is wrong. If not in use you should be able to delete under windows.
I suggest you do a disk check
Open a CMD as Administrator and type
chkdsk c: /f
It will say it is in use and if you want to schedule to next start = Yes
 

My Computers My Computers

  • At a glance

    Windows 7 HP 64i5 6600K - 800MHz to 4200MHz4+4G GSkill DDR4 3000IG - Intel 530
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    custom build
    OS
    Windows 7 HP 64
    CPU
    i5 6600K - 800MHz to 4200MHz
    Motherboard
    GA-Z170-HD3P
    Memory
    4+4G GSkill DDR4 3000
    Graphics Card(s)
    IG - Intel 530
    Monitor(s) Displays
    Samsung 226BW
    Screen Resolution
    1680x1050
    Hard Drives
    (1) -1 SM951 – 128GB M.2 AHCI PCIe SSD drive for Windows 7 and Lubuntu
    (2) -1 WD SATA 3 - 1T for Data
    (3) -1 WD SATA 3 - 1T for backup
    PSU
    Thermaltake 450W TR2 gold
    Keyboard
    Old and good Chicony mechanical keyboard
    Mouse
    Logitech mX performance - 9 buttons (had to disable some)
    Internet Speed
    500Mb/s
    Browser
    Firefox 64
    Other Info
    TinyWall firewall
  • At a glance

    Windows 7 Proi7-4500U 800MHz to 3.0GHz(4+4)G DDR3 1600IG intel 4400 + NVIDIA GeForce GT 745M
    Computer type
    Laptop
    System Manufacturer/Model Number
    Asus Q550LF
    OS
    Windows 7 Pro
    CPU
    i7-4500U 800MHz to 3.0GHz
    Motherboard
    Asus Q550LF
    Memory
    (4+4)G DDR3 1600
    Graphics Card(s)
    IG intel 4400 + NVIDIA GeForce GT 745M
    Sound Card
    Realtek
    Monitor(s) Displays
    LG Display LP156WF4-SPH1
    Screen Resolution
    1920 x 1080
    Hard Drives
    BX500 120G SSD for Windows and programs +
    1T HDD for data
    Internet Speed
    500 Mb/s
    Browser
    Firefox
    Other Info
    TinyWall firewall
Do you have a Backup Image from before the failed update?
 

My Computer My Computer

At a glance

W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, ...AMD Phenom II x6 1100T, 3.3 GHz12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2G...NVIDIA GeForce GTX 660
Computer type
PC/Desktop
Computer Manufacturer/Model Number
n/a
OS
W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
CPU
AMD Phenom II x6 1100T, 3.3 GHz
Motherboard
ASUS M4A88T-M/USB3 (AM3)
Memory
12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2GB x 2)
Graphics Card(s)
NVIDIA GeForce GTX 660
Sound Card
Realtek?
Monitor(s) Displays
Samsung S23B350
Screen Resolution
1920x1080
Hard Drives
WD Green 2TB (SATA), WD Green 3TB (SATA), WD Blue 4TB (SATA), WD Blue 6TB (SATA)
PSU
Cooler Master
Case
Antec GX300 Tower
Cooling
3x Antec TRICOOL 120mm Fans
Mouse
Wired Optical
Internet Speed
DSL
Antivirus
Avast
Browser
Pale Moon (64 bit)
Other Info
2018-12-27 Upgraded HDDs
2015-12-10 Upgraded case, graphics card, storage
2015-08-15 Upgraded motherboard & RAM
2015-07-15 Upgraded LM17.1 to LM17.2

My Computer My Computer

At a glance

Win 10 x64, Linux Lite, Win 7 x64, BlackArch,...
Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP Desktop & Compaq Laptop
OS
Win 10 x64, Linux Lite, Win 7 x64, BlackArch, & Kali
Hard Drives
Samsung 850 Pro 256Gb,
Hitachi HDD 1Tb,
Crucial MX SSD 250Gb
Segate 3Tb USB 3.0 Ext. Backup HDD
Internet Speed
150Mbps dn, 20Mbps up
Antivirus
Avast Free, Malwarebytes Anti-Exploit & Anti-Ransomware
Browser
Firefox, Chrome, Opera, & VPN
System restore? Restore Image backup? If those didn't work for me I'd reinstall - although I know that's a total pain but I hate mess lol
 

My Computer My Computer

At a glance

W7 HP 64 bitCore i3 1st gen8gbNvidia 330M
Computer type
Laptop
Computer Manufacturer/Model Number
Sony Vaio VPCCW2S1E
OS
W7 HP 64 bit
CPU
Core i3 1st gen
Memory
8gb
Graphics Card(s)
Nvidia 330M
Internet Speed
8 mbps
Browser
Firefox
Back
Top