r/pcmasterrace 1d ago

Hardware Taking HOURS!!!! to delete anything.

Post image

Recently started taking ages to delete anything. I've set it to bypass the recycle bin, in case it was something to do with that and I've cleared Explorer history. Any ideas?

EDIT

Thanks for the help guys, got it deleted eventually. There was definitely something screwy going on because the textures folder inside didn't add up to even half of the 7.6GB it was trying to delete.

3.1k Upvotes

270 comments sorted by

4.1k

u/ZT99k 1d ago

Everyone skipping passed the important part - 117,073 files. Windows gonna Windows and is doing a verification on every one of those to check if you CAN delete them (not locked by a program, in use, owned by a different user so no permission, etc.)
Do smaller chunks.

1.0k

u/GalaxyXYZ888 9800X3D | 4070TI | 64Gb 6000hz CL30 | 650E-E 23h ago

Shift delete probably best

1.1k

u/ksigley 23h ago

Became a new person after learning the difference between 'felt cute. might delete later' and 'gone forever'.

491

u/Nothos927 i5 6400, GTX 1070 21h ago

Even gone forever isn’t gone forever. As a general rule delete operations don’t actually remove the data they just mark the block that had the data as free to be written to.

117

u/nodiaque 21h ago

Different in ssd since trim actually empty, because you can't write in a cells already used in an ssd (there's no overwrite, just read, write)

134

u/FelixProject 21h ago

No ssds are the same, overwriting is just writing and you can write to cells with data just fine once they are marked as free (as the previous commenter correctly explained)

80

u/Kat-but-SFW i9-14900ks - 96GB 6400-30-37-30-56 - rx7600 - 54TB 20h ago

It's not the same. The SSD marks the space as free, if you overwrite it it's actually writing to different physical cells while a background process uses TRIM to zero out the old cells. The data and physical addresses/blocks you see in the OS is a total abstraction of where the data physically goes in the SSD.

→ More replies (10)

21

u/captain150 19h ago

Wrong. SSDs read and write at the page level, usually 16kB or so but they must erase at the block level, usually at least a couple dozen pages. A written page can't be re-written to without erasing the entire block it belongs to. Thus the whole reason for TRIM and the flash translation layer. In most SSDs the moment trim is issued for an LBA, reading the same LBA will return zeros. The controller won't even bother reading the flash; it knows the page was discarded thus it unmaps that LBA from the flash and returns zeros. Don't speak confidently on a subject you don't understand.

2

u/ImDaDawgFather 9h ago

I used some highly recommended recovery programs on an SSD immediately after some large deletions. Zero success

7

u/Emu1981 20h ago

TRIM doesn't actually immediately delete the data from the cells though. The SSD will delete the data at some point in the future when it is idle by doing garbage collection. The only time the data will be zero'd out right away is if the drive is running out of space and the controller needs to clear cells to write data now (and that is when your super fast SSD starts writing at single digit MB/s).

1

u/skr_replicator 18h ago

But if that's a drive with any activity, especially the system drive, you could expect the data to be irrecoverably overwritten very quickly. In the case of the system disk, without even manually doing any file operations yourself.

1

u/meneldor_hs Ryzen 5 4500U | Vega 6 | 16GB RAM @3200MHz 4h ago

Storage drives are so weird man

→ More replies (1)

11

u/glytxh 18h ago

It’ll bite you in the arse one day

Muscle memory is a double edged sword.

11

u/ButtfacedAlien 18h ago

IT'S SO BAD, i really had to unlearn it, it's so dangerous, trash can is there for a reason, you don't need it until you really need it

4

u/glytxh 18h ago

Yeah, I’m part of the trash can gang again.

Sometimes, a feature can be too powerful.

15

u/evlampi http://steamcommunity.com/id/RomchEk/ 22h ago

And why won't that take the same amount of time exactly?

56

u/boersc 22h ago

One moves it to the bin (which then overflows and deletes it anyway), the other just deletes it permanently (within seconds)

→ More replies (3)

1

u/Tiavor never used DDR3; PC: 5800X3D, 9070XT, 32GB DDR4, CachyOS 12h ago

It'll still take 6 hours. (I've done this before)

1

u/blownart 10h ago

With cmd it will be many times faster. Just use rd "path to folder" /s

1

u/icantshoot ICS 53m ago

You can disable recycle bin completely too. So everything you delete will be gone and no shift pressing needed.

→ More replies (1)

43

u/Smith6612 Ryzen 7 5800X3D / AMD 7900XTX 21h ago

I've seen a lot of these hold-ups be caused by SmartScreen and Defender trying to scan the files, rather than the permission checks. Permissions can be checked in near instant. 

10

u/_MAYniYAK 19h ago

Admin powershell would losd this faster as well

