Microsoft เชิญชวนทุกคนให้ลองใช้คุณสมบัติของแพลตฟอร์มเซิร์ฟเวอร์โดยใช้เวอร์ชันทดลองของ Windows Server 2019 หรือ Windows Server 2016 (StandardEvaluation หรือ DatacenterEvaluation) ด้วยการกรอกแบบฟอร์มสั้นๆ คุณสามารถดาวน์โหลด Windows Server 2019 on-premises Free Trial หรือ Windows Server 2016 Evaluation ฟรีได้ที่นี่ หลังจากติดตั้ง Windows Server Evaluation คุณจะมี 180 วันในการทดสอบความสามารถของมัน ในช่วงเวลานี้ ฟังก์ชันการทำงานเต็มรูปแบบของ Windows Server 2019/2016/2022 จะพร้อมใช้งานให้คุณ
เมื่อใช้ Evaluation version ของ Windows Server บนเดสก์ท็อปจะแสดงบิลด์ปัจจุบันและเวลาที่เหลือจนถึงวันหมดอายุของช่วงทดลอง (Windows License valid for 180 days)

คุณสามารถแสดงเวลาที่เหลือจนถึงวันหมดอายุสำหรับ evaluation version ของ Windows Server ได้ตลอดเวลา:
Slmgr /dli

Name: Windows, ServerStandardEval edition Description: Windows Operating System, TIMEBASED_EVAL channel License Status: Licensed Timebased activation expiration: xx min (xx days)
คุณสามารถดูชื่อผลิตภัณฑ์ คำอธิบาย (TIMEBASED_EVAL channel) และเวลาหมดอายุของการเปิดใช้งาน
มีวิธีขยาย Windows Server Evaluation เพิ่มอีก 180 วันโดยใช้คำสั่ง: slmgr /rearm
คุณสามารถขยายช่วงทดลองของ Windows Server ได้สูงสุด 5 ครั้ง ดังนั้นอายุการใช้งานสูงสุดของ Windows Server Free Trial สามารถขยายได้ ถึง 3 ปี = 180 days * 6 อย่างไรก็ตาม ตามเงื่อนไขการใช้ Evaluation versions ของ Microsoft คุณไม่ควรใช้เวอร์ชันทดลองเพื่อวัตถุประสงค์ทางการค้าหรืองานการผลิต
หลังจากหมดอายุช่วงทดลอง Windows Server จะเริ่มบังคับให้เปิดใช้งานและปิดเครื่องทุกชั่วโมงพร้อมกับเหตุการณ์ต่อไปนี้ใน Event Viewer:
Log Name: System
Source: USER32
Event ID: 1074
Description:
The process C:\Windows\system32\wlms\wlms.exe Server1 has initiated the shutdown of computer Server1 on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Planned)
Reason Code: 0x80000000
Shutdown Type: shutdown
Comment: The license period for this installation of Windows has expired. The operating system is shutting down.
หรือ:
Log Name: Application
Source: WLMS
Event ID: 100
Description: The license period for this installation of Windows has expired. The operating system will shut down every hour.
พื้นหลังเดสก์ท็อปจะกลายเป็นสีดำ และการแจ้งเตือน “Windows Licenses is expired” จะปรากฏที่มุมล่างขวา

บทความนี้ควรช่วยคุณหากคุณกำลังทำงานจริงใน evaluation version ของ Windows Server และต้องการอัปเกรดเป็น Windows Server full edition พร้อมรักษาข้อมูลและไม่ต้องติดตั้งระบบปฏิบัติการใหม่ทั้งหมด
محتويات:
- ข้อจำกัดในการ Upgrade Windows Server Evaluation
- Windows Server 2016: การแปลง Evaluation เป็น Licensed Version
- Windows Server 2019: Upgrade Evaluation เป็น Full Version
- Windows Server 2022: การแปลง Evaluation เป็น Retail Edition
หากคุณพยายามระบุ KMS, Retail, หรือ MAK product key บน Windows Server Evaluation edition จะมีคำเตือนปรากฏ: “This edition cannot be upgraded”

เมื่อคุณพยายามติดตั้ง retail key โดยใช้เครื่องมือ slmgr.vbs (slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx) คุณจะได้รับข้อผิดพลาด:
Error: 0xC004F069. On a computer running Microsoft Windows non-core edition, run ‘slui.exe 0xC004F069’ to display the error text.
หากคุณรันคำสั่งที่ระบุ คำอธิบายข้อผิดพลาดจะปรากฏ:
The Software Licensing Service reported that the product SKU is not found.

