Hỏi/ Thắc mắc - Xin hướng dẫn cách xóa toàn bộ key KMS của Office | Page 2 | VN-Zoom | Cộng đồng Chia Sẻ Kiến Thức Công Nghệ và Phần Mềm Máy Tính

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We need money to operate the site, and almost all of it comes from our online advertising.

If possible, please support us by clicking on the advertisements.

Please add vn-z.vn to your ad blocking whitelist or disable your adblocking software.

×

Hỏi/ Thắc mắc Xin hướng dẫn cách xóa toàn bộ key KMS của Office

NGHEO

Rìu Chiến Bạc Chấm
Chẳng là mình đang muốn active bản quyền Office 2016 by phone nhưng kẹt key KMS, có bác nào biết cách giúp em gỡ hết toàn bộ key KMS ra k ạ :(

Do forum còn mới quá mình quên thêm prefix, mong các mod/admin có ghé thì thêm hộ ạ
Mình đoán là Office 2016 Pro Plus VL
Chạy CMD (Quyền Admin) copy hết món lệnh này vào: Office 2016 Pro Plus VL to Retail
Kết hợp thêm lệnh của Bác @DuongHaiNam TQ là OK
Nguồn từ bài viết của Bác @thuwowngr
Khi chạy nó sẽ:
  • Gỡ licenses VL
  • Gỡ server KMS
  • Nạp licenses Retail
Đầu tiên là bạn phải chạy Cmd (Quyền Admin)=>> Copy và dán vào thì OK.
cscript slmgr.vbs /upk d450596f-894d-49e0-966a-fd39ed4c4c64
cscript slmgr.vbs /upk c47456e3-265d-47b6-8ca0-c30abbd0ca36
cd /d %USERPROFILE%/Desktop\Licenses16\
for /f "delims=" %i in ('dir /b /on *.xrm-ms') do (cscript //Nologo %windir%\System32\slmgr.vbs /ilc %i)
echo
cd /d %USERPROFILE%/Desktop
RD "Licenses16" /s /q
exit
exit
 

katoz

Gà con
Mình đoán là Office 2016 Pro Plus VL
Chạy CMD (Quyền Admin) copy hết món lệnh này vào: Office 2016 Pro Plus VL to Retail
Kết hợp thêm lệnh của Bác @DuongHaiNam TQ là OK
Nguồn từ bài viết của Bác @thuwowngr
Khi chạy nó sẽ:
  • Gỡ licenses VL
  • Gỡ server KMS
  • Nạp licenses Retail
Đầu tiên là bạn phải chạy Cmd (Quyền Admin)=>> Copy và dán vào thì OK.
cscript slmgr.vbs /upk d450596f-894d-49e0-966a-fd39ed4c4c64
cscript slmgr.vbs /upk c47456e3-265d-47b6-8ca0-c30abbd0ca36
cd /d %USERPROFILE%/Desktop\Licenses16\
for /f "delims=" %i in ('dir /b /on *.xrm-ms') do (cscript //Nologo %windir%\System32\slmgr.vbs /ilc %i)
echo
cd /d %USERPROFILE%/Desktop
RD "Licenses16" /s /q
exit
exit
Đã thử remove rất tốt
 

hoabattu1287

Rìu Chiến Chấm
Mình đoán là Office 2016 Pro Plus VL
Chạy CMD (Quyền Admin) copy hết món lệnh này vào: Office 2016 Pro Plus VL to Retail
Kết hợp thêm lệnh của Bác @DuongHaiNam TQ là OK
Nguồn từ bài viết của Bác @thuwowngr
Khi chạy nó sẽ:
  • Gỡ licenses VL
  • Gỡ server KMS
  • Nạp licenses Retail
Đầu tiên là bạn phải chạy Cmd (Quyền Admin)=>> Copy và dán vào thì OK.
cscript slmgr.vbs /upk d450596f-894d-49e0-966a-fd39ed4c4c64
cscript slmgr.vbs /upk c47456e3-265d-47b6-8ca0-c30abbd0ca36
cd /d %USERPROFILE%/Desktop\Licenses16\
for /f "delims=" %i in ('dir /b /on *.xrm-ms') do (cscript //Nologo %windir%\System32\slmgr.vbs /ilc %i)
echo
cd /d %USERPROFILE%/Desktop
RD "Licenses16" /s /q
exit
exit
thanks mod! xóa nhanh gọn :)) chỉ kịp nhìn được mỗi

you sồ key ...
 

hoidebiet1710

Búa Gỗ
cho mình hỏi thêm tý: sao mình gỡ bỏ Key KMS active office trước đó theo bài viết của bác DuongHaiNam TQ, thì nó lại xuất hiện lỗi. Bản trên máy đang chạy là office 2016 ProPlus VL_MAK
C:\Program Files\Microsoft Office\Office16>(cscript //nologo ospp.vbs /unpkey:KTPQY )
---Processing--------------------------
---------------------------------------
Uninstalling product key for: Office 16, Office16ProPlusVL_MAK edition
ERROR CODE: 0xC004F025
ERROR DESCRIPTION: The Software Licensing Service reported that the action requires administrator privilege.
---------------------------------------
---Exiting-----------------------------

C:\Program Files\Microsoft Office\Office16>(cscript //nologo ospp.vbs /unpkey:DRTFM )
---Processing--------------------------
---------------------------------------
Uninstalling product key for: Office 16, Office16StandardVL_KMS_Client edition
ERROR CODE: 0xC004F025
ERROR DESCRIPTION: The Software Licensing Service reported that the action requires administrator privilege.
---------------------------------------
---Exiting-----------------------------

C:\Program Files\Microsoft Office\Office16>
 

dungltcd

Lạt Ma
cho mình hỏi thêm tý: sao mình gỡ bỏ Key KMS active office trước đó theo bài viết của bác DuongHaiNam TQ, thì nó lại xuất hiện lỗi. Bản trên máy đang chạy là office 2016 ProPlus VL_MAK
C:\Program Files\Microsoft Office\Office16>(cscript //nologo ospp.vbs /unpkey:KTPQY )
---Processing--------------------------
---------------------------------------
Uninstalling product key for: Office 16, Office16ProPlusVL_MAK edition
ERROR CODE: 0xC004F025
ERROR DESCRIPTION: The Software Licensing Service reported that the action requires administrator privilege.
---------------------------------------
---Exiting-----------------------------

C:\Program Files\Microsoft Office\Office16>(cscript //nologo ospp.vbs /unpkey:DRTFM )
---Processing--------------------------
---------------------------------------
Uninstalling product key for: Office 16, Office16StandardVL_KMS_Client edition
ERROR CODE: 0xC004F025
ERROR DESCRIPTION: The Software Licensing Service reported that the action requires administrator privilege.
---------------------------------------
---Exiting-----------------------------

C:\Program Files\Microsoft Office\Office16>
requires administrator privilege.
 

thaohhk29

Rìu Bạc
Lệnh của bạn đây : Xóa toàn bộ key Office đã cài.
for %a in (4,5,6) do (if exist "%ProgramFiles%\Microsoft Office\Office1%a\ospp.vbs" (cd /d "%ProgramFiles%\Microsoft Office\Office1%a")
if exist "%ProgramFiles% (x86)\Microsoft Office\Office1%a\ospp.vbs" (cd /d "%ProgramFiles% (x86)\Microsoft Office\Office1%a"))
for /f "tokens=8" %b in ('cscript //nologo OSPP.VBS /dstatus ^| findstr /b /c:"Last 5"') do (cscript //nologo ospp.vbs /unpkey:%b)
Trường hợp xóa key KMS Visio thì code như thế nào vậy bạn? Mình ko dùng Cr@ck, trước dùng code để nạp.
 

tramanh89xd

Moderator
Thành viên BQT
Trường hợp xóa key KMS Visio thì code như thế nào vậy bạn? Mình ko dùng Cr@ck, trước dùng code để nạp.
Tối về mình xem lại lệnh rồi mình gửi tại post này nhé.
1. Đường dẫn tới file OSPP.VBS, nơi chứa và xử lý mọi thứ về bản quyền của Microsoft Office.
Office 2010 - v=14
Office 2013 - v=15
Office 2016/365/2019 - v=16 set v=16
if exist "%ProgramFiles%\Microsoft Office\Office%v%\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office%v%"
if exist "%ProgramFiles(x86)%\Microsoft Office\Office%v%\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office%v%"
2.Hiện thông tin kích hoạt cscript ospp.vbs /dstatus
3.Xóa key cscript ospp.vbs /unpkey:xxxxx (5 ký tự cuối của key cần xóa)
4.Nhập key cscript ospp.vbs /inpkey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
5.Kích hoạt online cscript ospp.vbs /act
6.Xuất ra Step 2 (IID) cscript ospp.vbs /dinstid >%temp%\IID.txt
start %temp%\IID.txt
7.Kích hoạt Step 3 (CID) cscript //nologo ospp.vbs /actcid:xxx (CID viết liền)
8.Đặt máy chủ KMS
Xóa máy chủ KMS cscript ospp.vbs /sethst:xxx <Máy chủ KMS hỗ trợ>
cscript ospp.vbs /remhst
9.Đặt port cho máy chủ cscript ospp.vbs /setprt:xxx <Port – Mặc định là 1688>
10.Đặt DNS kích hoạt
Xóa DNS cscript ospp.vbs /skms-domain:xxx <Địa chỉ máy chủ đầy đủ>
cscript ospp.vbs /ckms-domain
11.Reset hạn dùng thử 30 ngày cscript ospp.vbs /rearm
12.Hiện thông tin kích hoạt đầy đủ cscript ospp.vbs /dstatusall
 
Sửa lần cuối:

@sec0

Rìu Chiến Vàng Chấm
Update để các bình luận có giá trị ko mất hút theo thời gian
 

THDuc

Gà con
Trước mình có dùng tool để cài office nhưng sau đó đã gỡ ra. Mình gỡ bth trong Control Panel thôi, thì khi mình uninstall thì cái key cũng tự động mất đúng ko mấy bác. Mình dùng Tool cài, trong bộ tool có mục active with KMS. Dạng như hình dưới
cai-dat-office-2021-b3.png
 


Top