Launching docker for windows throws "Deny write access to fixed drives not protected by Bitlocker"
Asked Answered
R

4

14

We recently had our hard drive encrypted and I am unable to use Docker for windows from then. Every time I launch Docker for windows I get the below error, "Current operation failed because Windows policy "Deny write access to fixed drives not protected by Bitlocker" is enabled. Please disable it and retry the operation". Has any one faced this issue and know how to resolve it? Is installing Docker Toolbox the only option? Many Thanks

Rudyrudyard answered 20/11, 2018 at 17:48 Comment(0)
C
42

I had the same issue. BitLocker cant be disabled as it is a company policy. I Resolved it by doing the following:

Step 1: Open Command Prompt and Type: regedit

Step 2: Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies\Microsoft\FVE FDVDenyWriteAccess". Change "FDVDenyWriteAccess" to "0".

Step 3: Restart Docker and it should work as expected.

Note: You should be an Admin on your local box to execute the above steps.

Officially it is still a unresolved issue Till Date: https://github.com/docker/for-win/issues/1297.

Hope this helps.

Claycomb answered 28/4, 2019 at 16:35 Comment(1)
Worked like a charm. THank you @ClaycombStarkey
D
4

I had same issue and i fixed by below steps.

1, Goto command line and type regedit

then follow the below picture steps,

enter image description here

Damar answered 24/5, 2020 at 2:17 Comment(0)
F
1

Restarting the docker as admin worked fine for me.

Facia answered 6/2, 2020 at 15:37 Comment(0)
C
0

Docker Inc. has fixed this bug with release of Docker Desktop 4.18 https://docs.docker.com/desktop/release-notes/#4180. I was able to switch to windows Container engine without getting any error message! Best Valentin

Cropdusting answered 16/3, 2023 at 8:22 Comment(1)
Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.Abattoir

© 2022 - 2024 — McMap. All rights reserved.