Carlo

New Member
Xin chào các bác, nói về key của Microsoft thì thôi rồi tất cả ng xem như cỏ rác, key die thì fang acc mới, nhưng vừa rồi cái acc technet của e die kéo theo key die hết không active dc nữa (bị block key) nên e tìm cách và vừa backup được lại key nên lần sau khi cài chỉ chuyện restore lại vào là chạy ầm ầm update tẹt ga nên e muốn share lại cách làm cho tất cả ng cùng làm dẫu biết chuyện này với 1 số ng chả cần vì die thì fang acc mới cần gì backup phải hem nhưng e muốn share cho tất cả ng cùng biết thôi.



Start nha, hy vọng dc tất cả người ủng hộ nhiệt -> Liệt luôn ^_^



1. Sao lưu và phục hồi bản quyền Office 2007



a. Sao lưu


- Copy 3 file OPA12.BAK, opa12.dat, xxxxx.bpc lại.


+ Trong windows XP: C:\Documents and Settings\All Users\Application Data\Microsoft\OFFICE\DATA


+ Trong Vista và Win7: C:\ProgramData\Microsoft\OFFICE\DATA


- Trong Registry tìm đến khóa HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\ Registration\{90120000-0030-0000-0000-0000000FF1CE}


Sao lưu 3 khóa DigitalProductID, LicenseType và ProductID thành restore.reg.


(nhấn Ctrl và chọn 3 khóa trên, chọn menu File -> Export, đặt tên restore.reg, lưu cẩn thận.



b. Phục hồi


- Copy 3 file OPA12.BAK, opa12.dat, xxxxx.bpc vào chép đề lên các file trong thư mục theo đường dẫn trên.


- Chạy file restore.reg để sửa Registry


OK !



2. Sao lưu và phục hồi bản quyền Office 2010



a. Sao lưu


Sao lưu 3 file quan trọng theo các đường dẫn sau và lưu giữ cẩn thận:


C:\Program Files\Common Files\Microsoft shared\OFFICE14\Office Setup Controller\pkeyconfig-office.xrm-ms


C:\ProgramData\Microsoft\OfficeSoftwareProtectionP latform\Cache\cache.dat


C:\ProgramData\Microsoft\OfficeSoftwareProtectionP latform\tokens.dat



b. Phục hồi


- Cài đặt Office 2010 với key bản quyền trước kia và không active.


- Chép đoạn mã dưới đây vào Notepad, save lại với định dạng .cmd, trong đó thay các kí tự XXXXX-XXXXX-XXXXX-XXXXX-XXXXX bằng key bạn dùng.


Quote:


@echo off


net stop osppsvc


takeown /f "%PROGRAMFILES%\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\pkeyconfig-office.xrm-ms"


icacls "%PROGRAMFILES%\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\pkeyconfig-office.xrm-ms" /grant administrators:F /t


del /F /Q "%PROGRAMFILES%\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\pkeyconfig-office.xrm-ms"


copy "%~dp0pkeyconfig-office.xrm-ms" "%PROGRAMFILES%\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\pkeyconfig-office.xrm-ms"


takeown /f "%PROGRAMDATA%\Microsoft\OfficeSoftwareProtect ionP latform\tokens.dat"


icacls "%PROGRAMDATA%\Microsoft\OfficeSoftwareProtect ionP latform\tokens.dat" /grant administrators:F /t


del /F /Q "%PROGRAMDATA%\Microsoft\OfficeSoftwareProtect ionP latform\tokens.dat"


copy "%~dp0tokens.dat" "%PROGRAMDATA%\Microsoft\OfficeSoftwareProtect ionP latform\tokens.dat"


cscript "%PROGRAMFILES%\Microsoft Office\Office14\ospp.vbs" /inpkeyxxxx-xxxxx-xxxxx-xxxxx-xxxx


cscript "%PROGRAMFILES%\Microsoft Office\Office14\ospp.vbs" /dstatus


pause


- Chép 3 file vừa sao lưu trước đây vào các thư mục tương ứng:


C:\Program Files\Common Files\Microsoft shared\OFFICE14\Office Setup Controller\pkeyconfig-office.xrm-ms


C:\ProgramData\Microsoft\OfficeSoftwareProtectionP latform\Cache\cache.dat


C:\ProgramData\Microsoft\OfficeSoftwareProtectionP latform\tokens.dat


- Chạy file .cmd với quyền administrator



Xong rồi đó, chúc AE thành công
 

quangphong098

New Member
Toàn đi copy của người khác mà chả biết đúng hay sai, Lần sau thử xem đúng hay sai hãy đưa bài lên nhé. Ví dụ như: C:\ProgramData\Microsoft\OfficeSoftwareProtectionP latform\Cache\cache.dat


thực ra phải là C:\ProgramData\Microsoft\OfficeSoftwareProtectionP latform\Cache\cache.dat Bạn cứ thử xem?
 

Các chủ đề có liên quan khác

Top