惡意網頁或惡意程式常透過修改註冊表,停用 IE 的「檢視→原始檔」選單與右鍵內容選單。受影響的機碼位於:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\RestrictionsHKEY_USERS\.DEFAULT\Software\Policies\Microsoft\Internet Explorer\Restrictions兩處均建立 NoViewSource 與 NoBrowserContextMenu 兩個 DWORD 值並設為 1。
將以下內容儲存為 unlock.reg,雙擊匯入,無需重開機,重新啟動 IE 即可恢復:
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
原理:將限制性機碼值歸零,解除對 IE 介面功能的封鎖。