Preloader
Others
  • Estimated reading time: 5 Minutes

Setting Up a Windows 11 Pro Dev Machine: Hyper-V, WSL2 and Sandbox

Setting Up a Windows 11 Pro Dev Machine: Hyper-V, WSL2 and Sandbox

You install WSL2 on a new Windows 11 machine, start Docker Desktop, and run a Linux container without trouble. Then you look for Hyper-V or Windows Sandbox and cannot find the feature you need. Before changing firmware settings or reinstalling tools, check the Windows edition. Home supports a useful development workflow, but some workstation features require Pro.

Start with the workflow, not the edition label

The useful question is not whether Pro is “better” for development. It is whether your work needs something Home cannot provide. If you write code in a WSL2 Linux distribution and run Linux containers through Docker Desktop, Windows 11 Home can handle that workflow. WSL2 uses Windows virtualization components, but it does not require you to install the full Hyper-V feature.

The distinction matters when you need to create Hyper-V virtual machines, open a disposable Windows desktop in Windows Sandbox, manage local settings through Group Policy Editor, use full BitLocker drive-encryption controls, or accept incoming Remote Desktop connections. Those are reasons to choose Pro. Check your edition under Settings > System > About before troubleshooting a missing feature: a capable CPU does not make a Pro-only feature appear in Home.

WSL2 and Docker Desktop work fine on Home

For a Linux-oriented setup, open Windows Terminal or PowerShell as an administrator and run wsl --install. Restart when prompted, then complete the Linux distribution’s first-run setup by creating a username and password. Run wsl --list --verbose to check that the distribution is installed and using version 2. If virtualization is disabled in your PC’s firmware, enable it there before retrying WSL.

Next, install Docker Desktop and use its WSL2 backend for Linux containers. Enable WSL integration for your distribution in Docker Desktop’s settings, then run a test container from that distribution’s shell. Docker’s Windows installation requirements distinguish this Home-compatible WSL2 path from the Hyper-V backend and Windows-container workflows, which require a supported Pro, Enterprise, or Education edition. If a tutorial asks you to enable Hyper-V simply to run ordinary Linux containers with Docker Desktop, check which backend it assumes before changing editions.

Keep projects you build with Linux tools in the distribution’s Linux file system when possible, rather than moving repeatedly between Linux and Windows paths. That keeps the workflow straightforward: edit with a WSL-aware editor, run builds in the Linux shell, and let Docker Desktop integrate with the same distribution.

Enable Hyper-V for local virtual machines

Hyper-V is the choice when your workflow specifically calls for Microsoft’s virtual machines—for example, testing an operating-system configuration in a VM you can keep and revisit. Microsoft’s Hyper-V installation guidance states that the feature cannot be installed on Windows 11 Home. If you need it on a Home machine, a genuine Windows 11 Pro license is available from Nerdused, a UK-registered seller (Transfleet Trading Ltd); its key activates online with Microsoft.

Before enabling Hyper-V, confirm that the machine has a supported 64-bit processor with Second Level Address Translation and the required virtualization capabilities, at least 4 GB of RAM, and hardware virtualization enabled in UEFI or BIOS. More memory is sensible if you intend to run a VM alongside an editor, browser, and build tools. From an elevated terminal, systeminfo can help you inspect Hyper-V requirements; if a hypervisor is already running, its output may show that instead of the individual checks.

On Pro, open Control Panel > Programs > Turn Windows features on or off, select Hyper-V, accept the changes, and restart. Alternatively, run Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All in an elevated PowerShell session and restart. You can then open Hyper-V Manager to create a VM and choose its storage and networking settings. Home does not gain the full feature through a firmware toggle or a WSL2 installation. Also check other virtualization tools you rely on: their behavior can change while the Hyper-V hypervisor is active.

Use Windows Sandbox for disposable tests

Hyper-V VMs make sense when you want to preserve an environment; Windows Sandbox is useful when you do not. It starts a temporary Windows desktop for tasks such as checking how an installer behaves on a clean system. Close the Sandbox window and its contents are discarded, so copy out anything you intend to keep before closing it. That reset is convenient for repeatable tests, but Sandbox is not a substitute for careful security practices when handling genuinely malicious files.

Windows Sandbox requires Windows 11 Pro, Enterprise, or Education; it is not included with Home. On a supported edition, make sure hardware virtualization is enabled, open Turn Windows features on or off, select Windows Sandbox, and restart if requested. Launch it from the Start menu. If you need a test system that retains installed tools and files across sessions, create a conventional VM instead: Sandbox’s defining feature is that it starts fresh.

The other Pro features that affect a dev workstation

Virtualization may be the immediate reason to upgrade, but three other differences can matter on a machine carrying repositories and credentials. Group Policy Editor gives Pro users a graphical way to configure many local Windows policies. It is useful when a test or workplace setup depends on a specific policy setting; it is not the same thing as centrally managing an organization’s devices.

BitLocker on Pro offers fuller drive-encryption management, including options for removable drives and supported startup authentication configurations. Some Windows 11 Home devices support automatic device encryption, so Home should not be treated as wholly unencrypted. The relevant question for a developer laptop is whether you need BitLocker’s additional controls for the drives and recovery process you use. Before changing encryption settings on any edition, make sure you can access your recovery key.

Finally, both Home and Pro can act as a Remote Desktop client to connect to another computer. To make this workstation accept incoming Microsoft Remote Desktop sessions, you need Pro or another supported host edition. On Pro, go to Settings > System > Remote Desktop to enable hosting, then confirm which accounts may connect and how the machine will be reached securely. You do not need that host capability merely to connect from your laptop to an existing work PC.

Upgrade in place when a Pro-only need appears

If Home already runs your editor, WSL2 distribution, and Linux containers, there is no setup advantage in rebuilding the machine solely to change its edition. When a Pro-only requirement arrives, you can upgrade in place: back up your work, open Settings > System > Activation, choose Change product key, and enter a valid Pro key. Follow the prompts and allow the machine to restart. Then return to Activation to confirm that Windows reports Pro and is activated before enabling the feature you needed.

That leaves a practical decision rule. Stay on Home if your development environment is built around WSL2 and Docker Desktop’s WSL2 backend for Linux containers. Choose Pro when you actually need Hyper-V VMs, disposable Windows Sandbox sessions, full BitLocker controls, Group Policy Editor, Remote Desktop hosting, or a supported Windows-container workflow. Starting with the tools you use is more reliable than choosing an edition by its name alone.

Related articles
Weekly trending
Engineering Smoother Surfaces For Medical Tech
22 Oct, 2026
  • Estimated reading time: 4 Minutes
Setting Up a Windows 11 Pro Dev Machine: Hyper-V, WSL2 and Sandbox
22 Oct, 2026
  • Estimated reading time: 5 Minutes
How Software Teams Scale Without Burning Out Their Core Developers
22 Oct, 2026
  • Estimated reading time: 6 Minutes
Our Sponsors

Our blog is proudly supported by industry-leading sponsors.