Skip to content

Error code: Wsl/Service/AttachDisk/0x8007000f #10189

Description

@piggy2011

Windows Version

Microsoft Windows [Version 10.0.22621.1702]

WSL Version

1.2.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.90.1

Distro Version

kali-linux 2023.2

Other Software

No response

Repro Steps

My laptop is Surface Laptop 4 (11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz 2.42 GHz).

After inserting USB storage, the disk is identified by the following command.

PS C:\WINDOWS\system32> GET-WMIOBJECT -query "SELECT * FROM Win32_DiskDrive"

Partitions : 1
DeviceID : \.\PHYSICALDRIVE1
Model : Kingston DataTraveler 3.0 USB Device
Size :
Caption : Kingston DataTraveler 3.0 USB Device

Partitions : 3
DeviceID : \.\PHYSICALDRIVE0
Model : SDBPTPZ-512G-1124-WDC
Size : 512105932800
Caption : SDBPTPZ-512G-1124-WDC

However, the error messages prompt when mounting the partition in WSL 2.

PS C:\WINDOWS\system32> wsl --mount \.\PHYSICALDRIVE1 --bare
The system cannot find the drive specified.
Error code: Wsl/Service/AttachDisk/0x8007000f

Expected Behavior

Mount the USB storage successfully.

Actual Behavior

The system cannot find the drive specified.
Error code: Wsl/Service/AttachDisk/0x8007000f

Diagnostic Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions