Guide Optimizations for KVM/Virtual

Not open for further replies.


Staff member
May 26, 2020
These are Optimizations I recommend for anyone running Windows in a KVM/VFIO Guest setup.

Disable Search Index Options:

Start by disabling Windows search indexing. This can take up precious I/O or CPU cycles.
  1. Open Start Menu and search indexing options, and select the result of the same name.
  2. Select Modify at the bottom to manage the indexing locations
  3. Uncheck all the locations.
  4. Check the Advanced options once you are done. Make sure that the options "index encrypted files" and "treat similar words with diacritics as different words" are not selected.
Disable content indexation:
  1. Open File Explorer.
  2. Right-click on the drive and select properties from the context menu.
  3. Go to the General tab if it does not open automatically.
  4. Remove the checkmark from "Allow files on this drive to have contents indexed in addition to file properties".
  5. Confirm the Attribute changes by selecting "apply changes to drive, subfolders and files, and click ok.
The process may take a while before it completes. It can run for minutes and even longer than that depending on the size of the drive. You may get an access denied error. I suggest you select "ignore all" when that happens to tell Windows that it should ignore any future access denied error automatically.

Disable Superfetch:

This process is known to use up a lot of CPU and if you just use your VM to game you don't need it. To disable it permanently (or until Windows switches it on again, which can happen after you update the OS),

Open Powershell as an Admin
Stop-Service ServiceName; Set-Service superfetch -StartupType Disabled

Disable Windows Defender:

Open Powershell as an Admin
Set-MpPreference -DisableRealtimeMonitoring $true
You can also just completely remove it with
Remove-WindowsFeature Windows-Defender, Windows-Defender-GUI
Recommended Utilities:

o&o shutup10 - Disables a lot of unneeded processes/services to optimize CPU usage.
Not open for further replies.