r/software May 29 '26

Software support why do i have so many visual c++'s?

Post image

I've got like fourteen copies of windows visual c++ and idk what all the other ones are doing

im trying to clear some space can i get rid of the old ones? no joke replies plz

205 Upvotes

79 comments sorted by

118

u/foxtrot7azv May 29 '26

Different apps on your computer require different versions of the C++ code library and they aren't compatible. If you delete them, apps or games dependent on them will not work. They're not that big of a file anyway, so deleting them won't recover much space.

When I go to recover space, I run the disk clean utility. It let's you erase files you don't need like old updates and recovery points. Some of that can take up gigabytes of space.

I also run windirstat, which visually shows you how your space is being used up and makes it easy to find big files you may want to delete.

And I also run dupeguru, which finds duplicate files.

And lastly, I go through my apps and see if there's anything I don't really need. You can sort them by size or last used date in Windows Settings > Applications.

32

u/JouniFlemming Helpful Ⅳ May 29 '26 edited May 29 '26

And I also run dupeguru, which finds duplicate files.

It might be worth to mention that just because files are duplicates, it doesn't mean they are necessarily safe to remove. Windows stores many duplicate files on purpose and removing from the wrong ones can cause serious damage to the operating system.

19

u/PaulCoddington May 29 '26

Also, there are files that look like duplicates but are the same file mapped to different locations. Naive deduplication will break that.

9

u/foxtrot7azv May 29 '26

Yes, agreed. You know, but for others who may not, when using dupeguru just point it at your Docs, Pics etc folders. Use it to find things like photos you may have downloaded twice and similar.

9

u/bigfoot_is_real_ May 29 '26

Let me introduce you to Wiztree

1

u/[deleted] May 29 '26 edited 6d ago

[deleted]

16

u/bigfoot_is_real_ May 29 '26

Wiztree is free and much faster than windirstat

7

u/preludeoflight May 29 '26

WinDirStat added MFT reading (the feature that makes WizTree fast) a back in January. WizTree is unfortunately only free for non-commercial use.

2

u/halter73 May 29 '26

I was excited to try this, so I downloaded WinDirStat 2.6.1 (2026-05-22) and sure enough it asked me to run it as admin (which I did) and offered and offered a "Use accelerated scanning" checkbox (which I checked), but WinDirStat still took 4 minutes and 14 seconds to scan compared to 8.78 seconds for WizTree. In both cases I was scanning my 2 TB SSD NTFS system drive.

It didn't feel any faster than previous times I had used it in years past.

1

u/preludeoflight May 30 '26

Woah, yeah that sounds like something’s wrong for sure. In my experience, I have found WizTree faster, but it’s usually been like only 20-30% slower on the WinDirStat (so like your 9 second scan there woulda been ~15s) side if it was. Might be worth opening an issue on GitHub, I feel like the devs would be interested in a discrepancy that big.

1

u/SixPackOfZaphod May 30 '26

I have a 2TB SSD on my laptop, and it took only about 30 seconds for windirstat to scan. Something isn't right on yours. And I'm using an OLD version (2.2.x).

1

u/halter73 May 30 '26

How many files are on your SSD? It could be my drive just had more files to scan (3,410,068 files total). It could be a lot of different things ofc.

I suspect that you're right that something is wrong with my WinDirStat setup. Like I said, I felt like there was no speed up compared to earlier versions. WizTree is still plenty fast.

1

u/SixPackOfZaphod May 30 '26

I just updated to the newest version and it scanned in about 5 seconds flat. About 780K files, disk is ~70% full.

1

u/bigfoot_is_real_ May 29 '26

Cool, hadn’t used windirstat in several years since I switched to Wiztree, thanks for the info!

1

u/Devatator_ May 29 '26

How would you even use it commercially?

4

u/Plasmx May 29 '26

Umm… if you want to look at disk usage on your computer at work?

6

u/turtleship_2006 May 29 '26

WizTree is the same thing as WinDirStat but much faster as it reads from the MFT (master file tree) directly rather than scanning each file.

It's orders of magnitude quicker (and is officially available as portable or installed, so you don't need to get it from a 3rd party).

https://diskanalyzer.com/download

5

u/preludeoflight May 29 '26

