Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

driver "windowsfilter" failed to remove root filesystem: failed to detach VHD: failed to detach virtual disk: The device is not ready.: rename

Posted on by 127

I am trying to create a container of bc180 in docker but getting this error anybody have any solutions for this.

issues.png

  • Salba Z.K Profile Picture
    Salba Z.K 127 on at
    RE: driver "windowsfilter" failed to remove root filesystem: failed to detach VHD: failed to detach virtual disk: The device is not ready.: rename

    It is already disable any other idea?
    Screenshot-2023_2D00_05_2D00_19-163750.png

  • Suggested answer
    Manish Kutar Profile Picture
    Manish Kutar 45 on at
    RE: driver "windowsfilter" failed to remove root filesystem: failed to detach VHD: failed to detach virtual disk: The device is not ready.: rename

    Then try disabling Bitlocker on your machine.

    Go to 'Start' -> 'Manage Bitlocker' then disable for C:\

    After the process is completed on your Laptop / PC, restart your machine and then try running the Powershell command again for new BC artifact to be downloaded.

  • Salba Z.K Profile Picture
    Salba Z.K 127 on at
    RE: driver "windowsfilter" failed to remove root filesystem: failed to detach VHD: failed to detach virtual disk: The device is not ready.: rename

    Hi

    Already tried with disabling windows defender and running power shell as administrator but getting same error,

    Also 250 gb available on my machine

  • Suggested answer
    Manish Kutar Profile Picture
    Manish Kutar 45 on at
    RE: driver "windowsfilter" failed to remove root filesystem: failed to detach VHD: failed to detach virtual disk: The device is not ready.: rename

    Hi Salba,

    You're using docker, but the problem shown in the error seems to be linked with two cases:

    1. Either your laptop has security on disks or is not allowing / secured enough to create virtual spaces. You'll need to again try executing this using Administrator rights on PowerShell.

    2. Also answer on how much memory do you have in the machine?

    Workaround:

    1, Try stopping any Windows firewall or Defender you have on your laptop and then execute the command. See if it helps.

  • Salba Z.K Profile Picture
    Salba Z.K 127 on at
    RE: driver "windowsfilter" failed to remove root filesystem: failed to detach VHD: failed to detach virtual disk: The device is not ready.: rename

    I am using Docker.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: driver "windowsfilter" failed to remove root filesystem: failed to detach VHD: failed to detach virtual disk: The device is not ready.: rename

    It could be a permission isssue on your computer.

    Are you using Bitlocker on your computer?

    There are some know issues when it comes to Bitlocker and Docker.

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: driver "windowsfilter" failed to remove root filesystem: failed to detach VHD: failed to detach virtual disk: The device is not ready.: rename

    Hi

    I always use below command to create the container with Latest BC image. you can try this as well.

    install-module bccontainerhelper -force

    $artifactUrl = Get-BcArtifactUrl -type sandbox -country us -select latest

    New-BCContainer -accept_eula -containerName newTestBC -artifactUrl $artifactUrl

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans