WSL icon indicating copy to clipboard operation
WSL copied to clipboard

WslRegisterDistribution failed with error: 0x80070005 - Pengwin Enterprise 7, 8 and 9

Open josemtella opened this issue 3 years ago • 6 comments

Windows Version

Microsoft Windows [Version 10.0.22635.xxxx]

WSL Version

2.0.5.0

Are you using WSL 1 or WSL 2?

  • [X] WSL 2
  • [ ] WSL 1

Kernel Version

5.15.133.1-1

Distro Version

Pengwin ENTERPRISE 7, 8 and 9.

Other Software

No response

Repro Steps

  1. If we have previously installed Pengwing Enterprise 7, 8 and 9 on any version of WSL 2.0.x when running it:

Unpacking Pengwin Enterprise, this may take a few minutes... WslRegisterDistribution failed with error: 0x80070005 Error: 0x80070005 Access is denied.

Press any key to continue...

  1. If we install them from the store in another Windows, it gives the same error.

  2. When it is installed it gives the same error with wsl --unregister

  3. If previously installed, it works when invoked with wsl -d distro -u xxxxx

Expected Behavior

  1. If we have previously installed Pengwing Enterprise 7, 8 and 9 on any version of WSL 2.0.x when running it:

Unpacking Pengwin Enterprise, this may take a few minutes... WslRegisterDistribution failed with error: 0x80070005 Error: 0x80070005 Access is denied.

Press any key to continue...

  1. If we install them from the store in another Windows, it gives the same error.

  2. When it is installed it gives the same error with wsl --unregister

  3. If previously installed, it works when invoked with wsl --d PengwinEnterprise9

Actual Behavior

Let them work as in previous WSL versions

Diagnostic Logs

No response

josemtella avatar Oct 23 '23 09:10 josemtella

/logs

benhillis avatar Oct 23 '23 15:10 benhillis

WslLogs-2023-10-23_18-16-22.zip

The problem I have cited only happens in the three distributions I have mentioned. The rest of the store distributions work. It also happens if it was already installed or on a new Windows, when trying to install it.

josemtella avatar Oct 23 '23 16:10 josemtella

In other words, the problem can be reproduced on any machine with Pengwin ENTERPRISE distributions

josemtella avatar Oct 23 '23 16:10 josemtella

Howdy, if this only happens with this distro, can you report it to the maintainers of that distro? I looked through the logs, are you sure the log collection was running while you ran the commands? (I didn't see anything)

ghost avatar Oct 24 '23 21:10 ghost

Please re-open if the distro maintainers suggest to come back.

ghost avatar Oct 24 '23 21:10 ghost

This bug is perfectly reproducible. It only happens with builds 2.0.X.0, it does not happen with previous ones.

josemtella avatar Oct 25 '23 19:10 josemtella