惡意網頁修改 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System 下的 DisableRegistryTools 為 1,導致無法開啟 regedit。
解決:建立文字檔命名 unlock.reg,內容如下:
REGEDIT4 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System] "DisableRegistryTools"=dword:00000000
雙擊匯入即可恢復註冊表編輯功能,無需重開機。
注意:Win2000/XP 請將首行改為 Windows Registry Editor Version 5.00。