Advertisement

How to enable Windows 11 Rounded Corners and Mica in a Virtual Machine

When installing Windows 11 in a Virtual Machine (Hyper-V or VirtualBox), it shows no Rounded Corners nor Mica effects. The appearance the operating system gets looks a bit aged. It is hard to say at a glance if you are working with Windows 11 or with its predecessor, as all window frames will have square corners. Here's how to fix it and enable rounded corners in a virtual machine.

Advertisеment


One of the drastic user interface changes in Windows 11 is the style of the window frame and its effects. Unlike in previous versions, Microsoft made the corners rounder. The titlebar now has a nice "Mica" effect, which blends your wallpaper with the window background.

Depending on the screen position, the titlebar changes its gradients and color. It also changes when you switch between apps. The adjustment allows to easily differentiate the active and inactive window. That's how Mica works.

But after installing Windows 11 in a VM, you will find that the rounder corners are missing, along with Mica effects. That's because the emulated graphic device is poor, especially in Hyper-V and VirtualBox. It causes the operating system to reduce its resource usage by disabling most of GUI enhancements.

Windows 11 virtual machine has sharp window corners by default
Windows 11 virtual machine has sharp window corners by default

You may be not happy with the situation, e.g. when you need to take a screenshot from your VM, and you want it look authentic. Luckily, you can force enable rounded corners and Mica in Hyper-V and VirtualBox with a small Registry tweak. Do the following.

Enable Windows 11 Rounded Corners and Mica in Hyper-V or VirtualBox VM

  1. Start your virtual machine and boot it to the Desktop, then open the Registry editor with the regedit command (Win + R > regedit > Enter).
  2. On the left, navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Dwm branch.
  3. Right-click on the Dwm key, and select New > DWORD (32-bit) value from the menu.Create New Dword Value Under DWM
  4. Name the new value ForceEffectMode.
  5. Double-click ForceEffectMode and set its value data to 2.Enable Rounded Corners In Windows 11 On Hyper V
  6. Finally, restart your Hyper-V or VirtualBox machine. You now have rounded corners and Mica.Restart The VM
Rounded corners enabled in the Windows 11 virtual machine
Rounded corners enabled in the Windows 11 virtual machine

That was very easy. To undo the change, simply remove the ForceEffectMode value, and you are done.

Registry Files

You can download the following ready-to-use Registry files to save your time.

Download Registry Files

Extract the downloaded ZIP archive to any folder if your choice. You will see the following two REG files.

Registry Files

Their names are self-explanatory, so you can click the one named "Enable Rounded Corners.reg", confirm the Registry change, and restart the virtual machine. The other file will undo the change for you.

If you prefer to deploy your virtual machines, or automate their setup with batch files or PowerShell scripts, you may find useful a command prompt method of changing the Registry value. Here's how to enable rounded corners in your VM from command prompt.

Command Prompt Method

Open Terminal as Administrator by pressing Win + X and selecting the Terminal (Admin) item from the menu.

If you prefer the classic Command Prompt, switch to its tab in Terminal with the Ctrl + Shift + 2 hotkey, and enter one of the following commands:

  • Enable rounded corners: reg add HKLM\SOFTWARE\Microsoft\Windows\Dwm /v ForceEffectMode /t REG_DWORD /d 2 /f.Command Prompt Method
  • Disable the effects (restore defaults): reg delete HKLM\SOFTWARE\Microsoft\Windows\Dwm /v ForceEffectMode /f

Using PowerShell

Finally, if you prefer PowerShell, its tab opens by default, or you can press Ctrl + Shift + 1 in Terminal, and type the following commands.

  • Turn on Mica/rounder corners: New-ItemProperty -Name ForceEffectMode -PropertyType Dword -Value 2 -Path HKLM:\SOFTWARE\Microsoft\Windows\Dwm -Force.Powershell Command
  • Turn off: Remove-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\Dwm -Name ForceEffectMode

Don't forget to restart your Hyper-V or VirtualBox virtual machine to enable rounder corners in Windows 11 after running the above commands.

That's it!

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.