powershell管理员,执行命令:
Get-AppXPackage *WindowsNotepad* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}