Category Archives: Windows

[Solved] Windows Error: WslRegisterDistribution failed with error: 0x80070050

I recently upgraded the windows10 system of the old computer, and found that the ubuntu20.04 installed in wsl2 cannot be started normally in the windows terminal (I used ubuntu20.04 as the default startup terminal before.)

Involved in reporting errors:

WslRegisterDistribution failed with error: 0x80070050

My thoughts:

The error is that the distribution of wsl cannot be registered, so you need to edit the distribution-related configuration items in the registry to solve the problem.


Please backup (using the steps I mention in my previous answer) before trying this.
wsl --shutdown (from PowerShell or CMD)
In Windows, run the Registry Editor
Find \HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss
Find the key in there that has DistributionName of Ubuntu20.04LTS. Change the Ubuntu20.04LTS to Ubuntu-20.04.
In theory, that may fix the problem by changing the distribution name back to what it should be.

[Solved] Windows 10 remote error: Oracle fix due to CredSSP encryption

Windows10 remote desktop connection error message:


I found a method on the Internet, but it is ” Win10 Home Edition ” that cannot use this method, the specific operation can be found in the reference link at the end!!!!

Policy Path: Computer Configuration -> Administrative Templates -> System -> Credential Assignment

Setting Name: Encrypt Oracle Fix

I can only change another kind of registry and change it for a long time and finally change it and post the detailed steps .

1. Open the registry and quickly enter “regedit” (similar to entering cmd at the command prompt)

2. Find the folder path: HKLM (abbreviation)\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters

Probably after the System, there is no need to create a folder by yourself.

3. Then create a new DWORD (32) bit in the bottom folder.

Filename “AllowEncryptionOracle”, Value: 2.

Just save it.

4. If it doesn’t work, try restarting. I can use it without rebooting.

[Solved] Windows 7 IIS (HTTP Error 500.21 – Internal Server Error)

When I tested the website today, when I entered http://localhost/ in the browser, the following error occurred:

HTTP Error 500.21 – Internal Server Error

Handler “WebServiceHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list.

Reason: After installing Framework v4.0, and then enabling IIS, the Framework is not fully installed

Solution: Start->All Programs->Accessories->Right-click on “Command Prompt”->Run as Administrator->%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

XE10.4.2 IDE: How to Disable LSP

RAD Studio 10.4 is the biggest improvement to Delphi code tools in years, a major improvement to Delphi Code Insight, which provides Code Insight using a Language Server Protocol (LSP) implementation.

10.4 greatly improves developer productivity when working on large projects with millions of lines of code.


How to Close LSP

Options – User Interface – Editor – Language – Code Insight – Code Insight Manager. The default is LSP, change to Classic.

Sublime text Upload FTP Error: failure (Disconnected – possible PASV mode error, try setting ftp_passive_mode to false in sftp-config.json)

Using sublimetext Generally we don’t need to select active and passive mode for ftp uploads, if you need to you can do so as follows.
In the current project sftp_config.json file, uncomment the following part of passive_mode:, set it to false if it is active and true if it is passive. passive_mode means passive mode, so true is passive and false is active.



Find "ftp_passive_mode": false, in sftp-config.json and change to the opposite value to try again

"ftp_passive_mode": false,

How to Solve pyspark3.0 windows10 Adding HADOOP_USER_NAME Error

Error Message:
ShellBasedUnixGroupsMapping: unable to return groups for user xxx
PartialGroupNameException Does not support partial group name resolution on Windows. GetLocalGroupsForUser error (1332): ?????????????????

If you can't find the configured user on windows 10, you can add a user with the same name on windows 10.
The steps are as follows.
  In windows 10 settings -> Accounts -> Family and other users Add another user Click I don't have this person's login information Create user

podman wsl2 Report Error After Windows is Restarted: ERRO[0000] error joining network namespace for container

1. error joining network namespace for container

If you restart windows without stopping the container first, there is a great probability that this problem will occur



Stop the stopped container before starting the exited container You will be prompted that you cannot start, but now you can podman PS or continue to execute podman start to start the container. It’s amazing, isn’t it

podman stop $(podman ps 2>&1 | grep -oE 'for container [a-f0-9]+' | awk '$0=$NF')
podman start $(podman ps --format '{{.Names}}' --filter status=exited)

2. Error refreshing volume

Something like this

$ podman ps -a
ERRO[0000] Error refreshing volume 20115fd77826acd6308a6dceb6318062fcdae8e3626c7b3367de25d328e93a2f: error acquiring lock 1 for volume 20115fd77826acd6308a6dceb6318062fcdae8e3626c7b3367de25d328e93a2f: file exists
ERRO[0000] Error refreshing volume 74d3b3f07e31ce9baabd307ebfea62c0860aa2454babff744c04e828eb571b89: error acquiring lock 2 for volume 74d3b3f07e31ce9baabd307ebfea62c0860aa2454babff744c04e828eb571b89: file exists
ERRO[0000] Error refreshing volume fbbb149df2df1ed1ac1092976de6216e604ea773958ee812e3e24e0d1e635850: error acquiring lock 1 for volume fbbb149df2df1ed1ac1092976de6216e604ea773958ee812e3e24e0d1e635850: file exists
ERRO[0000] Error refreshing volume spec: error acquiring lock 1 for volume spec: file exists


podman system renumber