Skip to main content

NÂNG CẤP PHIÊN BẢN WINDOWS SERVER

N NÂNG CẤP PHIÊN BẢN WINDOWS SERVER


Chào các bạn, đôi khi trong quá trình vận hành chúng ta không lường trước được 1 số trường hợp cần phải nâng cấp phiên bản của Windows Server, vd: bạn đang cần mở rộng hệ thống, triển khai clustering... nhưng tính năng mà phiên bản cài đặt ban đầu của server không đáp ứng được. Bạn buộc phải nâng cấp phiên bản Windows Server mà không muốn phải cài đặt lại tất tần tật từ đầu.
Rất may mắn là từ phiên bản 2008 trở đi thì Microsoft đã hỗ trợ 1 công cụ DISM rất hữu ích cho việc nâng cấp này.
Các lưu ý:
  • Chỉ có upgrade (Standard -> Enterprise -> Datacenter), không downgrade được.
  • Phiên bản Core thì nâng lên Core chứ không chuyển Core qua GUI hay ngược lại
  • Nếu server đang là DC thì không được
Các bước đều dùng Command Prompt hoặc Power Shell đều được
  • Kiểm tra có thể nâng lên phiên bản nào, chạy lệnh: DISM /online /Get-TargetEditions
C:Windowssystem32>DISM /online /Get-TargetEditions

Deployment Image Servicing and Management tool
Version: 6.1.7600.16385

Image Version: 6.1.7600.16385
Editions that can be upgraded to:

Target Edition : ServerDataCenter
Target Edition : ServerEnterprise

The operation completed successfully.
  • Nâng cấp lên phiên bản cần: DISM /Online /Set-Edition:ServerEnterprise
C:Windowssystem32>Dism /online /Set-Edition:ServerEnterprise /ProductKey:489J6-VHDMP-X63PK-3K798-CPX3Y

Deployment Image Servicing and Management tool
Version: 6.1.7600.16385

Image Version: 6.1.7600.16385

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

Removing package Microsoft-Windows-ServerStandardEdition~31bf3856ad364e35~amd64~~6.1.7601.17514
[==========================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)?

Trong quá trình nâng cấp thì windows sẽ download và install thêm 1 số feature tương ứng với phiên bản nâng cấp. Song song đó máy cũng sẽ khởi động lại đôi lần, bạn chỉ việc ngồi uống cafe và chat fb với bạn bè.

Có 1 số trường hợp bạn sẽ gặp lỗi báo key không hợp lệ (dù là key xịn). Nguyên nhân là do Microsoft có rất nhiều loại key: MAK, OEM, KMS, Volume License, Action Pack v.v.. Tốt nhất là bạn dùng key KMS public như list bên dưới, sau đó active lại bằng key xịn. Bạn đừng lo, key này là key public chính thức của Microsoft để bạn active bằng KMS server (nếu bạn có).



  • Windows 7 Professional – FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4 
  • Windows 7 Professional N – MRPKT-YTG23-K7D7T-X2JMM-QY7MG 
  • Windows 7 Enterprise – 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH 
  • Windows 7 Enterprise N – YDRBP-3D83W-TY26F-D46B2-XCKRJ 
  • Windows 7 Enterprise E – C29WB-22CC8-VJ326-GHFJW-H9DH4 
  • Windows Server 2008 R2 HPC Edition – FKJQ8-TMCVP-FRMR7-4WR42-3JCD7 
  • Windows Server 2008 R2 Datacenter – 74YFP-3QFB3-KQT8W-PMXWJ-7M648 
  • Windows Server 2008 R2 Enterprise – 489J6-VHDMP-X63PK-3K798-CPX3Y 
  • Windows Server 2008 R2 for Itanium-Based Systems – GT63C-RJFQ3-4GMB6-BRFB9-CB83V 
  • Windows Server 2008 R2 Standard – YC6KT-GKW9T-YTKYR-T4X34-R7VHC 
  • Windows Web Server 2008 R2 – 6TPJF-RBVHG-WBW2R-86QPH-6RTM4 

Comments

Popular posts from this blog

[RAID] SWITCH FROM AHCI TO RAID WITH INTEL C600 CONTROLLER

I personally have used other ways to do this. Manipulating some registry settings in combination with a safe boot before booting normally does the trick as well. This works with both SATA SSD and M.2 NVMe drives and it enables relatively fast switching between back and forth between AHCI and RAID. I have described this method below.  I have also tried the same process used to switch from RAD to AHCI and that works as well. Switch to safe boot Reboot into BIOS Change from AHCI to RAID in the BIOS Boot into safe mode Turn off safe mode and reboot normally again Nothing else and that also did the trick, just like with moving from RAID to AHCI.  So the link above and my step by step below is here for completeness. You have options in case one of them doesn’t work! Step by step AHCI to RAID registry method This procedure I describe below works on Windows 10 1803/1809 and has been tested on Dell Latitude E6220 an XPS 13 9360. Editing the registry is...

[Hyper-V] - Lỗi không boot vào được sau khi convert máy vật lý sang máy ảo

XỬ LÝ LỖI KHÔNG BOOT ĐƯỢC VÀO MÁY ẢO SAU KHI CONVERT TỪ MÁY VẬT LÝ BẰNG DISK2VHD Sau khi convert server vật lý sang file VHD để import vào Hyper thì khi start máy ảo lên màn hình máy ảo chỉ nhấp nháy con trỏ chuột trên màn hình đen (blinking cursor) NGUYÊN NHÂN Do máy vật lý sử dụng ổ đĩa cài OS được format theo chuẩn GPT (thay vì MBR như truyền thống, tham khảo GPT và MBR ) XỬ LÝ Bước 1: chuyển ổ GPT thành MBR Copy file VHD của ổ đĩa chứa OS về 1 máy tính Windows 8 trở lên Trên máy Windows 8+ click phải chuột lên file VHD vừa copy, chọn lệnh Mount . Lúc này dùng 1 phần mềm miễn phí (vd: Mini Partition Wizard ) để convert ổ đĩa vừa mount từ GPT  -> MBR Sau đó Delete phần Partition dư ra ở phần đầu ổ đĩa được mount (khoảng vài trăm MB) Set " Active " cho ổ đĩa này để là ổ đĩa boot OS Nhấn Apply để phần mềm thực thi tác vụ Sau khi phần mềm làm xong, tắt phần mềm Mini Partition Wizard, vào My Computer chọn eject ổ đĩa đang mount . Copy file VHD vừa đư...

LỖI "The provided partition "Migration...." is not a valid Migration mailbox"

  Solution for a valid Migration mailbox could not be found for this organization To address this issue, we will: Delete Migration mailbox in Active Directory Users and Computers Recreate Migration mailbox with /PrepareAD command Enable Migration mailbox with Exchange Management Shell 1. Delete Migration mailbox in Active Directory Users and Computers We do see the mailbox in ADUC, let’s remove it. If you don’t see it, search for it. It might be in a different container than the default container  Users . We can always verify in Exchange Management Shell if the Migration mailbox is present. If it shows up in the output, it means that it’s present and enabled. The output should be empty. [PS] C:\> Set - ADServerSettings - ViewEntireForest $true ; Get - Mailbox - Identity "Migration.8f3e7716-2011-43e4-96b1-aba62d229136" - Arbitration | Format-Table Name , ServerName , Database , AdminDisplayVersion , ProhibitSendQuota Copy 2. Recreate Migration mailbox with /Prepare...