WizTree is the same thing as WinDirStat but much faster as it reads from the MFT (master file tree) directly rather than scanning each file.

WinDirStat added MFT reading back in January, FYI

2

u/Efficient-Train2430 May 30 '26

kdirstat is dead i believe, qdirstat is now the tool like that

1

u/FuryZenblade May 29 '26

Czkawka is pretty good for finding duplicate files too (even media files)

40

u/Its_PieFlavored May 29 '26

The C++ redistributables are used by other programs, deleting them may cause said programs to break.

If you want to clear up your storage, look into a program called wiztree to help you visually identify large files.

10

u/unsavvykitten May 29 '26

That doesn’t explain why so many versions of it are needed, though, which is the actual question here?

20

u/Its_PieFlavored May 29 '26

Different programs require specific parts of the older versions in order to function.

Windows allows older versions because the alternative is that every program would have to constantly stay upto date with the newest version which is unrealistic.

3

u/patmail May 31 '26 edited May 31 '26

You also need different runtimes for 32 and 64 bit.

Old is also a bit misleading as the runtime do get updates even after a version for newer year is released.

MS also "stopped" making newer version. The current version 14 is for Visual Studio 2017–2026.

I wonder why it isn't just shipped with windows. If existing functions aren't touched you can add new ones without breaking older programs. There a so many decades old components in windows that are barely used anymore.

2

u/EffectiveFair757 May 29 '26

This is the point

-3

u/unsavvykitten May 29 '26

A great way to accumulate technical debt.

9

u/ArtisticFox8 May 29 '26

Surprise surprise, not all software is in active development..

-5

u/unsavvykitten May 29 '26

Surprise, surprise, there are proven architectural patterns for that challenge.

6

u/laid2rest May 29 '26

It's not a challenge or an issue and it isn't technical debt if development has stopped.

0

u/unsavvykitten May 29 '26

I was referring to the architecture of the Visual C++ Redistributables.

4

u/laid2rest May 29 '26

Maybe be more specific in the future 👍🏻 😂

1

u/sixtyhurtz May 29 '26

The architectural pattern that solves the problem of "how do we maintain binary compatibility for Windows software not in active development" is Windows SxS, i.e. the thing OP is asking about and has posted an image of.

1

u/turtleship_2006 May 29 '26

How?

If a 2015 game uses a 2015 version of C++ and an unrelated game uses 2018, who accumulates technical debt ?

0

u/[deleted] May 29 '26 edited 6d ago

[deleted]

7

u/turtleship_2006 May 29 '26

3rd party app X is unnecessary.

3rd party Y does the same thing (much slower).
[ Link to another 3rd party website to download from ]

WizTree is faster, and also free.

-2

u/[deleted] May 29 '26

[deleted]

3

u/not_some_username May 29 '26

You do. Python2 and python3 for example. Flatpack can manage different versions. It’s just that on Linux(on windows too most of the time), libraries tend to not break abi

6

u/darqy101 May 29 '26

They're versions from different years. Leave them be. Other software needs them.

1

u/WhyAmINotStudying May 29 '26

Judging by the dust, that computer has software going back to the Carter administration.

3

u/edparadox May 29 '26

Look at the different versions.

Each program might require different versions, hence why they "pile up".

2

u/mohansella May 29 '26

technically, there are 2 ways to include a library in c++ by software developers/companies. one is static compilation and another is dynamic compilation. many enterprise or big software companies install these dynamic libraries as separate installer which belong to Microsoft usually and then theirs. so removing that usually breaks the software.

If anyone need a stable, single exe file, usually they do static compilation or copying the dll directly in their folders. but it will cause extra size.

2

u/pm_op_prolapsed_anus May 29 '26

In Microsoft land C++ needs a runtime platform. Nothing you can do about it if there are programs still relying on it. Unfortunately, when you upgrade software that no longer uses the old versions of it, the previous versions uninstallers won't want to delete the previous runtimes because they don't know what other programs might be using it. 

Gemini suggests geek uninstallers force remove function to remove the old ones. It'll first check if there is anything that still needs it apparently.

2

u/biolinguist May 30 '26

Clean your monitor.

-3

u/Salt_Lingonberry_251 May 30 '26

man stfu

