This is a mobile optimized page that loads fast, if you want to load the real page, click this text.

Active office sử dụng cmd

kemmet

Rìu Sắt Đôi
Thường các files cmd dạng scrips để active win hay office thì mình chỉ tìm trên Github thôi bạn ơi )
Tại code public, cộng đồng vào xem nên cảm thấy yên tâm hơn
 

bbkim

Mỗi người một câu chuyện
Mã:
cd /d %ProgramFiles%\Microsoft Office\Office16
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
for /f %x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x"
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /unpkey:6MWKP >nul
cscript ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
cscript ospp.vbs /sethst:s8.uk.to
cscript ospp.vbs /act
Copy/paste đoạn trên vào cửa sổ cmd cho nhanh. Giờ MS Defender ghê gớm lắm. Lưu lại thành cmd, bat có đoạn mã KMS nó chém luôn.
 

dccuong

Búa Gỗ
Phải tắt trước khi thực hiện bác, em hay làm giúp những máy có Kaspersky, em thoát Kaspersky đi, xong cho dừng MS Defender đi rồi mới thực hiện được.

Còn em thì mua Office 365 luôn rồi nên không dùng những cái này nữa
 

bbkim

Mỗi người một câu chuyện
Copy/paste vào cửa sổ Command Line thì không cần tắt MS Defender hay AV nào hết.
Còn vào tắt mấy cái bảo vệ đó với người dễ tính không sao, người khó tính sẽ nghĩ ngay là mình đang cố gắng cài virus vào máy người ta.
 

pkhoi13

Búa Gỗ
này là dùng cho off2021