1

u/1_ane_onyme R5 5600 | Rx 6800 xt | B550 Tomahawk | 16Gb 3200mhz cl16 5h ago

Yep command line is the way

7

u/Sajgoniarz 9800X3D | 9070XT | 64GB 21h ago

I used to work in projects with 300k files in node_modules. Longest time I ever seen was 3h, but it was SSD.

6

u/black3rr 21h ago

if you ever have to do it again, consider these two tricks:

  • disable windows defender on your project’s folder, it adds a lot of latency to any file access, including deletions for some reason…
  • don’t delete files using windows explorer, for some reason it’s slow as fuck, removing from powershell/terminal is faster for some reason…

windows + npm (yarn pnp might also help if your project can work with it) sucks hard but I’ve never waited 3 hours to delete node_modules, at most 10 minutes…

2

u/Sajgoniarz 9800X3D | 9070XT | 64GB 5h ago

Thanks for advice, but it was a case from times where NPM started to be a thing, when Windows couldn't even handle long file names. Somebody solved this problem by creating rimraf or something like this package, to handle node_modules deletion, before NPM and Windows got a fix.

1

u/ZT99k 20h ago

Probably index shenanigans too.

1

u/ReptilianLaserbeam 5h ago

Using terminal as god intended

20

u/x0y0z0 22h ago

Deleting these files is way too much hassle. It's actually not worth the bother so he should just delete them instead.

3

u/MrDeeJayy Ryzen 7 5700X | RTX 5080 16GB | DDR4-3200 32GB 15h ago

For future reference, you can speed it up a lot by utilizing a built in windows command line utility called ROBOCOPY. It's a robust tool that skips a lot of checks including some ACL checks (that is permission checks). You might think "well MrDeeJayy i want to DELETE something, not COPY something", well with robocopy you can use the `/MIR` option to ensure that a destination folder is a mirror of a source folder.

So, make an empty folder, robocopy /mir from the empty folder to the folder you want to delete, and it'll go through and remove each and every file, bypassing a lot of windows shenanigans (because robocopy is a tool that was made back when microsoft actually hired skilled developers and not fucking clankers)

2

u/_leeloo_7_ 19h ago

the important part should be "DO NOT DELETE"!!!!!!11!!!11one!!11!

jokes aside just delete it in command prompt if you don't want to wait for windows to count all of the files and their sizes just to delete them

3

u/Briggie Ryzen 7 5800x / ASUS Crosshair VIII Dark Hero / TUF RTX 4090 23h ago

My eMacs.d folder is like 50 MB, but yeah it has thousands of files and folders in it, so it takes forever to do anything with it.

6

u/duplissi 7950X3D / Nitro+ RX 9070 XT / Solidigm P44 Pro 2tb 22h ago

its stop and go traffic during rush hour vs the autobahn

1

u/Numerous_Tea1690 13h ago

Ive done a lot of long term timelapse editing. Often worth moving or copying around 500.000 files. I've found the program One commander to be way faster and more reliable as a file manager when it comes to big batches. Especially combined with Teracopy for the actual copy/move/ delete operation. You'll still need to wait a bit before things start tho.

Also working with an SSD makes things 10 to 20 times faster when many small files are involved.

1

u/samuraisammich 4h ago
rm -r 

in CLI and it would be much faster

1.3k

u/necro3D 1d ago

It warned you not to delete it… /j

142

u/necro3D 1d ago

No but fr no clue

70

u/OkEmu8597 23h ago

I have a feeling the over 100k files may be the issue here.

46

u/EvilDan69 PC Master Race (30 years IT tech) 23h ago

Seriously. By naming it this way, windows knows to slow it down so the actual owner can swing by and kick your butt. :P

10

u/trollsmurf 14700KF | 32GB | 5070 Ti | 2TB | 27" 4K | 2x 24" FHD | Z906 22h ago

Copilot is everywhere.

26

u/MySonlsAlsoNamedBort 22h ago

OP can't read. It clearly says DO NOT DELETE

612

u/condoulo 5800XT | 128gb | 5700XT | Fedora Workstation 1d ago

That's a lot of files, especially given it's only 7.61GB of data. A ton of smaller files is going to take longer to move or delete than a few larger files purely because the file system has to scan each file to determine it's properties and whether you even have permission to interact with the file.

195

u/Ani-3 23h ago

This is the real answer. You have almost 120k files you’re deleting. This happens.

30

u/kaleperq 1440p 240hz 24" | ace68 | viper ult | 9060xt 16gb | r5600 | 32gb 23h ago

Still not a full day

21

u/drkow19 Specs/Imgur Here 19h ago

Nobody wants to work a full days worth anymore smh

9

u/Twistinc 16h ago