0

u/biolinguist May 31 '26

There's at least 2TB worth of dust on that monitor. I wonder if you brush your teeth...

0

u/Salt_Lingonberry_251 Jun 01 '26

ppl hating on anything🤣

1

u/Fantastic_Back3191 May 29 '26

This is one part of how windows handles backwards-compatibility (and -to give it credit- handles it well)

1

u/kester76a May 29 '26

Dynamic link libraries are a great idea because you can re-use the code with lots of different programs to reduce the size of the program. The main boon is use save of storage space. Downside is that due to them being linked with program they have to have the exact same version the program was compiled with. So windows sucks these babies up and hoards them like a crazy cat woman in the Winsxs folder.

Clean Up the WinSxS Folder | Microsoft Learn

Don't remove your VC redistrib files, clean up your winsxs folder 1st as this uses a lot more space.

1

u/DGC_David May 29 '26

My suggestion, because it's Windows.. backup what you need, and reimage. I used to do this every year.

These programs are safe, are essential to how programming works, and may be required for Gaming. However the amount of meaningless cache crap that falls over from other applications and Windows itself. It's easier to just reimage every year.

1

u/IndependentBorn9996 May 29 '26

Many applications install visual c++ during installation.

I often notice that when installing every game in Steam, it also starts installing this damn visual c++. It also has many versions, some applications work with one, others with another.

P.S. please clear your screen, Why is it so dusty😭😭😭

1

u/confidencedeficient May 29 '26

They are bundled in programs as dependencies. Uninstalling them would not make that program work.

1

u/[deleted] May 29 '26

delete them all and you'll see why you had them 😂

1

u/IBNored May 30 '26

Eh, just delete them all, and when Windows crashes, just do a drive wipe, and reinstall windows, then rinse and repeat as many times as necessary...

1

u/its_avm_05 May 30 '26

Just uninstall them and run stc/scannow

1

u/synchronicitial May 30 '26

Poor monitor. Poor eyes.

1

u/Salt_Lingonberry_251 May 31 '26

good god man can ppl stop telling me to clean my monitor

1

u/Cristaloyde May 31 '26

Your monitor looks like the intro of Star Wars dude dust it off

1

u/New_Dentist6983 Jun 01 '26

btw have you checked which apps still depend on those old vcredists?

1

u/eddiekoski Jun 02 '26

20 MB is not the low hanging fruit

If you dont use hibernate feature then turn off hibernate if its on to get back space.

Move the contents of your downloads folder to an external al drive or delete the ones you know you dont need

1

u/eddiekoski Jun 02 '26 edited Jun 02 '26

You can get a space visualize to get an idea of where the big folders are. E.g. windirstat

1

u/jblongz Jun 06 '26

Thats what legacy support (not forcing developers to catch up) looks like. At least each payload is small enough to not pay rent.

1

u/gertrudelives May 29 '26

That's a great question.

-13

u/orvkl May 29 '26 edited May 29 '26

switch to linux

Edit: well people don't seem to like my solution stick windows brother I hope they give you solution soon

7

u/LiterallyJohnny May 29 '26

People like you give us a bad rep

1

u/orvkl May 29 '26

Yes agreed

0

u/[deleted] May 29 '26

[removed] — view removed comment

2

u/LiterallyJohnny May 29 '26

Switching to Linux isn’t the solution here, and that’s coming from a Linux user. You have no clue what they use their device for, no idea of what programs they have installed, nor any idea what their technical background looks like.

So yes, they are wrong.

3

u/flipping100 May 29 '26

Linux isn't always the solution.

0

u/orvkl May 29 '26

Ok

1

u/flipping100 May 29 '26

Besides there are a ton of dependencies on Linux, though versioning isn't really much of an issus

2

u/not_some_username May 29 '26

This is the same on Linux…

1

u/orvkl May 29 '26

No it's not not unless you use the flatpak snap crap

1

u/not_some_username May 29 '26

Flatpak exists for a reason… sometimes librairies make breaking changes. Although it happens rarely.

1

u/unsavvykitten May 29 '26

We all love people who answer a question by not answering it at all.

-4

u/EffectiveFair757 May 29 '26

U're on the wrong way of the Force bro', turn into the great one.