打开PowerShell后,直接复制下面安装.NET Framework 3.5的脚本命令,记住全部复制,然后直接全部粘贴(不要一行一行复制粘贴):
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 0 Restart-Service -Name wuauserv Install-WindowsFeature Net-Framework-Core Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 1 Restart-Service -Name wuauserv
亲测有效!
出处:https://shiyousan.com/post/636311560390538452
标签:Name,Service,windows,server,HKLM,控制面板,ItemProperty,Microsoft From: https://www.cnblogs.com/approx/p/17496921.html