在wsus服务器,打开IIS,选择“wsus”服务,点击 mime type,修改或者添加".esd"
Filename extension: .esd
Mime type: application/octet-stream
- windows server 2016 wsus IIS mime type:
.esd的内容是“application/vnd.ms-cab-compressed”需要修改,否则会提示找不到资源
需要升级的客户端导入注册表,也可以使用GPMC下发组策略导入
对于win7 客户端,需要允许OSupdate,注册表如下:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade]
"Refresh"=dword:00000001
"AllowOSUpgrade"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade\State]
"OSUpgradeState"=dword:00000001
"OSUpgradeStateTimeStamp"="2016-01-02 03:40:44"
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
"WUServer"="http://172.20.156.34:8530"
"WUStatusServer"="http://172.20.156.34:8530"
"DisableOSUpgrade"=dword:00000000
"DeferUpgrade"=dword:00000000
"RequireDeferUpgrade"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoUpdate"=dword:00000000
"AUOptions"=dword:00000004
"ScheduledInstallDay"=dword:00000000
"ScheduledInstallTime"=dword:00000001
"UseWUServer"=dword:00000001
- 配置成功后再windows update界面就可以看到升级提示,点击“开始安装”就会自动升级安装,此安装保留应用和个人资料。
- 通过WSUS从win7升级到win10,需要重新激活win10
- 可以通过部署kms激活或者组策略批处理安装win10密匙“slmgr /ipk 密匙”
来源:51CTO
作者:喵来个鱼
链接:https://blog.51cto.com/m51cto/2452572