打开PowerShell后,直接复制下面安装.NET Framework 3.5的脚本命令,记住全部复制,然后直接全部粘贴(不要一行一行复制粘贴):
Set-ItemProperty -Path 'HKLM:SOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU' -Name UseWUServer -Value 0
Restart-Service -Name wuauserv
Install-WindowsFeature Net-Framework-Core
Set-ItemProperty -Path 'HKLM:SOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU' -Name UseWUServer -Value 1
Restart-Service -Name wuauserv