使用硬體強制執行 DEP 的需求 若要將硬體強制執行的 DEP 您必須符合下列所有條件:
電腦的處理器必須支援硬體強制執行的 DEP。許多最新的處理器支援硬體強制執行的 DEP。 這兩個 Advanced Micro Devices (AMD) 和 Intel Corporation 有定義隨附於 Windows 相容架構相容的 DEP。 這項處理器支援可能會被稱為 NX (No-執行) 或 XD (執行停用) 技術。 要判斷您電腦的處理器是否支援硬體強制執行的 DEP,請聯絡您的電腦製造商 (英文)。硬體強制執行的 DEP 都必須在 BIOS 中啟用。您可以在某些電腦上, 停用 BIOS 中的硬體強制執行的 DEP 的處理器支援。 您不必須停用這項支援。 視您的電腦製造商停用這項支援選項可能會被標示 「 資料執行防止,」 「 XD,"[執行停用,] 或 NX 」。Windows XP Service Pack 2 」 或 「 Windows Server 2003 Service Pack 1 安裝必須在電腦。請注意 同時 32 位元版本 」 和 「 Windows 64 位元版本的支援硬體強制執行 DEP。 Windows XP Media Center Edition 2005],並 Microsoft Windows XP Tablet PC Edition 2005 包含的所有功能和 Windows XP SP2 的元件。在電腦上的應用程式必須啟用硬體強制執行的 DEP。在 64 位元版的 Windows 中,硬體強制執行的 DEP 會永遠啟用 64 位元原生程式。 不過,視您的組態硬體強制執行的 DEP 可能停用 32 位元程式。有關 DEP 設定,DEP 的相關資訊,以及支援硬體 DEP 的 Windows 作業系統清單,則請請按一下,下列的文件編號,檢視 「 Microsoft 知識庫 」 中的文件:
875352 將詳細的說明 Windows XP Service Pack 2]、 [Windows XP Tablet PC Edition 2005 和 [Windows Server 2003 中的資料執行防止 (DEP) 功能
如有關您在 Windows XP Service Pack 2 中設定記憶體保護,請造訪下列 Microsoft 網站:
http://technet.microsoft.com/en-us/library/cc700810.aspx
回此頁最上方
如何確認硬體 DEP 在 Windows 中運作 如果要確認硬體 DEP 運作在 Windows 中,使用下列其中一種方法。
方法 1: 使用 wmic 命令列工具 您可以使用 wmic 命令列工具來檢查 DEP 設定。 如果要判斷是否可以使用硬體強制執行的 DEP 中,請依照下列步驟執行]:
按一下 [開始] ,按一下 [執行] 、 在 [ 開啟] 的方塊中輸入 cmd ,然後再按一下 [確定] 。在命令提示字元中,請輸入在下列的命令,並按下 ENTER]:
wmic OS Get DataExecutionPrevention_Available
如果輸出"TRUE 硬體強制執行 DEP 會是可用的。如果要請判斷目前的 DEP 支援原則,請依照下列步驟執行]。
按一下 [開始] ,按一下 [執行] 、 在 [ 開啟] 的方塊中輸入 cmd ,然後再按一下 [確定] 。在命令提示字元中,請輸入在下列的命令,並按下 ENTER]:
wmic OS Get DataExecutionPrevention_SupportPolicy
傳回值會是 0、 1、 2 或 3 的。 這個值會對應至 DEP 支援原則下表中所描述的其中一個。
DataExecutionPrevention_SupportPolicy 屬性值原則層級描述2OptIn (預設設定)唯一的 Windows 系統元件和服務則有套用 DEP3OptOut所有處理程序已啟用 DEP。 系統管理員可以手動建立沒有套用 DEP 的特定應用程式的清單1AlwaysOn所有處理程序已啟用 DEP0AlwaysOff未啟用任何處理序的 DEP
請注意 請確認 Windows 會執行與啟用的 DEP 的硬體,檢查 [
DataExecutionPrevention_Drivers
Win32_OperatingSystem 類別的屬性]。 在某些系統設定,硬體 DEP 可能停用使用
/ nopae 或
/ 執行 的參數,在 Boot.ini 檔案中。 若要檢查這個屬性,請在命令提示字元中輸入下列命令:
wmic OS Get DataExecutionPrevention_Drivers
方法 2: 使用圖形化使用者介面 要您可以使用圖形化使用者介面來判斷是否可用 DEP,請依照下列步驟執行]:
按一下 [開始] ,按一下 [執行] ,在 [ 開啟] 的方塊中輸入 wbemtest 然後再按一下 [確定] 。在 Windows Management Instrumentation 測試器 ] 對話方塊,按一下[連線] (英文)。在 [ 連線 ] 對話方塊頂端方塊,請輸入 root / cimv2 ,然後再按一下 [ 連線]。按一下 [ 列舉的執行個體 。在 [ 類別資訊 ] 對話方塊中,請輸入在 [ 輸入超級類別名稱 ] 方塊中的Win32_OperatingSystem ,然後再按一下 [ 確定 ]。在 查詢結果 ] 對話方塊按兩下 [頂端的項目]。請注意 這個項目的開頭 Win32_OperatingSystem.name=Microsoft...」在 物件的編輯器 的 [對話] 方塊中,找出 [ 內容] 區域中的DataExecutionPrevention_Available 屬性。連按兩下 DataExecutionPrevention_Available 。在 [ 屬性編輯器 ] 對話方塊中,請注意,值,在 [ 值 ] 方塊 (英文)。如果值為 TRUE 可用的硬體 DEP。
注意事項
若要判斷執行的 DEP 模式,檢查 [ Win32_OperatingSystem 類別的DataExecutionPrevention_SupportPolicy 屬性]。 在方法 1 結尾表會描述每個支援的原則值。若要驗證在 Windows 中啟用 DEP 的硬體,檢查 [Win32_OperatingSystem 類別的 DataExecutionPrevention_Drivers屬性]。 在某些系統設定,硬體 DEP 可能停用使用 / nopae 或 / 執行 的參數,在 Boot.ini 檔案中。 在本文所討論的協力廠商產品,是由 Microsoft 無關的公司所製造的。 Microsoft 會讓不保證,暗示或其他,執行效能或這些產品的可靠性。
回此頁最上方
這篇文章中的資訊適用於:
Microsoft Windows Server 2003 Service Pack 1 應用於:
Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)Microsoft Windows Server 2003, Standard Edition (32-bit x86)Microsoft Windows Server 2003, Web EditionMicrosoft Windows Server 2003, Datacenter Edition for Itanium-Based SystemsMicrosoft Windows Server 2003, Enterprise Edition for Itanium-based Systems Microsoft Windows XP Service Pack 2 應用於:
Microsoft Windows XP ProfessionalMicrosoft Windows XP Home Edition (家用版)Microsoft Windows XP Media Center EditionMicrosoft Windows XP Professional x64 EditionMicrosoft Windows XP Tablet PC EditionMicrosoft Windows XP Tablet PC Edition 2005Microsoft Windows XP Professional 64-Bit Edition (Itanium) 2003Microsoft Windows XP Professional 64-Bit Edition (Itanium)Microsoft Windows XP Media Center Edition 2004 Microsoft Windows XP Media Center Edition 2005