Table of Contents
Chuyện là mình có sử dụng bản Windows của Micrsoft Evaluation Center dùng thử trong 90 ngày, mục đích thì mình dùng để tạo máy ảo Flare-VM. Phiên bản cho dùng thử là bản Windows 10 Enterprise Evolution. Hôm nay mình mở lại thì đã thông báo hết hạn.
slmgr /ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D
Lệnh
slmgr /ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D
được sử dụng để cài đặt một khóa sản phẩm (product key) cho Windows.
Cụ thể:
-
slmgr
: Viết tắt của “Software Licensing Management Tool”, là một công cụ dòng lệnh được sử dụng để quản lý giấy phép Windows. -
/ipk
: Tham số này có nghĩa là “Install Product Key” (Cài đặt Khóa Sản phẩm). -
M7XTQ-FN8P6-TTKYV-9D4CC-J462D
: Đây là khóa sản phẩm mà bạn muốn cài đặt.
Các bước thực hiện chuyển đổi sang bản đầy đủ Windows 10 Enterprise Evaluation LTSC
1. Tải về công cụ sử dụng
- Tải xuống liên kết ISO của Windows 10 Enterprise Evaluation dùng thử 90 ngày.
- SKU mới của Windows 10 Enterprise tại đây
https://archive.org/details/windows-10-enterprise-ltsc
Lưu ý Tệp tin này cũng có thể áp dụng đối với Windows 11.
2. Kiểm tra phiên bản hệ thống
dism /online /get-currentedition
3. Chuyển đổi giấy phép
C:\Windows\System32\spp\tokens\skus
Tiếp theo giải nén tệp skus-Windows-10.zip và copy các thư mục ① ② ③ vào đường dẫn của thư mục skus (C:\Windows\System32\spp\tokens\skus ).
4. Khởi động lại hệ thống
cscript.exe %windir%\system32\slmgr.vbs /rilc cscript.exe %windir%\system32\slmgr.vbs /upk >nul 2>&1 cscript.exe %windir%\system32\slmgr.vbs /ckms >nul 2>&1 cscript.exe %windir%\system32\slmgr.vbs /cpky >nul 2>&1 cscript.exe %windir%\system32\slmgr.vbs /ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D sc config LicenseManager start= auto & net start LicenseManager sc config wuauserv start= auto & net start wuauserv clipup -v -o -altto c:\ echo
Dưới đây là kết quả sau khi thực hiện tập lệnh trên:
Microsoft Windows [Version 10.0.19045.2006] (c) Microsoft Corporation. All rights reserved. FLARE-VM Sat 09/21/2024 23:05:17.49 C:\Windows\system32>cscript.exe %windir%\system32\slmgr.vbs /rilc Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. Re-installing license files ... License file C:\Windows\System32\spp\tokens\issuance\client-issuance-stil.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\issuance\client-issuance-ul-oob.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\issuance\client-issuance-ul.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\issuance\client-issuance-wgalic.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\pkeyconfig\pkeyconfig-downlevel.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\pkeyconfig\pkeyconfig.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\rules\ruleset-filteractions.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\rules\ruleset-platformglobal.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\rules\ruleset-windowsapp.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-ppdlic.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-1-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-1-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-1-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-1-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-10-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-10-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-10-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-10-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-2-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-2-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-2-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-2-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-3-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-3-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-3-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-3-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-4-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-4-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-4-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-4-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-5-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-5-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-5-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-5-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-6-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-6-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-6-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-6-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-7-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-7-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-7-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-7-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-8-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-8-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-8-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-8-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-9-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-9-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-9-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\csvlk-pack-Volume-CSVLK-9-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\csvlk-pack\DefaultPpd-csvlk-pack-ppdlic.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\DefaultPpd-EnterpriseS-ppdlic.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-OEM-DM-1-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-OEM-DM-1-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-OEM-DM-1-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-OEM-DM-1-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-OEM-NONSLP-1-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-OEM-NONSLP-1-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-OEM-NONSLP-1-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-OEM-NONSLP-1-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-ppdlic.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-1-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-1-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-1-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-1-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-2-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-2-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-2-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-2-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-3-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-3-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-3-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-3-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-4-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-4-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-4-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-4-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-5-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-5-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-5-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-5-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-6-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-6-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-6-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-CSVLK-6-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-GVLK-1-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-GVLK-1-ul-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-MAK-1-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-MAK-1-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-MAK-1-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\EnterpriseS\EnterpriseS-Volume-MAK-1-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\IoTEnterprise\DefaultPpd-IoTEnterprise-ppdlic.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\IoTEnterprise\IoTEnterprise-OEM-DM-1-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\IoTEnterprise\IoTEnterprise-OEM-DM-1-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\IoTEnterprise\IoTEnterprise-OEM-DM-1-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\IoTEnterprise\IoTEnterprise-OEM-DM-1-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\IoTEnterprise\IoTEnterprise-OEM-NONSLP-1-pl-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\IoTEnterprise\IoTEnterprise-OEM-NONSLP-1-ul-oob-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\IoTEnterprise\IoTEnterprise-OEM-NONSLP-1-ul-phn-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\IoTEnterprise\IoTEnterprise-OEM-NONSLP-1-ul-store-rtm.xrm-ms installed successfully. License file C:\Windows\System32\spp\tokens\skus\IoTEnterprise\IoTEnterprise-ppdlic.xrm-ms installed successfully. License files re-installed successfully. FLARE-VM Sat 09/21/2024 23:07:31.78 C:\Windows\system32>cscript.exe %windir%\system32\slmgr.vbs /upk >nul 2>&1 FLARE-VM Sat 09/21/2024 23:07:32.16 C:\Windows\system32>cscript.exe %windir%\system32\slmgr.vbs /ckms >nul 2>&1 FLARE-VM Sat 09/21/2024 23:07:32.25 C:\Windows\system32>cscript.exe %windir%\system32\slmgr.vbs /cpky >nul 2>&1 FLARE-VM Sat 09/21/2024 23:07:32.35 C:\Windows\system32>cscript.exe %windir%\system32\slmgr.vbs /ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. Installed product key M7XTQ-FN8P6-TTKYV-9D4CC-J462D successfully. FLARE-VM Sat 09/21/2024 23:07:33.44 C:\Windows\system32>sc config LicenseManager start= auto & net start LicenseManager [SC] ChangeServiceConfig SUCCESS The requested service has already been started. More help is available by typing NET HELPMSG 2182. FLARE-VM Sat 09/21/2024 23:07:37.33 C:\Windows\system32>sc config wuauserv start= auto & net start wuauserv [SC] ChangeServiceConfig SUCCESS The requested service has already been started. More help is available by typing NET HELPMSG 2182. FLARE-VM Sat 09/21/2024 23:07:37.38 C:\Windows\system32>clipup -v -o -altto c:\ Done. There were no applicable genuine authorization tickets on disk licenses found to convert. Done. FLARE-VM Sat 09/21/2024 23:07:37.69 C:\Windows\system32>echo
Dưới đây là giải thích chi tiết từng dòng lệnh:
-
cscript.exe %windir%\system32\slmgr.vbs /rilc
:- Lệnh này sẽ xóa mọi thông tin giấy phép hiện có khỏi hệ thống.
-
cscript.exe %windir%\system32\slmgr.vbs /upk >nul 2>&1
:-
Lệnh này sẽ gỡ bỏ khóa sản phẩm hiện tại khỏi hệ thống và
chuyển hướng đầu ra thành null với
>nul 2>&1
để ngăn hiển thị bảng điều khiển dùng để ẩn thông báo đầu ra.
-
Lệnh này sẽ gỡ bỏ khóa sản phẩm hiện tại khỏi hệ thống và
chuyển hướng đầu ra thành null với
-
cscript.exe %windir%\system32\slmgr.vbs /ckms >nul 2>&1
:-
Lệnh này sẽ xóa cấu hình KMS (Key Management Service) hiện
tại.
>nul 2>&1
dùng để ẩn thông báo đầu ra.
-
Lệnh này sẽ xóa cấu hình KMS (Key Management Service) hiện
tại.
-
cscript.exe %windir%\system32\slmgr.vbs /cpky >nul 2>&1
:-
Lệnh này sẽ xóa khóa sản phẩm khỏi registry để bảo mật.
>nul 2>&1
dùng để ẩn thông báo đầu ra.
-
Lệnh này sẽ xóa khóa sản phẩm khỏi registry để bảo mật.
-
cscript.exe %windir%\system32\slmgr.vbs /ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D
:-
Lệnh này sẽ cài đặt khóa sản phẩm mới (trong trường hợp này
là
M7XTQ-FN8P6-TTKYV-9D4CC-J462D
).
-
Lệnh này sẽ cài đặt khóa sản phẩm mới (trong trường hợp này
là
-
sc config LicenseManager start= auto & net start LicenseManager
:- Lệnh này sẽ cấu hình dịch vụ LicenseManager để khởi động tự động và sau đó khởi động dịch vụ này.
-
sc config wuauserv start= auto & net start wuauserv
:- Lệnh này sẽ cấu hình dịch vụ Windows Update (wuauserv) để khởi động tự động và sau đó khởi động dịch vụ này.
-
clipup -v -o -altto c:\
:- Lệnh này sẽ cập nhật các tệp giấy phép trên hệ thống.
-
echo
:- Lệnh này chỉ đơn giản là in một dòng trống ra màn hình.
- M7XTQ-FN8P6-TTKYV-9D4CC-J462D dành cho Win 10 Enterprise LTSC
- W269N-WFGWX-YVC9B-4J6C9-T83GX dành cho Win 10 Pro / Edu / Home
- W269N-WFGWX-YVC9B-4J6C9-T83GX dành cho Win 11 pro
slmgr /upk slmgr.vbs /cpky slmgr /ckms slmgr.vbs /ckms slmgr /skms localhost
Lưu ý: Quy trình trên cũng áp dụng cho Windows 11.
5. Sử dụng tệp lệnh kích hoạt
irm https://get.activated.win | iex
irm https://massgrave.dev/get | iex
https://github.com/massgravel/Microsoft-Activation-Scripts
slmgr.vbs /dlv
Tham khảo
https://blog.51sec.org/2023/01/how-to-upgrade-windows-10-evaluation.html