惡意網頁在兩處登錄建立 Restrictions 子鍵,設定 NoViewSource 與 NoBrowserContextMenu 為 1,導致「檢視原始碼」與右鍵選單失效。
手動修復:將下列四個鍵值改為 0:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoViewSourceHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoBrowserContextMenuHKEY_USERS\.DEFAULT\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoViewSourceHKEY_USERS\.DEFAULT\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoBrowserContextMenu一鍵 .reg 匯入(建議):存為 unlock.reg:
REGEDIT4 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions] "NoViewSource"=dword:00000000 "NoBrowserContextMenu"=dword:00000000 [HKEY_USERS\.DEFAULT\Software\Policies\Microsoft\Internet Explorer\Restrictions] "NoViewSource"=dword:00000000 "NoBrowserContextMenu"=dword:00000000
關鍵細節:首行 REGEDIT4 必須大寫、後空一行、REGEDIT4 中「4」與「T」無空格。Win2000/XP 首行改為 Windows Registry Editor Version 5.00。