部分舊版軟體與 DEP 相容性不佳,導致頻繁被攔截終止,需完整關閉 DEP。
C:\boot.ini 的「唯讀」屬性:右鍵「內容」→ 取消勾選「唯讀」。boot.ini,找到以 multi(0)disk(0) 開頭的啟動項目行。/noexecute 參數(DEP 啟用標記),將其改為 /execute。| 參數 | 意義 |
|---|---|
/noexecute | 啟用 DEP(預設) |
/execute | 關閉 DEP |
/noexecute=optin | 僅針對系統程式啟用 |
/noexecute=optout | 預設啟用,可排除特定程式 |
/noexecute=alwayson | 強制全域啟用,不可排除 |
/noexecute=alwaysoff | 強制全域關閉 |
注意:關閉 DEP 會降低系統對緩衝區溢位攻擊的防禦能力,建議僅在確認相容性問題且無法升級軟體時使用,並配合防毒軟體、防火牆等補充防護。