1. 程式人生 > 其它 >通過刪除登錄檔重新獲得軟體試用期

通過刪除登錄檔重新獲得軟體試用期

重複啟用軟體的方法,以mathtype 。

關閉mathtype,開啟電腦的登錄檔編輯器(按住win+R快捷鍵執行,然後輸入regedit.exe)。

找到一級目錄HKEY_CURRENT_USER下的software目錄,在該級目錄裡找到install option目錄,刪除註冊列表中的第二項名為option7.4的檔案。

最後重啟word或mathtype即可(或者重啟電腦)。

自動化一些,通過python指令碼實現:

xxx.py

import win32api
import win32con

key = win32api.RegOpenKey(win32con.HKEY_CURRENT_USER,
                          'Software\Install Options', 0, win32con.KEY_ALL_ACCESS)

win32api.RegDeleteValue(key, "Options7.4")

bat指令碼:

python .\xxx.py

參考

[1] win32api 修改登錄檔 https://blog.csdn.net/weixin_30414635/article/details/102158066
[2] mathtype金鑰解鎖(mathtype7永久啟用的方法)http://www.changchenghao.cn/n/725494.html

Top 收藏
關注 評論