Install the win10 linux subsystem for ordinary users under administrator privileges

Computer permissions restrict ordinary users from installing new programs, and the Linux subsystem installed after logging in with an administrator account cannot be opened after switching back to ordinary users.
1. Ordinary users log in to win10 and create a new developer mode .reg file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock]
"AllowDevelopmentWithoutDevLicense"=dword:00000001
"AllowAllTrustedApps"=dword:00000001

2. Run powershell as an administrator,
run

./开发者模式.reg

3. After downloading the linux subsystem installation package
https://docs.microsoft.com/en-us/windows/wsl/install-manual
, change the .appx file to .zip, and then decompress
it. Run), enter the decompressed directory, and run ubuntu.exe
5. The normal installation process is completed.

Guess you like

Origin blog.csdn.net/jsf120/article/details/119870269