The error code ends in E_ABORT, and that's the tell. Windows Security's Defender for Endpoint plug-in asked the Windows Subsystem for Linux service layer to create or provision a VM instance, the request was cancelled before completion, and the plug-in surfaced it as a fatal internal error. This isn't a malware detection and it isn't a Defender signature failure β€” it's a provisioning handshake between WSL and the endpoint security plug-in that died mid-flight. Most reports trace to a stale WSL runtime, a plug-in that loaded before WSL finished registering, or a partially provisioned distro.

What the Error String Actually Names, Component by Component

Read the code right to left and it becomes a path. plugin says the request came from a plug-in inside the Windows Security stack, and defenderforendpointplug-in names which one. createinstance and createvm say a virtual machine instance was being created. wsl/service says the WSL service layer was handling it. E_ABORT means the operation was terminated rather than failed on its own merits.

That distinction matters for troubleshooting. An abort is usually issued by a caller that gave up β€” a timeout expiry, a cancelled job, or a dependent service that went away. The plug-in didn't decide your system was unsafe. Something upstream stopped answering, and the plug-in reported the abort as fatal because it had no other state to return.

Microsoft's own WSL documentation describes the platform as a lightweight utility VM that host services create and manage on demand. The plug-in sits on top of that lifecycle. When the lifecycle stalls, the plug-in has nothing to attach to.

One useful boundary: the phrase "inner error" doesn't appear here. That matters because Microsoft's support documentation for Defender antivirus specifies that "Internal error" accompanied by an inner error usually means a reinstall is needed, while the plain internal error alone often clears with a reboot. This string is the plain form with a WSL abort appended, which points at the WSL layer rather than a corrupted Defender installation.

What the A-B-C-D-E Reproduction Format Tells You

When Defender for Endpoint raises a crash on a Windows machine, its crash reporting includes an A-B-C-D-E breakdown that names the failing component, the failure type, the failing function, the source file, and the line. Administrators who read that block can see whether the fault sits in the plug-in DLL or in a dependency it called.

Apply the same logic to this string even though it isn't that format. Treat wsl/service as the component, createinstance and createvm as the functions, and E_ABORT as the failure type. You've now localized the fault to the WSL service boundary rather than the antivirus engine.

That localization changes what you fix. Reinstalling Defender for Endpoint is wasted effort if the WSL service is the component returning the abort. Restarting WSL and re-registering the affected distribution is the direct intervention.

If your environment also logs a crash bucket with a Sig: string, capture it before you touch anything. The signature includes product name, module name, module version, module timestamp, and exception code β€” five fields that let Microsoft support match your case to a known fix instead of guessing.

First Response: Restart WSL and the Plug-In Host

Start here because it's reversible and takes under two minutes. The E_ABORT in the code suggests a cancelled request rather than a corrupt install, and cancellation state clears on restart. This step alone resolves a meaningful share of reports where the error appeared once during boot or right after a Windows Update.

1: Close every terminal window connected to WSL, including VS Code's integrated terminal and Windows Terminal tabs. 2: Open an elevated Command Prompt and run wsl --shutdown. 3: Wait ten seconds, then run wsl --status to confirm the service responds. 4: Restart the Windows Security plug-in host by signing out of Windows and signing back in β€” a full restart if the error returns. 5: Launch your distribution with wsl -d rather than clicking a shortcut, so you see the real exit code. 6: If the error appears again, note whether it fires before or after the distro prompt appears.

If it fires before the prompt, provisioning is failing. If it fires after, the plug-in is choking on an already-running VM and the problem is likely a stale plug-in registration.

The failure case worth knowing: running wsl --shutdown while a distro has unsaved work in an editor without autosave will lose that work. Save first.

Reading wsl --status and wsl --version Before You Change Anything

Two commands tell you whether the WSL platform itself is healthy, and you should run both before installing or removing anything. Capture the output β€” it's the baseline for every later comparison.

wsl --version prints the WSL version, kernel version, WSLg version, and the Windows version it's running against. If the command returns "not recognized," the machine is on the inbox Windows component rather than the Microsoft Store edition, which is a materially different troubleshooting path.

wsl --status reports the default distribution, default version, and kernel status. What you're looking for is whether the kernel line reports a version or an error.

Compare the printed WSL version against the version Microsoft documents in its WSL release notes. If your build predates the current release line by several months, the plug-in may be newer than the platform it's talking to β€” a classic source of provisioning aborts.

Run wsl --list --verbose next. It shows each distribution's state and version. A distro stuck in "Installing" or "Converting" state is the single most reliable predictor of a createvm abort on next launch.

The Provisioning Failure Ladder: Where createvm Actually Breaks

Four conditions account for most createvm aborts. Work down this ladder rather than jumping to reinstalls.

Condition What you'll see Correct action
Distro stuck in Installing/Converting wsl -l -v shows a non-Running state after reboot Unregister and reinstall that distro only
Hyper-V or Virtual Machine Platform disabled wsl --status warns about virtualization Enable both features, reboot
Windows build behind the WSL requirement wsl --version returns unrecognized Update Windows, then install WSL from the Store
Virtualization off in firmware Task Manager shows virtualization disabled Enable VT-x or AMD-V in BIOS/UEFI

The unregister step is the destructive one and deserves a warning: wsl --unregister permanently deletes that distribution's file system and everything in it. Export a backup first with wsl --export <name>.tar. There is no undo.

The Hyper-V dependency deserves a closer look. If you're on Windows Home, the Virtual Machine Platform and WSL features install but Hyper-V doesn't, and some enterprise device management baselines disable both features as a hardening measure. Check with your administrator before assuming the feature is available.

Checking the Virtual Machine Platform Features in Windows

Two Windows features must be enabled for the modern WSL architecture: Virtual Machine Platform and Windows Subsystem for Linux. The Windows Hypervisor Platform matters for third-party virtualization stacks that coexist with WSL.

Open "Turn Windows features on or off" from the Start menu search and look for both. A checked box means enabled. If Virtual Machine Platform is unchecked, check it, click OK, and reboot β€” the change doesn't apply until restart.

Here's the version-specific wrinkle most guides skip: on Windows 10 versions before the WSL 2 backport reached that build, only the legacy WSL 1 feature exists and there's no separate Virtual Machine Platform entry. If you don't see the entry at all, your build likely predates WSL 2 support and the plug-in is hitting an API that doesn't exist on your system.

After enabling, confirm from an elevated prompt with dism /online /get-featureinfo /featurename:VirtualMachinePlatform. It reports the state explicitly rather than leaving you to interpret a checkbox.

The second failure case: enabling Virtual Machine Platform on a machine where a third-party hypervisor (VirtualBox in older configurations, VMware Workstation) holds an exclusive lock can fail with a pending-reboot state that never resolves. Reboot fully, not a fast-startup shutdown.

Firmware and Policy Blockers That Produce the Same Abort

Virtualization enabled in Windows but disabled in firmware produces a createvm failure that looks identical to the plug-in error. Task Manager's Performance tab shows a "Virtualization: Enabled" or "Disabled" line under CPU. Disabled sends you to BIOS or UEFI.

Security policy can produce the same symptom on managed machines. Device Guard and Credential Guard use virtualization-based security, and on some hardware configurations they compete with WSL for the hypervisor. Check msinfo32 for "Virtualization-based security" status and note whether it reports Running.

This is the edge case that consumes days: a machine where every Windows-level check passes, WSL installs cleanly, and the abort appears only when the endpoint plug-in loads first at boot. Delaying the plug-in start isn't a supported operation β€” escalate instead of hacking startup order.

If you're on a corporate device, the honest answer is that this class of error often sits behind a policy you can't see. Open a ticket and attach the wsl --status and wsl --version output.

Windows Sandbox and the Synthetic Plug-In Name

Some users reporting this string are testing in Windows Sandbox, not on a real workstation. Sandbox ships its own isolated Defender instance and its own virtualized network interface, and WSL inside Sandbox depends on a nested virtualization configuration the Sandbox environment manages on your behalf.

In that context the plug-in name can appear as a synthetic label β€” normally Microsoft Defender for Endpoint Plug-in for WSL β€” and matches on substring. If you're matching the string in log tooling, match on defenderforendpointplug-in and be aware it's a normalized form, not necessarily the literal display name.

The practical consequence: fixes that work on bare metal (feature enablement, BIOS toggles) don't apply inside Sandbox, because you don't control those layers. Enable WSL inside Sandbox from the Sandbox configuration file rather than trying to repair it after the fact.

If you're not sure which environment you're in, check whether wsl --version succeeds at all. In a constrained sandbox it commonly fails while the plug-in loads fine, producing exactly this abort at VM creation.

Timing the Clean Reinstall So It Actually Sticks

The honest path after two failed restart cycles is a clean WSL reinstall β€” but the sequence determines whether it holds. Install WSL before the endpoint plug-in has a chance to attach to a half-built VM.

1: Back up every distribution: wsl --export <name>.tar 2: Unregister all distributions: wsl --unregister , one at a time 3: Remove the WSL optional feature and the Microsoft Store WSL package 4: Reboot fully β€” use Restart, not Shut Down, so fast startup doesn't skip the teardown 5: Install WSL from an elevated prompt with wsl --install 6: Reboot again, then import your backups with wsl --import

Budget real time for this. On a machine with three distributions and a large home directory, the export and import alone can take the better part of an hour β€” the tarball for a heavy Node or Python environment routinely runs multiple gigabytes.