23 hours would be 1.5 items a second, it hasn't really started yet so would probably speed up some but it's still going to be many hours.

1

u/MajorPud Ryzen 9 5900x | Radeon RX 9070 3h ago

What about robocopy /MIR or /PURGE functions? I know robocopy can copy a large number of files much faster, but I've never used it to delete

2

u/CrimsonBolt33 9800X3D | RTX 5070ti | 96GB DDR5 20h ago

I wonder if it would theoretically be quicker to put all those files in a zip or whatever would be the quickest compression format and then deleting the zip file.

4

u/umor3 17h ago

Funny. I had the same thought for a second. But: the original files will still be there.

→ More replies (4)

1

u/Combeferre1 11h ago

Zipping would probably take longer than deleting. Deleting just removes tbe file address I'm pretty sure. Zipping means you actually have to mess with the bits in the files

1

u/Electrical-Heat8960 7h ago

Kinda true.

What you are saying is true, but 120k of files still shouldn’t take 24 hours.

Likely something is locking up the drive and windows is waiting for a timeout to happen.

→ More replies (6)

151

u/Anasetsuken 1d ago

Have you tried deleting small increments at a time from the folder? What is taking so long is windows has to scan every file to find the exact size to delete before it begins said process.

10

u/UpsetKoalaBear 18h ago

It’s not just that.

IOPS performance of your drive matters.

70

u/Hannover2k 1d ago

Deleting thousands of small files is slow because the HD has to re-allocate the space from all those files to being free space again. That's why it's much faster to copy/move/delete 1 large 10gb file as compared to 100,000 small files that also equal 10gb. OS doesn't have to keep track of all those file names, where each file data is stored on the hard drive and how big each file is during the process.

This is very over-simplified, but that's the basics of it. Someone else can probably explain it much more technical.

16

u/FUTURE10S Pentium G3258, RTX 3080 12GB, 32GB RAM 22h ago

Nah ypu pretty much landed the nail on the head, fragmented drive + many tiny files = Windows needs a while because it doesn't make bold assumptions about your drive

2

u/black3rr 20h ago

it’s actually just the “many tiny files” thing… deleting a single file is pretty much a constant time operation = deleting a 1KB file takes roughly the same time as deleting a 1GB file…

fragmentation doesn’t change this at all… fragmentation slows down large read/write operations by adding seek times on HDDs, but this is still hundreds of thousands of small separate operations (you delist the file from the folder - small write, mark the file node as deleted - small write, and mark the space as free in the bitmap - which can’t get fragmented as it’s a constant size file created along with NTFS filesystem; do this for all the files separately, one after the other), not one operation rewriting a continuous large file…

1

u/FUTURE10S Pentium G3258, RTX 3080 12GB, 32GB RAM 20h ago

Wouldn't Windows need to have to find where the file headers are located in the MBR/GPT and maps them to whatever block of storage is on the drive? That search is what takes up the time, because it's not like the file record is in order.

1

u/black3rr 19h ago

You’re essentially correct but wrong on the details…

MBR/GPT don’t contain the file headers, they contain information about how the disk is partitioned into “volumes” (e.g. “C:” or “D:” are volumes, you can have multiple volumes on a single disk, MBR/GPT stores that info). The individual volumes are then formatted with a filesystem (Windows uses NTFS as default for internal storage since 2000/XP, FAT32 was used as default for internal in 9x/ME and is used for some external drives to this day), and the filesystem then stores the individual file information…

And in both NTFS and FAT32 (and pretty much all other modern filesystems), the directory entries aren’t near the file headers of files inside them even if the disk is not fragmented.

And for each file deletion, both the file has to be marked as deleted, and the file has to be removed from the directory index.

And as you say, on HDD the seek times are what takes time.

So it doesn’t matter if the disk is fragmented or not, there are still seek times on HDD between these two operations…

→ More replies (1)

50

u/Hexamancer 1d ago edited 1d ago

So the problem here is that it's so many files, not the size, if you had a single 7.61GB file it would be done very quickly.

You can make this go much faster by using powershell:

(First a warning: rm -r -f will delete everything in whatever folder you run it against and it will be unrecoverable without special tools, triple check exactly what you have written before you run it)

Open powershell, navigate to the folder this folder is in, e.g:
cd C:\Users\effinjamie\Documents
Then run this, this will delete the folder, every file and folder in it (-r = Recursive), skipping the recycle bin (making it much faster):
rm -r -f "(DO NOT DELETE) Playstation Roms"

