1、开启开发者模式
2、去启用或关闭windows功能 选择 适于Linux的Windows子系统
3、Windows PowerShell 管理员输入: Get-AppxPackage -allusers
找到
Name : Microsoft.WindowsStore
Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture : X64
ResourceId :
Version : 11910.1002.5.0
PackageFullName : Microsoft.WindowsStore_11910.1002.5.0_x64__8wekyb3d8bbwe
InstallLocation : C:\Program Files\WindowsApps\microsoft.windowsstore_11910.1002.5.0_x64__8wekyb3d8bbwe
IsFramework : False
PackageFamilyName : Microsoft.WindowsStore_8wekyb3d8bbwe
PublisherId : 8wekyb3d8bbwe
PackageUserInformation : {S-1-5-18 [S-1-5-18]: Staged}
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : False
IsPartiallyStaged : False
SignatureKind : Store
Status : Ok
4、复制第7行 PS C:\WINDOWS\system32> Add-appxpackage -register " C:\Program Files\WindowsApps\microsoft.windowsstore_11910.1002.5.0_x64__8wekyb3d8bbwe\\appxmanifest.xml" –disabledevelopmentmode
5、进入WindowsStore下载安装ubuntu 如果没反应 退出当前账号 点击获取后再次登录账号就可以了