Skip the reboot between step 4 and step 5 and you'll often see the abort return immediately, because the plug-in reattaches to a stale service object.

What Defender's Exclusions and EDR Telemetry Have to Do With It

CrowdStrike's guidance for its own Falcon sensor on WSL is explicit that the Linux sensor installs inside the distribution and the WSL host must be running before the sensor starts. The same ordering principle applies to Defender's plug-in: it's a consumer of the WSL host, not a peer.

That's why aggressive endpoint exclusions can make this worse rather than better. Excluding the WSL service binary or its install directory from scanning doesn't fix a provisioning abort β€” it removes your ability to see the abort in telemetry. Add exclusions only at Microsoft's documented recommendation, and never on a hunch.

If your organization runs EDR alongside Defender, check the device timeline for the failing timestamps. You're looking for the WSL service stopping or restarting in the seconds before the abort. That correlation is the evidence a support engineer needs.

The adjacent risk worth naming: an attacker who can crash WSL deliberately can deny you a working Linux environment for incident response. Recurring, unexplained aborts deserve a security review, not just a support ticket.

What Microsoft Documents That Third-Party Guides Miss

Microsoft's WSL release notes are the authoritative source for version-to-version behavior changes around VM provisioning and service startup, and they're the first thing to check when the error appeared immediately after an update. Third-party guides rarely link them.

Microsoft's troubleshooting documentation also covers the specific case of WSL failing to start because a required Windows feature is disabled, which is the same underlying condition as a createvm abort. That page describes the feature check the plug-in can't perform on your behalf.

For the crash-reporting side, Microsoft's Defender for Endpoint crash documentation explains the A-B-C-D-E fields and the Sig: bucket string. If you can capture either, you've moved from "generic abort" to a supportable case.

If you're running the Windows 11 24H2 line, note that the WSL platform ships through the Store rather than strictly through Windows Update, so "my Windows is current" doesn't mean your WSL is. Check both independently.

FAQ

Does this error mean Defender found malware on my machine?

No. The string contains no detection name, no threat category, and no quarantine action. It names a VM provisioning call that was cancelled, which is infrastructure, not investigation. If you want certainty about the security side, run a full scan separately and read its results rather than interpreting this code as a verdict.

Can I just ignore it if WSL keeps working?

Sometimes, yes. Reports exist where the abort fires once during boot and WSL starts normally afterward, because the plug-in retries against a fully initialized service. Ignoring it is defensible only if you've confirmed the distributions reach a running prompt and no data path is blocked. Recurring aborts mean something is retrying and failing on a schedule.

I ran wsl --shutdown and the error came back immediately. What does that mean?

Immediate recurrence points away from a stuck process and toward a configuration or dependency problem. Check wsl --status and wsl --version output before doing anything else, because a missing virtualization feature or an outdated platform build won't clear with a restart. If wsl --version isn't recognized at all, you're on the legacy component and need to install the current WSL package.

Does enabling Hyper-V also fix this?

Not necessarily, and it isn't the right lever. WSL 2 needs the Virtual Machine Platform feature and firmware virtualization, while the full Hyper-V role is a heavier install that some policies block. Enable Virtual Machine Platform first, reboot, and retest. Reaching for Hyper-V adds a layer you may not need.

Is it safe to unregister my distribution to fix this?

It resolves the stuck-provisioning case reliably and it's permanent. wsl --unregister deletes the distribution's file system and every file in it β€” no recycle bin, no recovery. Export first with wsl --export and verify the tarball's size looks plausible before you run the unregister command.

Why does my colleague's identical laptop not hit this?

Endpoint plug-in load order and firmware virtualization settings differ across machines even in the same fleet image, and policy targeting can differ by group. Compare msinfo32 virtualization-based security status and Task Manager's virtualization line on both machines. A difference in either explains the asymmetry.

What information should I hand Microsoft support?

Capture wsl --version, wsl --status, and wsl --list --verbose output, the Windows build from winver, the approximate timestamp of the abort, and any crash bucket Sig: string if one was logged. That set lets support match your case instead of asking you to reproduce it cold.

Will the error come back after the next Windows update?

It can, particularly if the update refreshes the endpoint security plug-in ahead of the WSL platform. After any major update, launch WSL once deliberately before opening a security-sensitive workflow, so a provisioning failure surfaces at a moment you can act on it rather than mid-task.

This article is general technical information about a Windows and WSL error condition, not a guarantee of resolution for your specific device, and it isn't a substitute for guidance from Microsoft support or your organization's IT administrator. Configuration changes such as disabling security features, altering exclusions, or unregistering distributions carry data-loss and security consequences β€” confirm them against your organization's policy and back up before proceeding.