I was using transparent disk compression ~35 years ago on an 8088 running MS-DOS and Stacker, to eek a bit more storage into a 20-megabyte MFM ST-225 hard drive.
It's been a built-in for many systems for decades. Windows can do it. I'm using it today with ZFS, where it's essentially free on modern-ish hardware.
This was a built in feature of DOS, not Windows.
It was introduced in MS-DOS 6.0 -- in fact it was the major feature.
It rivalled DR-DOS 6 which bundled a 3rd party disk compression program called SuperStore, which DR licensed in.
Microsoft invited other disk-compression vendors to send in their code for MS to look at and maybe license. STAC gave them the source code to the industry #1, Stacker.
(Stacker even worked on OS/2 2, a major technological feat. I ran Stacker in DOS + OS/2 dual-boot. I really recommend nobody ever tries this -- it was a nightmare.)
MS being MS it just stole the code. It took some of the core Stacker algorithm, and the driver architecture from another rival product ("DoubleDisk" from Vertisoft), and built it into MS-DOS 6 and called it DoubleSpace.
Never trust Microsoft. I don't care what your SLA says.
MS-DOS 6 was buggy AF. MS issued an update, MS-DOS 6.20.
Stac noticed the stolen code. It sued. It won.
https://msversus.org/archive/stac.html
Microsoft issued an "update" called MS-DOS 6.21 without DoubleSpace.
It rewrote the offending code and issued MS-DOS 6.22 with DriveSpace instead.
It's the same system with some lines changed.
Reminder: Never trust Microsoft.
Windows 95 and 98 just inherited DriveSpace from MS-DOS 6.22.
Apparently it was called DriveSpace: https://de.wikipedia.org/wiki/DriveSpace