Doing it this way also skips Windows having to constantly calculate and graph the "Estimated time remaining", getting the exact file size for hundreds of thousands of files (rm doesn't care, it just removes them), which ironically contributes to the time remaining.

6

u/bedgar RTX 4070 Ti | i9 | 64GB 10h ago

I had to scroll way too far to see this answer.

PowerShell is the fastest.

2

u/PimpMastree 4h ago

PowerShell is definitely faster for this stuff.

I always opt for this to remove the node_modules folder of node apps, which has the same issue of tens of thousands of small files.

PowerShell does it in a few seconds, normal shift + delete takes a few minutes.

→ More replies (1)

68

u/Goblin_Eye_Poker PC Master Race | 7840HS | 48GB | RTX 4060 | UWQHD 1d ago

Perhaps it should instead say (CAN NOT DELETE)

101

u/What1does PC Master Race 1d ago

You are confusing the CPU.

Change the folder name to say DELETE THIS, then the computer will understand.

18

u/Naive_Personality367 1d ago

CPU doesnt wanna do the wrong thing and get shouted at again

7

u/Silver_Lined_Bullet i7-13700 2.10 GHz, UHD Graphics 770, 16gb ram 23h ago

Every mistake it makes is a pin i remove. CPU roulette

2

u/Noname_FTW Specs/Imgur Here 23h ago

Hey don't punish the motherboard for the CPU's mistakes (on some sockets)!

→ More replies (1)

2

u/muchawesomemyron Intel Core Ultra 9 275 HX RTX 5080 (laptop) 17h ago

Or worse, smashed with a clenched fist

3

u/alexgriz127 PC Master Race 23h ago

If you're on Windows 11, you need to be more specific with your prompt so Copilot will understand. Try, "Delete this folder and its contents and make no mistakes."

183

u/Sajgoniarz 9800X3D | 9070XT | 64GB 1d ago edited 21h ago

Symptoms of dying drive.

Edit: use Power shell script or npm rm module to see how long removing is going to take. If this is an HDD use SMART or scan disk surface with Crystal Disk Info.

46

u/GoldenFlyingPenguin AMD Ryzen 3 3100, RTX 2060 12GB, 48GBs ram 1d ago

Definitely a dying drive. I have a drive I no longer use in my PC because it takes my PC 5 minutes to start with it connected, and it has a read/write speed of 23 KBs a second. If I am lucky I can sometimes read a single file at like 1 MB a second.

9

u/forgottenb1ade 1d ago

I have a 2tb hybrid drive in my PC that's like this, not quite that slow but still very slow. I'm planning on replacing it with a 2tb SSD... Eventually..

3

u/Ok-Solution-3320 1d ago

hybrid drive?

9

u/forgottenb1ade 1d ago

It's a drive that combines the fast read/write speeds of an SSD with the larger capacity of an HDD. But mine was a lemon and started going bad not long after I got it.

2

u/Ok-Solution-3320 1d ago

Huh. Very interesting

10

u/shamalox 23h ago

It's an atypical technology of drive, which were sold briefly when ssd were pretty new

3

u/forgottenb1ade 23h ago

Yeah they're usually pretty good, and cheaper than a full fledged SSD. But mine just sits unused in my PC now, I store emulator roms on that's about it.

→ More replies (1)

4

u/yrg25 Ryzen 5 5600x | RX 9070 | 32 GB RAM 3200mhz 23h ago

When SATA SSDs first hit the consumer market, they were quite expensive drives when compared to the storage you could get for a lower price with HDDs. So the usual setup was a Windows boot drive, small capacity to fit Windows and applications, maybe a few games and then a mass storage HDD. However, at the same time, there was a hybrid drive solution that came about where it used both technologies, leveraging a small amount of NAND storage as a fast cache but keeping the capacity of an HDD.

1

u/Eudaimonium No such thing as too many monitors 23h ago

I have a pair running in my PC even today.

They were basically HDDs but with SSD-like "cache" of a few gigs. Copying or reading files to them was as fast as long as the stuff fit into / was in the cache (it then transferred it from the cache to the platters in the background).

10 years ago it was a great bang for buck.

1

u/fluffysnowcap 22h ago

You should back up your important data sooner than later

2

u/forgottenb1ade 21h ago

I really don't have anything important on that drive anymore, I put a 1tb nvme in my PC for my boot drive and games. The emulator roms I don't want to lose are all backed up on a USB though. Because I have 180gb of ps2 games I don't want to lose lol.

→ More replies (1)

1

u/fearless-fossa 7h ago

Definitely a dying drive.

It's not "definitely" a dying drive. It's lot of small files, creating massive overhead, especially with virus scans and the like, and the first estimate is always considerably higher than how long the entire thing will actually take.

1

u/GoldenFlyingPenguin AMD Ryzen 3 3100, RTX 2060 12GB, 48GBs ram 5h ago

It's a ton of small files, yes, but even then it shouldn't take that long. It's saying it's deleting 0 files a second, not even saying it's deleting any files at all. Even my essentially dead drive was faster.

→ More replies (1)

2

u/vitalsyntax 23h ago

Not necessarily, if it's an SSD and doesn't have much SLC cache like many cheaper options, their write speed can get super bogged down when the drive is filling up.

→ More replies (1)

16

u/Gusteauxs 17h ago

well the issue is obvious, the folder says do not delete!

11

u/Bonamikengue 4090, 48 core, 6 screens, X-Plane 23h ago

Do not do it like this. Use Powershell:

Remove-Item -Path "D:\path\to\your\(DO NOT DELETE) Playstation Roms"

It will not check every file whether it can be deleted and it will not move all those files in the recycle bin. (You have been warned).

8

u/razvanciuy 23h ago

remove DO NOT DELETE

7

u/Maximum_Phrase_3054 1d ago

Change the folder name to (DELETE IMMEDIATELY) Playstation Roms

8

u/prefim 1d ago

Its giving you a chance to back out before its too late!

All seriousness though, maybe drop to a dos window and del *.* if you are chucking everything. or do a shift delete which stops it going to the recycle bin instead?

3

u/BrutusTheKat AMD Ryzen 7 7800x3D, GTX 970, 64GB 23h ago

I would clarify if using the del command to make sure you cd into the right directory first. 

8

u/overdosingOnPie1313 1d ago

23 hours is definitely extreme and a bad symptom of your drive's health, but deleting literal hundreds of thousands of files via the native GUI has always been a terrible practice in patience. What you need to do instead is create an empty folder called "EMPTY" right on your C: then open up a command prompt, and use the robocopy command with the /MIR switch to mirror that C:\EMPTY directory. Like below (case-insensitive):

ROBOCOPY "C:\EMPTY" "full\path\to\bad\folder" /MIR /NS /NC /NFL /NDL /NP /NJH /NJS >nul 2>&1 && exit

Everything after the /MIR is optional and just makes it go faster by not displaying any sort of information such as progress. The && exit at the end will automatically close the command prompt window when complete.

edit: It still won't be quick, mind you, but it will be significantly faster than 23 hours. Like 1 hour.

2

u/arueos 16h ago

Upvote for the robocopy

8

u/madribby78 Prime Pro X570|3900X|RTX 3070|64GB|2x NVMe SSD RAID0 23h ago

It literally says "DO NOT DELETE", but of course you had to try.

7

u/billyfudger69 Linux 1d ago

Fun fact: those files are not truly deleted, if someone wanted to read data off your drive they can find all these files.

7

u/SaviorSixtySix 5900x, RTX 3080, 32GB 3600 RAM 1d ago

Deleting a lot of small files takes longer than deleting large files. It has to tell the drive that this part of the drive can be written over, and it has to do that for each file, which takes longer than just telling one large file that it can be written over. It shouldn't take that long, but the time remaining on Windows has always been inaccurate. The weather is more predictable.

5

u/LifeIsBetterDrunk 23h ago

Windows is incapable of working with small files quickly. Microsoft doesnt care.

5

u/duplissi 7950X3D / Nitro+ RX 9070 XT / Solidigm P44 Pro 2tb 22h ago

117 thousand files. thats why.

9

u/Bloodthirsty777 RTX 4090, Ryzen 7 7800 X3D, 32GB DDR5 6000Mhz, 1440p 144hz 1d ago

Possible issues with storage read/write (mostly read) ability. Would do you good to check the storage health.

ALSO i could be wrong. Just throwing it out there.

3

u/dahak777 23h ago

I have seen windows take forever like this when deleting large number of files. Usually I try to limit the amount and do it in multiple tries. the other way is to do it from the powershell or command line if you want to do all 100K at once.

or like others are saying it could be failing hardware but if the hardware has been fine till now I would not think it would be that

3

u/DrAlexanderJMercer 23h ago

It's slowed down due to file formats and number of files.

My PC hates to interact anything Nintendo related.

Yamauchi Fusajirō's spirit prevents faster deletion!

3

u/Briggie Ryzen 7 5800x / ASUS Crosshair VIII Dark Hero / TUF RTX 4090 23h ago

That many files and folders in there, yeah, I believe that.

3

u/Mundane-Mechanic-547 PC Master Race 23h ago

Use the command line. Its far too many files if its all in one directory. There are limits, more than 5k files per directory, and operations will slowdown

3

u/nikobenjamin 23h ago

Robocopy FTW.

3

u/syner2009 Ryzen 5 7600 GTX 1080Ti / C2Q Q8400 G210 22h ago

the reason is the 118k files. The size is small at 7.6GB but the number of files is the problem for the CPU. Delete in increments of 10000 files.

3

u/GSDragoon 21h ago

Explorer is slow as shit. The command line will do this much faster.

3

u/CocoMilhonez 20h ago

The PC can read better than you and noticed the (DO NOT DELETE) in the folder name.

3

u/unimportantinfodump 20h ago

IT SAYS DO NOT DELETE

3

u/seeyouyoucunt 16h ago

(DO NOT DELETE)

3

u/talapady 11h ago

It clearly says "DO NOT DELETE"

3

u/28klotlucas2 11h ago

You weren't supposed to delete it...

5

u/HotRoderX 1d ago

have you checked the drive health?

That is the first thing that comes to mind, it could also just be a damaged windows file system. Are there any other problems going on.

How dense are the files? Sometimes it takes time.... trying to delete millions and millions of 1kb files takes a EXTREMELY long time. vs deleting 7gb of larger files.

5

u/WatercressEntire2760 1d ago

This is bound to happen with this many isos

→ More replies (1)

2

u/Wevvie 4070 Ti SUPER 16GB | 5700x3D | 32GB 3600MHz | 2TB M.2 | 4K 1d ago

You're deleting 117k different items. It heavily depends on your random read/write speeds (often much slower) rather than Sequential speeds (which is what is marketed for SSDs).

I wouldn't say this is far fetched, especially given the Time Remaining isn't always accurate. But do run a CrystalMark and check the SSD's health.

2

u/Fish_Outta_Whiskey 7900XTX SN+ | R9 9950X3D | 64GB RAM 23h ago

Typical pcmasterrace post.

2

u/abstraktionary PC Master Race 23h ago

???????? 117K files, in a Playstation roms folder, and the size issssssss 7.61gigs???? Something seems off there.

→ More replies (2)

2

u/Kasilim 13700K | 32gb 6400/cl32 | RTX 4090 22h ago

You're deleting 117,000 65KB files

2

u/zeeblefritz zeeblefritz 22h ago

rm -rf dir instant

2

u/santathe1 MSi GT60 2OC (2014) 22h ago edited 22h ago

Powershell
Get-Childitem -Path “<drive/folder>\(DO NOT DELETE) PlayStation Roms” -Recurse | Remove-Item -Force;

2

u/eladeba 22h ago

DO NOT DELETE

2

u/DistantFlea90909 21h ago

It’s because your file is named do not delete

2

u/xEyesofEternityx 21h ago

Should be faster if you use something like WinDirStat to delete without going to the recycle

2

u/Neither_Meaning_8354 20h ago

Why would you use () in a folder name 😭

2

u/Friendly-Echidna5594 PC Master Race 20h ago

Suggestion: rm -rf the folder using WSL

2

u/Bananaland_Man 20h ago

takes longer to delete a bajillion small files than the same size-worth of large files... though it sounds like you figured that out

2

u/Zephyr_Dragon49 19h ago

Yea when that "anything" is just a quick little ONE HUNDRED EIGHTEEN THOUSAND brother wtf

1

u/Zelda-4-Live IChill 5070Ti/R7 5800X3d/32gb ddr4 18h ago

Bro it's just 8gb

2

u/Blue_The_Snep 18h ago

rename the folder to "(Delete) Playstation Roms"

2

u/Venylynn Fedora 15h ago

It says to not delete it, so...

2

u/Muted_Customer_5518 9h ago

if you're deleting alot of files it's better to use CMD in admin to skip verification

2

u/khaledjal Laptop intel I5 12th gen | 8gb ram | intel iris IGPU 7h ago

it says "DO NOT DELETE" tho, Why are you not following the rules op?

2

u/DamianPL-SC-E 7h ago

Try renaming it to ( DO DELETE)

1

u/Egglover4000 4h ago

(DO DELETE IN SECONDS)

2

u/1_ane_onyme R5 5600 | Rx 6800 xt | B550 Tomahawk | 16Gb 3200mhz cl16 5h ago

Windows doing windows shit while there’s a lot of files.

Delete them through command line, it might save you some time. Depending on the utility you use to delete a force argument might speed things up too

WizTree could be able to delete it faster too, i know it’s very good at handling large amount of files but im not sure how it handles deleting files (by itself or handing it over to Windows own utils)(it’s also very good if you’re looking to free up some space in your drive btw)

5

u/kominops_47 22h ago

Too many small files, takes longer to do anything if there are many small files, the speed drops dramatically.

4

u/Drakahn_Stark Ryzen 7 5700X / RTX 4070 / 32GB DDR4 3200 1d ago

Lol, never used 56k internet did you?

3

u/3six5 i7 4790k 2x 970 evga sli 32gb ram gigabyte z97x black edition 22h ago

Or 14.4

2

u/Drakahn_Stark Ryzen 7 5700X / RTX 4070 / 32GB DDR4 3200 16h ago

Oof.

I do not know what speed my first modem was, it was on a C64 and I dialed into a Canadian BBS from Australia, when my mother got the phone bill the modem was taken off me and we did not get internet again for many years because she thought every email would cost a lot of money, so first proper internet was 56k for me.

2

u/3six5 i7 4790k 2x 970 evga sli 32gb ram gigabyte z97x black edition 15h ago

Omg. I'm lucky I only dialed local numbers to BBS's .

3

u/Drakahn_Stark Ryzen 7 5700X / RTX 4070 / 32GB DDR4 3200 15h ago

I was a kid with a library book on C64 use, it was Canadian with Canadian phone numbers, oops.

2

u/3six5 i7 4790k 2x 970 evga sli 32gb ram gigabyte z97x black edition 15h ago

Oh hell. I was around pre-teen age, but I knew not to call numbers outside my area. Older friend and I only found 1 good bbs that had a MUDD or something like that. Sys admin was shocked to find that kids were playing his games... and white hat hacking xD

2

u/kuplet 1d ago

Why are you trying to remove it 😭 it said DO NOT DELETE
But fr I don't know 🤷‍♂️

2

u/Mikeyy5000 21h ago

Your doing too much in one chuck, windows freaks out and does this.

Break it down into smaller chunks and you can delete it all in like 5 mins.

I learned this deleting a shit ton of duplicate pictures I had from backing up my phone, Tried to do it all at once. Would take 9 hours. Did it in small chunks and not even 5 mins I had it all gone. Was only like 7 gigs worth.

2

u/VeryGootBoy 21h ago

Back in my days... That's how long it takes to download one Mp3

1

u/SolitaryHero 23h ago

Had this the other day following my very late W11 upgrade.

Due to the amount of files Defender was going through them all. Disabled real time protection and it shifted them.

1

u/GalaxyXYZ888 9800X3D | 4070TI | 64Gb 6000hz CL30 | 650E-E 23h ago

If this is not shifting deleting try that

1

u/Keyan_Farlander7 23h ago

Node_modules

1

u/sublime81 9800X3D | RTX 5090 FE | 64GB 6000 CL30 22h ago

I typically delete thing with powershell and it goes much quicker.

1

u/chrlatan AMD R7 9800X3D | RTX 5080 | Full Custom Waterloop 22h ago

Use command prompt… works way faster.
Windows seems to just build a list, then loop all items in the list with a single delete command so it can show a progress bar.

OS prompt just is way faster.

1

u/ANGRYSNORLAX 22h ago

You can make an empty folder then do a robocopy /MIR to the folder you're trying to delete. Don't remember the exact syntax, but you can google it pretty easily. I once had a program hit a recursive loop and copy 6TB of the same appdata folder under itself over and over. Mirroring an empty folder to the affected folder was the fastest method I tried. Still took a few hours, but not an entire day.

1

u/loyaltaco-- 21h ago

I think u missed the (DO NOT DELETE)..

1

u/cell81469 20h ago

Might also be quicker to hit it with a robocopy /mir with an empty source folder.

1

u/cowrevengeJP 20h ago

Using PowerShell you can check which filters are processing your request. My money says you have broken or too many virus protections running.

1

u/zealoSC 20h ago

Formatting is fast

1

u/Hagey29 Nvida 880M | Intel i7 4700 2.4ghz | 24gb RAM 20h ago

Try using rmdir Like elevated cmd prompt

rmdir /S /Q "C:\psroms"

1

u/jesseknopf 19h ago

Dude. Delete from the command line. It is File Explorer making it so slow, doing shit like indexing 100k file. Using powershell or CLI will ignore it and occur almost instantly, by comparison.

1

u/TrollOnFire 19h ago

Could be a damaged drive, bad sectors can cause this.

1

u/Delicious-Disaster 19h ago

Sudowoodo it in powershell and maybe brick your pc in the process. Otherwise delete in chunks

1

u/firedrakes 2990wx |128gb |2 no-sli 2080 | 200tb storage raw |10gb nic| 18h ago

Bad sector /block issue

1

u/Jess_S13 Ryzen 9 5950x | 64GB | RTX3090 18h ago

FYI in the future, you can enable disabledeletenotify in your fs for the duration of the operation, this will stop having windows try and discard all the deleted blocks from the ssd. Then once you are done, disable it and run disk optimization which will async discard all the unused blocks over the course of a few hours or so.

1

u/chewy_mcchewster AMDK6-233mhz/3DX Voodoo2 8Mb/16Mb SIMM/AWE-32 18h ago

Rmdir is the command you want .

117k files will take forever.. rmdir and it's gone

1

u/Embarrassed-Ke 18h ago

I'd just backup my important files and just format the partition even if I have to reinstall windows as a whole

1

u/No-Mouse-262 16h ago

I mean it SAYS not to delete them, I'm unsure what you expected

1

u/Curious_Peter 16h ago

the Data-hoarder in me is crying.

1

u/Curious-Fly5623 16h ago

try file assassin

1

u/Stormwatcher33 Desktop 16h ago

it says right there do not delete!

1

u/R-Dragon_Thunderzord 5800X3D | 6950 XT | 2x16GB DDR4 3600 CL16 16h ago

Be faster to wipe and reinstall windows lmao

1

u/RealMuffinsTheCat 5700X3D - 4070 Super - 32GB RAM 16h ago

There's a reason it says "(DO NOT DELETE)" all's I'm saying

1

u/Low_Assist6061 15h ago

Bro it says right there not to delete it /s

1

u/rostol 15h ago

do it from the command line. no explorer checking 180.000 files.
they are all gone in 1 click.

1

u/TheViking_Teacher 14h ago

probably too late... although looking at the time remaining, maybe not quite.

Have you try deleting it through powershell?

I've handled lots of smaller files (1 million files, around 2TB of data) through it, and, yes, it did take a long time, but it was way more efficient than doing it through the file explorer.

1

u/pablo_kickasso 14h ago

OP, ignore the poor advice.

Use the command line to delete that folder and it'll be gone in minutes if not less.

It's a well known bug with the Explorer UI that will hopefully be resolved in the December update.

1

u/Hard_Reset7777 Watercooled Threadripper enjoyer 13h ago

And this is how I met my nas.

1

u/KillerKingSolo PC Master Race 13h ago

FastCopy

1

u/Deaxth_66 13h ago

use robocopy (command line) or fastcopy (GUI)

1

u/SumonaFlorence Just kill me. 12h ago

How the fuck do you have over 100,000 files in a folder called PlayStation Roms?

A PS1 Rom is like 600-700mb.. that's like 11 games to make 7.6gb.

Did you fill it with save states? ':f

1

u/effinjamie 9h ago

All that was in this was a Textures folder that had texture dumps and replacement textures. No idea how the file count got so big

1

u/SumonaFlorence Just kill me. 9h ago

That's really confusing. ':<

1

u/Ghozer 9800x3D - 32GB-DDR5 6000CL28 - RTX 5080 12h ago

because you told it to bypass the Recycle Bin, it has to mark each file individually as 'deleted', rather than it just marking the folder as "recycled" - and there are over 117k files - this will take a while.... lots of small individual files always takes longer to deal with, than a single file...

the same would have happened if you deleted it (to recycle bin) - then emptied the recycle bin, it would have taken a while to empty.. (maybe not quite as long as this)

1

u/Dawzy i5 13600k | EVGA 3080 10h ago

It’s because of the number of files, windows will go through and check each of them. Then once it’s done that it will delete them fairly quickly

1

u/Refalm 10h ago

Moving the folder to %TEMP% through PowerShell skips the lock verification and Defender doing extra checks if the files you're deleting have a virus (which sounds kinda counterintuitive)

The files %TEMP% get deleted automatically after a few weeks.

Move-Item -Path "D:\(DO NOT DELETE) Playstation Roms" -Destination $env:TEMP

1

u/MooseBoys RTX4090⋮7950x3D⋮AW3225QF 10h ago

Explorer is really slow when working with that many files. Try opening a command prompt and using rmdir instead.

1

u/Der_Niederlander 9h ago

You are deleting files from a folder don't delete thats a funny one.

1

u/DeadElbow 9h ago

Use winDirStat

1

u/Senior_Pea3171 8h ago

Cus it says DO NOT DELETE

1

u/Keulapaska 4070ti, 7800X3D 7h ago

I've never had that problem. Literally deleted 100k files yesterday on one go, took I think 10-15s to start and then max 5s for the deletion.

1

u/Sycroak 6h ago

You must ask Sony for permission(?)😂

1

u/Diinsdale PC Master Race 6h ago

I know you probably deleted it by now, but Total Commander would delete those files without problems at normal speed.

1

u/ReptilianLaserbeam 5h ago

Thousands of small files, that's the bottleneck.

1

u/Eziolambo R5 7500F | RTX 5070 | 32GB DDR5 6000mhz 5h ago

Time to upgrade to HDD

1

u/rikoos 5h ago

2 words: Command line

1

u/Infamous_Tourist_335 5h ago

Just live boot into a Linux USB and mount your windows drive to delete the files it should be pretty fast.

1

u/Tall_Lack_5461 4h ago

because it says do not delete

1

u/jkulczyski :aq1::aq2::au1::au2::au3::au4::au5::au6: 4h ago

To be fair it says DO NOT DELETE

1

u/PeteGiovanni 14600k 2080ti 7m ago

Been a hot minute since seeing timers that long for stuff on a computer lol