แต่ไม่ได้แย่ขนาดนั้น :)
คุณสามารถใช้ DISM เพื่อยืนยันว่าคุณกำลังใช้ Windows Server Evaluation edition เปิด command prompt ที่รันแบบ elevated และรันคำสั่ง:
DISM /online /Get-CurrentEdition

ตามที่เห็น บรรทัด Current Edition ระบุว่า Windows version ปัจจุบันคือ — ServerStandartEval.
ดูรายการ Windows Server editions ที่คุณสามารถอัปเกรด Eval edition ปัจจุบันได้:
DISM /online /Get-TargetEditions
Editions that can be upgraded to: Target Edition : ServerStandard Target Edition : ServerDatacenter

ตามที่เห็น ServerStandardEval edition ปัจจุบันสามารถอัปเกรดเป็น Windows Server 2016 / Windows Server 2019 editions ต่อไปนี้: ServerDatacenter หรือ ServerStandard
ข้อจำกัดในการ Upgrade Windows Server Evaluation
นี่คือข้อจำกัดในการอัปเกรดที่คุณต้องรู้ก่อนแปลง Windows Server Evaluation เป็น full edition:
- คุณไม่สามารถอัปเกรดเซิร์ฟเวอร์ที่มีบทบาท Active Directory Domain Service domain controller ต้อง demote ให้กลายเป็น member server ก่อน (ตรวจสอบว่า FSMO AD roles ไม่ได้รันบน DC นี้ โอนไปยัง domain controllers อื่นๆ หากจำเป็น)
- หากมีการกำหนดค่า NIC Teaming บนเซิร์ฟเวอร์ ต้องปิดใช้งานก่อนอัปเกรด
- Windows Server Eval Datacenter ไม่สามารถอัปเกรดเป็น Windows Server Standard Full ได้ ต้องอัปเกรด edition เป็น Windows Server Datacenter Full ก่อน แล้วจึงใช้วิธีการเล็กน้อยเพื่อ downgrade Windows Server edition (ตรวจสอบลิงก์ท้ายบทความ)
- คุณสามารถแปลงทั้ง full GUI version ของ Windows Server และ Windows Server Core (การแปลง trial version ของ Server Core รองรับตั้งแต่การปล่อย Windows Server 2016 14393.0.161119-1705.RS1_REFRESH)
Windows Server 2016: การแปลง Evaluation เป็น Licensed Version
เพื่ออัปเกรด Windows Server Evaluation เป็น full version คุณต้องใช้ public KMS (GVLK) key สำหรับ Windows Server 2016 การแปลงดำเนินการผ่าน command prompt โดยใช้เครื่องมือ DISM ในตัว ตัวอย่างเช่น เพื่ออัปเกรด Eval edition เป็น Retail version ของ Windows Server 2016 Standard ให้ใช้คำสั่ง:
dism /online /set-edition:ServerStandard /productkey:WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY /accepteula

หากคุณระบุ retail หรือ MAK key ของคุณเองแทน public GVLK key ในคำสั่ง DISM จะเกิดข้อผิดพลาด:
Error 1168 The specified product key could not be validated. Check that the specified product key is valid and that it matches the target edition.

ใช้ Microsoft GVLK key เสมอเมื่ออัปเกรด Windows Server edition คุณจะแทนที่ด้วย product key ของคุณเองในภายหลัง
บางผู้ใช้ร้องว่าบางครั้งเมื่อรันคำสั่ง DISM /set-edition มันค้างที่ 10% ในกรณีนี้ เราแนะนำให้หาและหยุด Software Protection Service (Stop-Service sppsvc -Force) และปิดการเข้าถึงอินเทอร์เน็ต (คุณสามารถถอดสาย LAN Ethernet ได้)
หลังจากรันคำสั่งนี้ ให้รอข้อความ Command completed successfully (ในบางกรณีอาจใช้เวลาหลายชั่วโมง!!!) หลังจากนั้นรีสตาร์ทเซิร์ฟเวอร์และตรวจสอบว่ามี full Standard edition ติดตั้งอยู่
winver.exe

