管理员权限下给普通用户安装win10 linux子系统

电脑权限限制普通用户无法安装新程序,用管理员账号登录后安装的linux子系统,切换回普通用户后无法打开。
1、普通用户登录win10,新建 开发者模式.reg文件:

Windows Registry Editor Version 5.00

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

2、以管理员身份运行powershell,
运行

./开发者模式.reg

3、下在linux子系统安装包
https://docs.microsoft.com/en-us/windows/wsl/install-manual
下载后将.appx文件改为.zip,然后解压
4、打开powershell(普通用户运行),进入解压后的目录,运行ubuntu.exe
5、正常安装流程安装完毕。

猜你喜欢

转载自blog.csdn.net/jsf120/article/details/119870269