Why is Your Windows Virtual Machine Running So Sluggishly?
Installing a clean version of Windows 10 or 11 (original ISO from Microsoft) on VMware often leads to a frustrating experience. Even without any applications installed, the virtual machine can consume 2.5GB to 3GB of RAM, and CPU usage spikes every time Windows Update runs in the background. By default, Windows carries too much “dead weight” for a virtualized environment—from Cortana and OneDrive to shadow effects and Telemetry systems constantly sending data back to Microsoft.
In the past, I used to spend hours opening services.msc and the Registry to manually disable each feature. This method was not only time-consuming but also prone to system errors if something was accidentally deleted. VMware OS Optimization Tool (OSOT) emerged as a lifesaver. This specialized tool helps transform a heavy VM into a lightweight, high-performance machine in just a few minutes.
When I migrate labs from VMware to Proxmox, optimizing the Guest OS remains a top priority. Regardless of which platform you use, saving resources for the host server is always a critical challenge.
What is VMware OS Optimization Tool (OSOT)?
Initially, VMware designed OSOT specifically for VDI (Virtual Desktop Infrastructure) systems like VMware Horizon. The main goal was to increase VM density on each physical host by streamlining Windows as much as possible. Today, tech enthusiasts frequently leverage it to optimize virtual machines running on VMware Workstation or ESXi for simulation purposes or lightweight server hosting.
OSOT operates based on Templates (rule sets) built by experts. It scans the entire operating system, compares it against the template, and provides the best optimization recommendations for a virtualized environment.
Preparation Before “Surgically” Tweaking the System
Never forget the golden rule: Always take a Snapshot of the virtual machine before proceeding. OSOT makes deep changes to the registry and system settings. If an application you need is accidentally disabled, a Snapshot will be your safety net to return to a stable state immediately.
- Shut down the VM and create a Snapshot named “Before running OSOT”.
- Download the tool from the Broadcom portal (or the legacy VMware homepage). This is a standalone
.exefile that runs without installation. - Ensure that you have already installed VMware Tools on that virtual machine.
Professional Windows Fine-Tuning Steps
First, copy the VMwareOSOptimizationTool.exe file into the virtual machine and run it with Administrator privileges.
Step 1: Analyze
In the Optimize tab, the tool usually auto-detects your Windows version (e.g., Windows 11 23H2). Simply click the Analyze button. After a few seconds, OSOT will list hundreds of items. Red indicates non-optimized components, while green signals an optimized state.
Step 2: Customize the Optimization List
You shouldn’t click Optimize immediately. Take a moment to review the list, as there might be features you still need:
- Windows Update: Uncheck this if you want the VM to continue receiving periodic security patches.
- Windows Search: Keep this enabled if you frequently search for files via the Taskbar.
- Microsoft Store: Some aggressive templates will completely remove the Store. Be careful if you need to install apps from here.
Step 3: Execute Optimization
Once you’ve finalized your list, click Optimize. This process usually takes 1 to 2 minutes. The tool will automatically execute a series of PowerShell commands and Registry tweaks to clean up the system.
# Example OSOT command to disable telemetry services
Stop-Service -Name "DiagTrack"
Set-Service -Name "DiagTrack" -StartupType Disabled
Step 4: Finalize
The Finalize tab is a crucial step for optimizing disk space. Here, OSOT will delete temporary files, clear the Windows Update cache, and perform disk compression. If you plan to use this VM as a Template for cloning, use the Generalize tab to run Sysprep.
Real-World Results: The Numbers Speak for Themselves
After optimizing and rebooting, the difference is clearly visible in Task Manager. Here are the results I typically achieve on a Windows 10 Pro version:
- Idle RAM: Reduced from 2.2GB to approximately 850MB – 950MB.
- Process Count: Reduced from 160 to around 65-75 processes.
- Disk Space: Saved an additional 3-5GB by removing junk files and redundant components.
You can use the following PowerShell command to quickly check current RAM usage:
Get-Process | Measure-Object WorkingSet -Sum | Select-Object @{Name="UsedRAM_MB"; Expression={$_.Sum / 1MB}}
Notes from Practical Experience
Through many deployments, I’ve gathered some valuable tips. First, don’t overuse the “Aggressive” mode if you use the VM for standard office work; it might break printing features or network file sharing. Second, whenever Windows performs a Major Update, some settings might be overwritten. In that case, simply reopen OSOT and run Analyze again to restore the optimized state.
Conclusion
VMware OSOT not only makes your virtual machines run faster but also significantly reduces the load on your physical host. This is an essential skill if you want to manage virtualized systems professionally and efficiently. Remember to always Snapshot before testing new templates!

