ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • VVF 9 and VCF 9
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Windows Server 2025
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

Reduce Windows 10 size With Built-in App Called CompactOS – The Steps

By Vladan SEGET | Last Updated: October 26, 2015

Shares

It's possible to Reduce Windows 10 size on a c: drive, but the mechanism has to be activated manually. It can safe few gigs of storage on your c: drive if you have space problems. The app is called CompactOS (command line utility) and contrary to WinBoot from W8.1, it can be configured (by simply running from command line) after Windows is installed. Previous release of Windows, which was Windows 8.1, was able to use WimBoot (It’s called Windows Image Boot) by using the restoration partition containing the recovery WIM image as target for booting the system. But it's utilisation was limited to SSDs (no hybrid or DD support).

How CompactOS works?

It's a new component Windows 10 which new compression mechanism known as Compact OS. Using the new tool , the Windows 10 files are putt into a hidden container where they are compressed. So by doing this you free more space on the root drive. I tried on my laptop with a 256Gb SSD and the tool has showed some 3-4 gigs of storage space savings after it's been run.

The big difference here is that unlike WIMBoot, CompactOS can be enabled and disabled as you wish.

The Commands line commands:

There are 3 commands that can be used to query, to activate or to deactivate the mechanism. The first one will simply query the system.

Compact.exe /CompactOS:query

This will query Windows to see if CompactOS is enabled or not. In my case the system did not activated the compression by default because the drive has plenty of space (over 60 gigs free) despite the fact that I run some VMs and using VMware Workstation.

Windows 10 CompactOS

Compact.exe /CompactOS:always

This will enable CompactOS

CompactOS

After few min of compression you'll get this screen…

CompactOS compression finished

Compact.exe /CompactOS:never

This will disable CompactOS

The tool is easy to use, but obviously there is a trade off. When accessing the compressed files, those has to be un-compressed on-the-fly so there might be a performance impact. In addition, the savings arent't that spectacular. As you can see, some 3 gigs of space was saved only.

So final worlds. Good to know it exists. If you need it, use it.

I know that I won't be using it as I privilege maximum speed and I do not need to recover space on my c: drive. The feature is there, that's the fact, but it does not mean that you have to use ALL feature of Windows 10, just because that there are there… -:) Enjoy.

Source: Technet

Shares
5/5 - (2 votes)

| Filed Under: How To Tagged With: Reduce Windows 10 size

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Chandan says

    January 20, 2016 at 10:11 pm

    I have a notebook with 32gb emmc storage. Your article helped me a lot to save some gb. Thanks 🙂

    • Vladan SEGET says

      January 21, 2016 at 7:29 am

      Glad it helped -:) Thanks for your comment.

  2. Tomkan says

    January 5, 2019 at 6:44 pm

    Note, that COMPACTOS works for Windows Server 2016 too. Found it useful for increasing VM density on SSD.

    • Vladan SEGET says

      January 5, 2019 at 9:53 pm

      Thanks, good to know…-:)

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Zerto 10 U7 – Ransomware Defense and Disaster Recovery on VMware vSphere and other virtualization platforms
  • Another VMware Alternative Called Harvester – How does it compare to VMware?
  • Dream Lab with PCIe Gen 5.0 M.2 NVMe Storage
  • Backup solution that supports 15+ Hypervisors – Vinchin Backup and Recovery
  • Why NordVPN is Your Must-Have for Business Security and Personal Freedom
  • Agentless Backup Solutions for XCP-ng Hypervisor: External Vendor Options
  • Vinchin Earns Acclaimed Recognition in Gartner Peer Insights 2025 Report
  • VMware vSphere 9 Standard and Enterprise Plus – Not Anymore?
  • Free Virtual Backup Appliance from StarWind – With Community Support (example configuration for ESXi and Veeam Backup)
  • VMware vSphere Foundation (VVF 9) and VMware Cloud Foundation (VCF 9) Has been Released

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Hosted with HostColor.com