目前我正在运行以下内容:
Name: Windows(R), ServerStandardEval edition
Description: Windows(R) Operating System, TIMEBASED_EVAL channel
Product Key Channel: Retail:TB:Eval
并购买了 Windows Server 2016 Essentials 密钥。但是,通过系统更改产品密钥失败,并显示:
执行
Cscript.exe %windir%\system32\slmgr.vbs /ipk <***KEY***>
返回
Error: 0xC004F069 On a computer running Microsoft Windows non-core edition, run 'slui.exe 0x2a 0xC004F069' to display the error text.
然后出现 slui.exe 0x2a 0xC004F069
Code: 0xC004F069
Description:
The Software Licensing Service reported that the product SKU is not found.
有人知道为什么会失败吗?这个实例现在已经运行了一段时间,我决定最终购买它。
编辑@Muh Fugen
dism.exe /online /get-targeteditions 返回:
Editions that can be upgraded to:
Target Edition : ServerStandard
Target Edition : ServerDatacenter
执行 dism.exe /online /set-edition:ServerDatacenter /productkey:我的钥匙/accepteula 返回
Error: 1605 The specified product key is not valid for the target edition.
Run this command again with a product key that is correct for the target edition.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
但是,使用 Server 2016 Essentials ISO 的密钥可以正常工作。
过滤 DISM.log 中的任何错误和警告会导致:
2017-02-03 03:31:21, Warning DISM DISM OS Provider: PID=31272 TID=14592 Unable to set the DLL search path to the servicing stack folder. C:\Windows may not point to a valid Windows folder. - CDISMOSServiceManager::Final_OnConnect
2017-02-03 03:31:21, Warning DISM DISM Provider Store: PID=31272 TID=14592 Failed to Load the provider: C:\Users\ADMINI~1\AppData\Local\Temp\6C4E064D-7182-415E-B745-2CB7735BB5B4\PEProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2017-02-03 03:31:23, Warning DISM DISM Provider Store: PID=31272 TID=14592 Failed to Load the provider: C:\Users\ADMINI~1\AppData\Local\Temp\6C4E064D-7182-415E-B745-2CB7735BB5B4\EmbeddedProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2017-02-03 03:31:23, Error DISM DISM Package Manager: PID=31272 TID=14592 Failed opening package Microsoft-Windows-ServerStandardEvalEdition~31bf3856ad364e35~amd64~~10.0.14393.594. - CDISMPackageManager::Internal_CreatePackageByName(hr:0x800f0805)
2017-02-03 03:31:23, Error DISM DISM Package Manager: PID=31272 TID=14592 Failed to get the underlying cbs package. - CDISMPackageManager::OpenPackageByName(hr:0x800f0805)
2017-02-03 03:31:23, Error DISM DISM Package Manager: PID=31272 TID=14592 The specified package is not valid Windows package. - GetCbsErrorMsg
2017-02-03 03:31:24, Error DISM DISM Transmog Provider: PID=31272 TID=14592 Product key is keyed to [ServerSolution], but user requested transmog to [ServerDatacenter] - CTransmogManager::ValidateTransmogrify
2017-02-03 03:31:24, Error DISM DISM Transmog Provider: PID=31272 TID=14592 [Upgrading system]: The specified product key is not valid for the target edition.
Run this command again with a product key that is correct for the target edition.
[hrError=0x80070645] - CTransmogManager::EventError
2017-02-03 03:31:24, Warning DISM DISM Transmog Provider: PID=31272 TID=14592 The selected OS *cannot* upgrade to [ServerDatacenter] - CTransmogManager::TransmogrifyWorker
2017-02-03 03:31:24, Error DISM DISM Transmog Provider: PID=31272 TID=14592 Failed to Upgrade! - CTransmogManager::TransmogrifyWorker(hr:0x80070645)
2017-02-03 03:31:24, Error DISM DISM Transmog Provider: PID=31272 TID=14592 Failed to upgrade! - CTransmogManager::ExecuteCmdLine(hr:0x80070645)
答案1
很明显为什么它不起作用。你购买了 Essentials 密钥,但尝试升级到 Datacenter。
我建议您从 Microsoft 评估中心获取 Server Essential Evaluation 的 ISO,(全新)安装它,然后运行dism.exe /online /获取目标版本和dism.exe /online /set-edition:ServerEssentials /productkey:您的密钥 /accepteula(将 YOUR_KEY 替换为您的 Windows Server Essentials 产品密钥)
答案2
我无法添加此评论,但你试过吗
dism.exe /get-targeteditions
获取可升级到的版本。假设 Server Essentials 可用,请运行以下命令,但将 ServerDatacenter 和产品密钥更改为相应的相应值
dism.exe /online /set-edition:ServerDatacenter /productkey:00000-00000-00000-00000-00000 /accepteula