เพื่ออัปเกรด Windows Server 2016 Eval เป็น Datacenter edition คุณต้องใช้ GVLK key อีกตัวหนึ่ง คำสั่งจะเป็นดังนี้:
DISM /online /Set-Edition:ServerDatacenter /ProductKey:CB7KF-BWN84-R7R2Y-793K2-8XDDG /AcceptEula
หากมี KMS server ปรับใช้ในเครือข่ายท้องถิ่นของคุณ (What is Volume KMS activation?) คุณสามารถใช้มันเพื่อเปิดใช้งาน Windows Server OS ของคุณด้วยคำสั่งต่อไปนี้:
slmgr /ipk WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY (นี่คือ GVLK key สำหรับ Windows Server 2016 Standard product key อีกตัวสำหรับ Datacenter รายการด้านบน)
slmgr /ato
หากไม่มี KMS server คุณสามารถระบุ MAK หรือ Retail product key ของคุณเองสำหรับ Windows Server และเปิดใช้งาน OS ตามปกติ: ผ่านอินเทอร์เน็ตหรือทางโทรศัพท์
ลบ key ปัจจุบัน:
slmgr.vbs /upk
slmgr.vbs /cpky
ป้อน MAK หรือ retail product key ของคุณ:
slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
เปิดใช้งาน Windows Server instance:
slmgr.vbs /ato
Windows Server 2019: Upgrade Evaluation เป็น Full Version
เพื่อแปลง Windows Server 2019 EVAL เป็น full edition คุณต้องใช้ GVLK (KMS) keys สำหรับ Windows Server 2019 คุณสามารถอัปเกรด Windows Server 2019 edition ด้วยวิธีเดียวกันได้
แปลง Windows Server 2019 Evaluation เป็น Windows Server 2019 Standard:
dism /online /set-edition:ServerStandard /productkey:N69G4-B89J2-4G8F4-WWYCC-J464C /accepteula
เพื่อแปลง Windows Server 2019 Evaluation เป็น Windows Server 2019 Datacenter edition:
dism /online /set-edition:ServerDatacenter /productkey:WMDGN-G9PQG-XVVXX-R3X43-63DFG /accepteula
ยืนยันคำสั่ง รีสตาร์ทเซิร์ฟเวอร์ หลังจากรีบูท ตรวจสอบว่า Windows Server Eval edition ของคุณถูกแปลงเป็น full retail แล้ว
Windows Server 2022: การแปลง Evaluation เป็น Retail Edition
แม้ว่า official RTM version ของ Windows Server 2022 จะยังไม่ได้ปล่อยออกมา Microsoft ได้เผยแพร่ public KMS client setup keys (GVLKs) สำหรับ OS version นี้แล้ว
คำสั่งเพื่อแปลง Windows Server 2022 Evaluation edition เป็น Standard:
dism /online /set-edition:serverstandard /productkey:VDYBN-27WPP-V4HQT-9VMD4-VMK7H /accepteula
แปลง eval instance เป็น Windows Server 2022 Datacenter:
dism /online /set-edition:serverdatacenter /productkey:WX4NM-KYWYW-QJJR4-XV3QB-6VM33 /accepteula
รายการ public KMS client setup keys จาก Microsoft สำหรับ Windows versions ที่รองรับทั้งหมดให้ที่นี่ https://technet.microsoft.com/en-us/library/jj612867.aspx.
DISM errors ที่เป็นไปได้:
The current edition cannot be upgraded to any target editions— คุณกำลังพยายามแปลง Datacenter edition เป็น Standard วิธีอัปเกรดนี้ไม่รองรับ มีวิธี unofficial ในการ downgrade Windows Server edition จาก Datacenter เป็น Standard
Error: 50. Setting an Edition is not supported with online images— น่าจะเป็นเพราะเซิร์ฟเวอร์ของคุณมีบทบาท Active Directory Domain Controller (AD DS) การแปลง Windows Server edition บน DC ไม่รองรับThis Windows image cannot upgrade to the edition of Windows that was specified. The upgrade cannot proceed. Run the /Get-TargetEditions option to see what edition of Windows you can upgrade to— ข้อผิดพลาดปรากฏหากคุณพยายามแปลง Windows Server Evaluation Datacenter เป็น Standard คุณไม่สามารถอัปเกรด Eval Datacenter เป็น Standard ได้ คุณต้องแปลง ServerDatacenterEval edition เป็น ServerDatacenter ระบุ KMS key สำหรับ Windows Server Datacenter edition ในคำสั่ง DISM
DISM ยังช่วยให้คุณอัปเกรด Windows 10 เป็น edition สูงกว่าโดยไม่ต้องติดตั้งใหม่ได้