{"id":4490,"date":"2025-09-18T10:33:49","date_gmt":"2025-09-18T05:03:49","guid":{"rendered":"https:\/\/toolswift.com\/blog\/?p=4490"},"modified":"2025-09-18T10:33:49","modified_gmt":"2025-09-18T05:03:49","slug":"how-to-fix-wsl-error-0x80370102-in-windows","status":"publish","type":"post","link":"https:\/\/toolswift.com\/blog\/how-to-fix-wsl-error-0x80370102-in-windows\/","title":{"rendered":"How to Fix WSL Error 0x80370102 in Windows"},"content":{"rendered":"<p>If you\u2019ve tried installing a Linux distribution on Windows Subsystem for Linux (WSL) and saw the error message:<\/p>\n<p><code>WslRegisterDistribution failed with error: 0x80370102<br \/>\nThe virtual machine could not be started because a required feature is not installed.<\/code><\/p>\n<p>don\u2019t worry\u2014this is a common issue. It usually means that virtualization or Hyper-V isn\u2019t enabled on your computer. Let\u2019s break down the problem and the fixes.<\/p>\n<h2>Why This Error Happens<\/h2>\n<p>WSL 2 relies on virtualization technology and Hyper-V to run Linux distributions on Windows. If these features are disabled (either in BIOS\/UEFI or in Windows settings), WSL can\u2019t start the virtual machine it needs.<\/p>\n<p>Typical causes:<\/p>\n<ul>\n<li>Hardware virtualization is turned off in BIOS\/UEFI.<\/li>\n<li>Hyper-V or Virtual Machine Platform features are disabled in Windows.<\/li>\n<li>Rarely, issues with nested virtualization or WSL installation itself.<\/li>\n<\/ul>\n<h2>Fix 1: Enable Hardware Virtualization in BIOS<\/h2>\n<ol>\n<li>Restart your PC.<\/li>\n<li>When the screen goes black, press the BIOS key (usually Esc, Del, F2, or F10 depending on your system).<\/li>\n<li>Look for a menu called CPU Configuration, Advanced, or Processor Settings.<\/li>\n<li>Find the option for Virtualization (may be listed as Intel VT-x, AMD-V, Hyper-V, Vanderpool, or SVM).<\/li>\n<li>Enable it, save changes, and exit BIOS.<\/li>\n<li>Once back in Windows, open Task Manager &gt; Performance tab and confirm \u201cVirtualization: Enabled.\u201d<\/li>\n<\/ol>\n<h2>Fix 2: Turn On Hyper-V and Virtual Machine Platform<\/h2>\n<ol>\n<li>Press Start, type Windows Features, and select Turn Windows features on or off.<\/li>\n<li>In the list, check Hyper-V and Virtual Machine Platform.<\/li>\n<li>Click OK and restart your computer.<\/li>\n<\/ol>\n<p>This ensures Windows can run the virtual machine needed for WSL 2.<\/p>\n<h2>Fix 3: Enable Nested Virtualization (If Running Inside Another VM)<\/h2>\n<p>If you\u2019re using WSL inside a virtual machine (for example, a Hyper-V VM), you\u2019ll need nested virtualization.<\/p>\n<ol>\n<li>Shut down the virtual machine.<\/li>\n<li>Open PowerShell as Administrator and run:<code>Set-VMProcessor  -ExposeVirtualizationExtensions $true<\/code>Replace with your VM\u2019s name.<\/li>\n<li>Open Hyper-V Manager, right-click your VM, and select Settings.<\/li>\n<li>Under Memory, uncheck Enable Dynamic Memory and increase the RAM (e.g., from 2 GB to 4 GB).<\/li>\n<li>Save changes and restart the VM.<\/li>\n<\/ol>\n<h2>Alternative: Switch to WSL 1<\/h2>\n<p>If you can\u2019t enable virtualization (for example, on older systems), you can switch to WSL 1 instead:<\/p>\n<ol>\n<li>Open PowerShell as Administrator.<\/li>\n<li>Run:<code>wsl --set-default-version 1<\/code><\/li>\n<\/ol>\n<p>This lets you use WSL, though it won\u2019t have all the features of WSL 2.<\/p>\n<h2>Final Check<\/h2>\n<p>After applying one of the above solutions:<\/p>\n<ul>\n<li>Restart your PC.<\/li>\n<li>Try installing your Linux distribution again.<\/li>\n<\/ul>\n<p>You should now be able to run WSL without hitting the 0x80370102 error.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019ve tried installing a Linux distribution on Windows Subsystem for Linux (WSL) and saw the error message: WslRegisterDistribution failed with error: 0x80370102 The&hellip;<\/p>\n","protected":false},"author":1,"featured_media":4491,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-4490","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to"],"_links":{"self":[{"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/posts\/4490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/comments?post=4490"}],"version-history":[{"count":1,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/posts\/4490\/revisions"}],"predecessor-version":[{"id":4492,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/posts\/4490\/revisions\/4492"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/media\/4491"}],"wp:attachment":[{"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/media?parent=4490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/categories?post=4490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/tags?post=4490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}