用 dism 更换 Windows 2016 的版本

  1. slmgr -xpr # 尝试查看当前的激活信息。出错:Error: 0xC004F069 On a computer running Microsoft Windows non-core edition, run 'slui.exe 0x2a 0xC004F069' to display the error text.
  2. slui.exe 0x2a 0xC004F069 # 查看具体的错误信息,You can also contact Microsoft by phone to help resolve this problem.[Expanded Information]Code:0xC004F069 Description:The Software Licensing Service reported that the product SKU is not found.
  3. DISM.exe /Online /Get-TargetEditions # 查看可以升级到哪个版本
  4. DISM /online /Set-Edition:ServerDatacenter /ProductKey:CB7KF-BWN84-R7R2Y-793K2-8XDDG /AcceptEula # 本例是升级到 ServerDatacenter 版本
C:\Users\Administrator> DISM /online /Set-Edition:ServerDatacenter /ProductKey:CB7KF-BWN84-R7R2Y-793K2-8XDDG /AcceptEula

Deployment Image Servicing and Management tool
Version: 10.0.14393.0

Image Version: 10.0.14393.0

Starting to update components...
Starting to install product key...
Finished installing product key.

Removing package Microsoft-Windows-ServerDatacenterEvalEdition~31bfd364e35~amd64~~10.0.14393.0
[==========================100.0%==========================]
Finished updating components.

Starting to apply edition-specific settings...
Restart Windows to complete this operation.
Do you want to restart the computer now? (Y/N)

参考:

标签: windows

添加新评论