MIME-Version: 1.0
Content-Type: multipart/related; boundary="----=_NextPart_01C567C2.D3BEF270"

This document is a Web archive file.  If you are seeing this message, this means your browser or editor doesn't support Web archive files.  For more information on the Web archive format, go to http://officeupdate.microsoft.com/office/webarchive.htm

------=_NextPart_01C567C2.D3BEF270
Content-Location: file:///C:/E5AA1F50/descriptionoftheDataExecutionPreventionDEPfeatureinWindowsXP.htm
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="us-ascii"

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office"
xmlns:w=3D"urn:schemas-microsoft-com:office:word"
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List
href=3D"descriptionoftheDataExecutionPreventionDEPfeatureinWindowsXP_files/=
filelist.xml">
<title>A detailed description of the Data Execution Prevention (DEP) featur=
e in
Windows XP Service Pack 2 and Windows XP Tablet PC Ed</title>
<!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>Stephen T Fournier</o:Author>
  <o:LastAuthor>Steve</o:LastAuthor>
  <o:Revision>2</o:Revision>
  <o:TotalTime>4</o:TotalTime>
  <o:Created>2005-06-03T05:31:00Z</o:Created>
  <o:LastSaved>2005-06-03T05:31:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Words>1433</o:Words>
  <o:Characters>8170</o:Characters>
  <o:Company>DeRae Designs</o:Company>
  <o:Lines>68</o:Lines>
  <o:Paragraphs>19</o:Paragraphs>
  <o:CharactersWithSpaces>9584</o:CharactersWithSpaces>
  <o:Version>10.2625</o:Version>
 </o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Print</w:View>
  <w:Zoom>BestFit</w:Zoom>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DrawingGridHorizontalSpacing>9.35 pt</w:DrawingGridHorizontalSpacing>
  <w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:536871559 0 0 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
h1
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:1;
	font-size:24.0pt;
	font-family:"Times New Roman";}
p.MsoHeader, li.MsoHeader, div.MsoHeader
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	tab-stops:center 3.0in right 6.0in;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
p.MsoFooter, li.MsoFooter, div.MsoFooter
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	tab-stops:center 3.0in right 6.0in;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
p.Heading23, li.Heading23, div.Heading23
	{mso-style-name:"Heading 23";
	margin-top:0in;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:3;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";
	font-weight:bold;}
p.table1, li.table1, div.table1
	{mso-style-name:table1;
	margin:10.0pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
p.list1, li.list1, div.list1
	{mso-style-name:list1;
	margin-top:10.0pt;
	margin-right:5.0pt;
	margin-bottom:10.0pt;
	margin-left:5.0pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
p.Heading34, li.Heading34, div.Heading34
	{mso-style-name:"Heading 34";
	margin-top:15.0pt;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:4;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";
	font-weight:bold;}
span.userinput2
	{mso-style-name:userinput2;
	mso-ansi-font-size:8.5pt;
	mso-bidi-font-size:8.5pt;
	font-weight:bold;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-footer:url("descriptionoftheDataExecutionPreventionDEPfeatureinWindows=
XP_files/header.htm") f1;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple style=3D'tab-interval:.5in'>

<div class=3DSection1>

<h1 style=3D'margin-top:0in;margin-right:0in;margin-bottom:10.0pt;margin-le=
ft:
0in'><span style=3D'font-size:14.5pt;font-family:Verdana'>A detailed descri=
ption
of the Data Execution Prevention (DEP) feature in Windows XP Service Pack 2=
 and
Windows XP Tablet PC Edition 2005<o:p></o:p></span></h1>

<p class=3DHeading23 style=3D'margin-top:15.0pt;margin-right:0in;margin-bot=
tom:
5.0pt;margin-left:0in'><a name=3Dkb1><span style=3D'font-size:11.5pt;font-f=
amily:
Verdana;color:black'>SUMMARY</span></a><span style=3D'font-size:11.5pt;
font-family:Verdana;color:black'><o:p></o:p></span></p>

<p class=3DMsoNormal><i><span style=3D'font-size:6.0pt;font-family:Verdana'=
>Data
Execution Prevention (DEP) is a set of hardware and software technologies t=
hat
perform additional checks on memory to help prevent malicious code from run=
ning
on a system. In Microsoft Windows XP Service Pack 2 (SP2) and Microsoft Win=
dows
XP Tablet PC Edition 2005, DEP is enforced by hardware and by software.<br>
<br>
The primary benefit of DEP is to help prevent code execution from data page=
s.
Typically, code is not executed from the default heap and the stack.
Hardware-enforced DEP detects code that is running from these locations and
raises an exception when execution occurs. Software-enforced DEP can help
prevent malicious code from taking advantage of exception-handling mechanis=
ms
in Windows.</span></i><span style=3D'font-size:6.0pt;font-family:Verdana'><=
o:p></o:p></span></p>

<p class=3DHeading23 style=3D'margin-top:15.0pt;margin-right:0in;margin-bot=
tom:
5.0pt;margin-left:0in'><a name=3Dkb2><span style=3D'font-size:11.5pt;font-f=
amily:
Verdana;color:black'>INTRODUCTION</span></a><span style=3D'font-size:11.5pt;
font-family:Verdana;color:black'><o:p></o:p></span></p>

<p class=3DMsoNormal><a name=3D1></a><span style=3D'font-size:8.5pt;font-fa=
mily:Verdana'>This
article describes the DEP feature in Windows XP SP2 and discusses the follo=
wing
topics: <o:p></o:p></span></p>

<p class=3Dlist1><span style=3D'font-size:8.5pt;font-family:Verdana'><a
href=3D"http://support.microsoft.com/default.aspx?kbid=3D875352&amp;product=
=3Dwindowsxpsp2#2#2">Hardware-enforced
DEP</a><o:p></o:p></span></p>

<p class=3Dlist1><span style=3D'font-size:8.5pt;font-family:Verdana'><a
href=3D"http://support.microsoft.com/default.aspx?kbid=3D875352&amp;product=
=3Dwindowsxpsp2#3#3">Software-enforced
DEP</a><o:p></o:p></span></p>

<p class=3Dlist1><span style=3D'font-size:8.5pt;font-family:Verdana'><a
href=3D"http://support.microsoft.com/default.aspx?kbid=3D875352&amp;product=
=3Dwindowsxpsp2#4#4">Benefits</a><o:p></o:p></span></p>

<p class=3Dlist1><span style=3D'font-size:8.5pt;font-family:Verdana'><a
href=3D"http://support.microsoft.com/default.aspx?kbid=3D875352&amp;product=
=3Dwindowsxpsp2#5#5">System-wide
configuration of DEP</a><o:p></o:p></span></p>

<p class=3Dlist1><span style=3D'font-size:8.5pt;font-family:Verdana'><a
href=3D"http://support.microsoft.com/default.aspx?kbid=3D875352&amp;product=
=3Dwindowsxpsp2#6#6">Per-program
DEP configuration</a><o:p></o:p></span></p>

<p class=3DHeading23 style=3D'margin-top:15.0pt;margin-right:0in;margin-bot=
tom:
5.0pt;margin-left:0in'><a name=3Dkb3><span style=3D'font-size:11.5pt;font-f=
amily:
Verdana;color:black'>MORE INFORMATION</span></a><span style=3D'font-size:11=
.5pt;
font-family:Verdana;color:black'><o:p></o:p></span></p>

<p class=3DHeading34><a name=3D2></a><span style=3D'font-size:8.5pt;font-fa=
mily:Verdana'>Hardware-enforced
DEP<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:8.5pt;font-family:Verdana'>Ha=
rdware-enforced
DEP marks all memory locations in a process as non-executable unless the
location explicitly contains executable code. A class of attacks exists that
tries to insert and run code from non-executable memory locations. DEP helps
prevent these attacks by intercepting them and raising an exception.<br>
<br>
Hardware-enforced DEP relies on processor hardware to mark memory with an
attribute that indicates that code should not be executed from that memory.=
 DEP
functions on a per-virtual memory page basis, and DEP typically changes a b=
it
in the page table entry (PTE) to mark the memory page.<br>
<br>
Processor architecture determines how DEP is implemented in hardware and how
DEP marks the virtual memory page. However, processors that support
hardware-enforced DEP can raise an exception when code is executed from a p=
age
that is marked with the appropriate attribute set.<br>
<br>
Advanced Micro Devices (AMD) and Intel have defined and shipped
Windows-compatible architectures that are compatible with DEP. <br>
<br>
Beginning with Windows XP <span class=3DGramE>SP2,</span> the 32-bit versio=
n of
Windows uses one of the following: <o:p></o:p></span></p>

<table class=3DMsoNormalTable border=3D0 cellpadding=3D0 style=3D'mso-cells=
pacing:1.5pt;
 margin-left:5.0pt'>
 <tr style=3D'mso-yfti-irow:0'>
  <td width=3D16 valign=3Dtop style=3D'width:12.0pt;background:#F7F7FF;padd=
ing:0in 0in 0in 0in'>
  <p class=3Dlist1 align=3Dcenter style=3D'text-align:center'><span style=
=3D'font-size:
  9.0pt;font-family:Verdana'>&#8226;<o:p></o:p></span></p>
  </td>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:3.0pt 8.0pt 3.0pt 8.=
0pt'>
  <p class=3Dlist1><span style=3D'font-size:8.5pt;font-family:Verdana'>The
  no-execute page-protection (NX) processor feature as defined by AMD.<o:p>=
</o:p></span></p>
  </td>
 </tr>
 <tr style=3D'mso-yfti-irow:1;mso-yfti-lastrow:yes'>
  <td width=3D16 valign=3Dtop style=3D'width:12.0pt;background:#F7F7FF;padd=
ing:0in 0in 0in 0in'>
  <p class=3Dlist1 align=3Dcenter style=3D'text-align:center'><span style=
=3D'font-size:
  9.0pt;font-family:Verdana'>&#8226;<o:p></o:p></span></p>
  </td>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:3.0pt 8.0pt 3.0pt 8.=
0pt'>
  <p class=3Dlist1><span style=3D'font-size:8.5pt;font-family:Verdana'>The =
Execute
  Disable Bit (XD) feature as defined by Intel.<o:p></o:p></span></p>
  </td>
 </tr>
</table>

<p class=3DMsoNormal><span style=3D'font-size:8.5pt;font-family:Verdana'>To=
 use
these processor features, the processor must be running in Physical Address
Extension (PAE) mode. However, Windows will automatically enable PAE mode to
support DEP. Users do not have to separately enable PAE by using the <b>/PA=
E</b>
boot switch.<br>
<br>
<span style=3D'mso-spacerun:yes'>&nbsp;</span><o:p></o:p></span></p>

<p class=3DHeading34><a name=3D3></a><span style=3D'font-size:8.5pt;font-fa=
mily:Verdana'>Software-enforced
DEP<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:8.5pt;font-family:Verdana'>An
additional set of Data Execution Prevention security checks have been added=
 to
Windows XP SP2. These checks, known as software-enforced DEP, are designed =
to
block malicious code that takes advantage of exception-handling mechanisms =
in
Windows. Software-enforced DEP runs on any processor that can run Windows XP
SP2. By default, software-enforced DEP helps protect only limited system
binaries, regardless of the hardware-enforced DEP capabilities of the
processor.<br>
<br>
<span style=3D'mso-spacerun:yes'>&nbsp;</span><o:p></o:p></span></p>

<p class=3DHeading34><a name=3D4></a><span style=3D'font-size:8.5pt;font-fa=
mily:Verdana'>Benefits<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:8.5pt;font-family:Verdana'>Th=
e primary
benefit of DEP is that it helps prevent code execution from data pages, suc=
h as
the default heap pages, various stack pages, and memory pool pages. Typical=
ly,
code is not executed from the default heap and the stack. Hardware-enforced=
 DEP
detects code that is running from these locations and raises an exception w=
hen
execution occurs. If the exception is unhandled, the process will be stoppe=
d.
Execution of code from protected memory in kernel mode causes a Stop error.=
<br>
<br>
DEP can help block a class of security intrusions. Specifically, DEP can he=
lp
block a malicious program in which a virus or other type of attack has inje=
cted
a process with additional code and then tries to run the injected code. On a
system with DEP, execution of the injected code causes an exception.
Software-enforced DEP can help block programs that take advantage of
exception-handling mechanisms in Windows. <br>
<br>
<span style=3D'mso-spacerun:yes'>&nbsp;</span><o:p></o:p></span></p>

<p class=3DHeading34><a name=3D5></a><span style=3D'font-size:8.5pt;font-fa=
mily:Verdana'>System-wide
configuration of DEP<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:8.5pt;font-family:Verdana'>DEP
configuration for the system is controlled through switches in the Boot.ini
file. If you are logged on as an administrator, you can now easily configure
DEP settings by using the <strong><span style=3D'font-family:Verdana'>Syste=
m</span></strong>
dialog box in Control Panel.<br>
<br>
Windows supports four system-wide configurations for both hardware-enforced=
 and
software-enforced DEP.<o:p></o:p></span></p>

<table class=3DMsoNormalTable border=3D0 cellspacing=3D1 cellpadding=3D0
 style=3D'mso-cellspacing:.7pt;margin-left:10.0pt;mso-padding-alt:0in 0in 0=
in 0in'>
 <tr style=3D'mso-yfti-irow:0'>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:5.0pt 5.0pt 5.0pt 5.=
0pt'>
  <p class=3Dtable1><b><span style=3D'font-size:8.0pt;font-family:Verdana'>=
Configuration</span></b><span
  style=3D'font-size:8.0pt;font-family:Verdana'><o:p></o:p></span></p>
  </td>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:5.0pt 5.0pt 5.0pt 5.=
0pt'>
  <p class=3Dtable1><b><span style=3D'font-size:8.0pt;font-family:Verdana'>=
Description</span></b><span
  style=3D'font-size:8.0pt;font-family:Verdana'><o:p></o:p></span></p>
  </td>
 </tr>
 <tr style=3D'mso-yfti-irow:1'>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:5.0pt 5.0pt 5.0pt 5.=
0pt'>
  <p class=3Dtable1><span class=3DSpellE><b><span style=3D'font-size:8.0pt;
  font-family:Verdana'>OptIn</span></b></span><span style=3D'font-size:8.0p=
t;
  font-family:Verdana'><o:p></o:p></span></p>
  </td>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:5.0pt 5.0pt 5.0pt 5.=
0pt'>
  <p class=3Dtable1><span style=3D'font-size:8.0pt;font-family:Verdana'>This
  setting is the default configuration. On systems with processors that can
  implement hardware-enforced DEP, DEP is enabled by default for limited sy=
stem
  binaries and programs that &quot;opt-in.&quot; With this option, only Win=
dows
  system binaries are covered by DEP by default.<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style=3D'mso-yfti-irow:2'>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:5.0pt 5.0pt 5.0pt 5.=
0pt'>
  <p class=3Dtable1><span class=3DSpellE><b><span style=3D'font-size:8.0pt;
  font-family:Verdana'>OptOut</span></b></span><span style=3D'font-size:8.0=
pt;
  font-family:Verdana'><o:p></o:p></span></p>
  </td>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:5.0pt 5.0pt 5.0pt 5.=
0pt'>
  <p class=3Dtable1 style=3D'margin-top:0in;margin-right:10.0pt;margin-bott=
om:0in;
  margin-left:10.0pt;margin-bottom:.0001pt'><span style=3D'font-size:8.0pt;
  font-family:Verdana'>DEP is enabled by default for all processes. You can
  manually create a list of specific programs that do not have DEP applied =
by
  using the <strong><span style=3D'font-family:Verdana'>System</span></stro=
ng>
  dialog box in Control Panel. Information technology (IT) professionals can
  use the Application Compatibility Toolkit to &quot;opt-out&quot; one or m=
ore
  programs from DEP protection. System compatibility fixes, or shims, for D=
EP
  do take effect.<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style=3D'mso-yfti-irow:3'>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:5.0pt 5.0pt 5.0pt 5.=
0pt'>
  <p class=3Dtable1 style=3D'margin-top:0in;margin-right:10.0pt;margin-bott=
om:0in;
  margin-left:10.0pt;margin-bottom:.0001pt'><span class=3DSpellE><b><span
  style=3D'font-size:8.0pt;font-family:Verdana'>AlwaysOn</span></b></span><=
span
  style=3D'font-size:8.0pt;font-family:Verdana'><o:p></o:p></span></p>
  </td>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:5.0pt 5.0pt 5.0pt 5.=
0pt'>
  <p class=3Dtable1 style=3D'margin-top:0in;margin-right:10.0pt;margin-bott=
om:0in;
  margin-left:10.0pt;margin-bottom:.0001pt'><span style=3D'font-size:8.0pt;
  font-family:Verdana'>This setting provides full DEP coverage for the whole
  system. All processes always run with DEP applied. The exceptions list to
  exempt specific programs from DEP protection is not available. System
  compatibility fixes for DEP do not take effect. Programs that have been
  opted-out by using the Application Compatibility Toolkit run with DEP
  applied.<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style=3D'mso-yfti-irow:4;mso-yfti-lastrow:yes'>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:5.0pt 5.0pt 5.0pt 5.=
0pt'>
  <p class=3Dtable1 style=3D'margin-top:0in;margin-right:10.0pt;margin-bott=
om:0in;
  margin-left:10.0pt;margin-bottom:.0001pt'><span class=3DSpellE><b><span
  style=3D'font-size:8.0pt;font-family:Verdana'>AlwaysOff</span></b></span>=
<span
  style=3D'font-size:8.0pt;font-family:Verdana'><o:p></o:p></span></p>
  </td>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:5.0pt 5.0pt 5.0pt 5.=
0pt'>
  <p class=3Dtable1 style=3D'margin-top:0in;margin-right:10.0pt;margin-bott=
om:0in;
  margin-left:10.0pt;margin-bottom:.0001pt'><span style=3D'font-size:8.0pt;
  font-family:Verdana'>This setting does not provide any DEP coverage for a=
ny
  part of the system, regardless of hardware DEP support. The processor doe=
s not
  run in PAE mode unless the <strong><span style=3D'font-family:Verdana'>/P=
AE</span></strong>
  option is present in the Boot.ini file.<o:p></o:p></span></p>
  </td>
 </tr>
</table>

<p class=3DMsoNormal><span style=3D'font-size:8.5pt;font-family:Verdana'>Ha=
rdware-enforced
and software-enforced DEP are configured in the same manner. If the system-=
wide
DEP policy is set to <span class=3DSpellE>OptIn</span>, the same Windows co=
re
binaries and programs will be protected by both hardware-enforced and
software-enforced DEP. If the system cannot use hardware-enforced DEP, the
Windows core binaries and programs will be protected only by software-enfor=
ced
DEP.<br>
<br>
Similarly, if the system-wide DEP policy is set to <span class=3DSpellE>Opt=
Out</span>,
programs that have been exempted from DEP protection will be exempted from =
both
hardware-enforced and software-enforced DEP.<br>
<br>
The Boot.ini file settings are as follows: <o:p></o:p></span></p>

<p class=3DMsoNormal><b><span style=3D'font-size:6.0pt;font-family:Verdana'=
>/<span
class=3DSpellE>noexecute</span></span></b><span style=3D'font-size:6.0pt;
font-family:Verdana'>=3D<span class=3DSpellE><var><span style=3D'font-famil=
y:Verdana'>policy_level</span></var></span><o:p></o:p></span></p>

<p class=3DMsoNormal><b><span style=3D'font-size:8.5pt;font-family:Verdana'=
>Note </span></b><span
class=3DSpellE><var><span style=3D'font-size:8.5pt;font-family:Verdana'>pol=
icy_level</span></var></span><span
style=3D'font-size:8.5pt;font-family:Verdana'> is defined as <span class=3D=
SpellE>AlwaysOn</span>,
<span class=3DSpellE>AlwaysOff</span>, <span class=3DSpellE>OptIn</span>, o=
r <span
class=3DSpellE>OptOut</span>.<br>
<br>
Existing <b>/<span class=3DSpellE>noexecute</span></b> settings in the Boot=
.ini
file are not changed when Windows XP SP2 is installed. These settings are a=
lso
not changed if a Windows operating system image is moved across computers w=
ith
or without hardware-enforced DEP support.<br>
<br>
During installation of Windows XP SP2, the <span class=3DSpellE>OptIn</span>
policy level is enabled by default unless a different policy level is speci=
fied
in an unattended installation. If the <b>/<span class=3DSpellE>noexecute</s=
pan></b>=3D<span
class=3DSpellE><var><span style=3D'font-family:Verdana'>policy_level</span>=
</var></span>
setting is not present in the Boot.ini file for a version of Windows that
supports DEP, the behavior is the same as if the <b>/<span class=3DSpellE>n=
oexecute</span></b>=3D<span
class=3DSpellE>OptIn</span> setting was included.<br>
<br>
If you are logged on as an administrator, you can manually configure DEP to
switch between the <span class=3DSpellE>OptIn</span> and <span class=3DSpel=
lE>OptOut</span>
policies by using the <strong><span style=3D'font-family:Verdana'>Data Exec=
ution
Prevention</span></strong> tab in <strong><span style=3D'font-family:Verdan=
a'>System
Properties</span></strong>. The following procedure describes how to manual=
ly
configure DEP on the computer: <o:p></o:p></span></p>

<table class=3DMsoNormalTable border=3D0 cellpadding=3D0 style=3D'mso-cells=
pacing:1.5pt;
 margin-left:5.0pt'>
 <tr style=3D'mso-yfti-irow:0'>
  <td nowrap valign=3Dtop style=3D'background:#F7F7FF;padding:3.0pt 3.0pt 3=
.0pt 3.0pt'>
  <p class=3Dlist1><span style=3D'font-size:8.0pt;font-family:Verdana'>1.<o=
:p></o:p></span></p>
  </td>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:3.0pt 8.0pt 3.0pt 8.=
0pt'>
  <p class=3Dlist1 style=3D'margin-top:0in;margin-right:5.0pt;margin-bottom=
:0in;
  margin-left:5.0pt;margin-bottom:.0001pt'><span style=3D'font-size:8.5pt;
  font-family:Verdana'>Click </span><strong><span style=3D'font-size:6.0pt;
  font-family:Verdana'>Start</span></strong><span style=3D'font-size:8.5pt;
  font-family:Verdana'>, click </span><strong><span style=3D'font-size:6.0p=
t;
  font-family:Verdana'>Run</span></strong><span style=3D'font-size:8.5pt;
  font-family:Verdana'>, type </span><span class=3DSpellE><span class=3Duse=
rinput2><span
  style=3D'font-size:6.0pt;font-family:Verdana'>sysdm.cpl</span></span></sp=
an><span
  style=3D'font-size:8.5pt;font-family:Verdana'>, and then click </span><st=
rong><span
  style=3D'font-size:6.0pt;font-family:Verdana'>OK</span></strong><span
  style=3D'font-size:8.5pt;font-family:Verdana'>.<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style=3D'mso-yfti-irow:1'>
  <td nowrap valign=3Dtop style=3D'background:#F7F7FF;padding:3.0pt 3.0pt 3=
.0pt 3.0pt'>
  <p class=3Dlist1><span style=3D'font-size:8.0pt;font-family:Verdana'>2.<o=
:p></o:p></span></p>
  </td>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:3.0pt 8.0pt 3.0pt 8.=
0pt'>
  <p class=3Dlist1 style=3D'margin-top:0in;margin-right:5.0pt;margin-bottom=
:0in;
  margin-left:5.0pt;margin-bottom:.0001pt'><span style=3D'font-size:8.5pt;
  font-family:Verdana'>On the </span><strong><span style=3D'font-size:6.0pt;
  font-family:Verdana'>Advanced</span></strong><span style=3D'font-size:8.5=
pt;
  font-family:Verdana'> tab, under </span><strong><span style=3D'font-size:=
6.0pt;
  font-family:Verdana'>Performance</span></strong><span style=3D'font-size:=
8.5pt;
  font-family:Verdana'>, click </span><strong><span style=3D'font-size:6.0p=
t;
  font-family:Verdana'>Settings</span></strong><span style=3D'font-size:8.5=
pt;
  font-family:Verdana'>.<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style=3D'mso-yfti-irow:2'>
  <td nowrap valign=3Dtop style=3D'background:#F7F7FF;padding:3.0pt 3.0pt 3=
.0pt 3.0pt'>
  <p class=3Dlist1><span style=3D'font-size:8.0pt;font-family:Verdana'>3.<o=
:p></o:p></span></p>
  </td>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:3.0pt 8.0pt 3.0pt 8.=
0pt'>
  <p class=3Dlist1 style=3D'margin-top:0in;margin-right:5.0pt;margin-bottom=
:0in;
  margin-left:5.0pt;margin-bottom:.0001pt'><span style=3D'font-size:8.5pt;
  font-family:Verdana'>On the </span><strong><span style=3D'font-size:6.0pt;
  font-family:Verdana'>Data Execution Prevention</span></strong><span
  style=3D'font-size:8.5pt;font-family:Verdana'> tab, use one of the follow=
ing
  procedures: <o:p></o:p></span></p>
  <table class=3DMsoNormalTable border=3D0 cellpadding=3D0 style=3D'mso-cel=
lspacing:
   1.5pt;margin-left:5.0pt;mso-padding-alt:3.0pt 8.0pt 3.0pt 8.0pt'>
   <tr style=3D'mso-yfti-irow:0'>
    <td width=3D16 valign=3Dtop style=3D'width:12.0pt;background:#F7F7FF;pa=
dding:
    3.0pt 8.0pt 3.0pt 8.0pt'>
    <p class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><span
    style=3D'font-size:6.0pt;font-family:Verdana'>&#8226;<o:p></o:p></span>=
</p>
    </td>
    <td valign=3Dtop style=3D'background:#F7F7FF;padding:3.0pt 8.0pt 3.0pt =
8.0pt'>
    <p class=3DMsoNormal><span style=3D'font-size:6.0pt;font-family:Verdana=
'>Click </span><strong><span
    style=3D'font-size:4.0pt;font-family:Verdana'>Turn on DEP for essential
    Windows programs and services only</span></strong><span style=3D'font-s=
ize:
    6.0pt;font-family:Verdana'> to select the <span class=3DSpellE>OptIn</s=
pan>
    policy.<o:p></o:p></span></p>
    </td>
   </tr>
   <tr style=3D'mso-yfti-irow:1;mso-yfti-lastrow:yes'>
    <td width=3D16 valign=3Dtop style=3D'width:12.0pt;background:#F7F7FF;pa=
dding:
    3.0pt 8.0pt 3.0pt 8.0pt'>
    <p class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><span
    style=3D'font-size:6.0pt;font-family:Verdana'>&#8226;<o:p></o:p></span>=
</p>
    </td>
    <td valign=3Dtop style=3D'background:#F7F7FF;padding:3.0pt 8.0pt 3.0pt =
8.0pt'>
    <p class=3DMsoNormal><span style=3D'font-size:6.0pt;font-family:Verdana=
'>Click </span><strong><span
    style=3D'font-size:4.0pt;font-family:Verdana'>Turn on DEP for all progr=
ams
    and services except those I select</span></strong><span style=3D'font-s=
ize:
    6.0pt;font-family:Verdana'> to select the <span class=3DSpellE>OptOut</=
span>
    policy, and then click </span><strong><span style=3D'font-size:4.0pt;
    font-family:Verdana'>Add</span></strong><span style=3D'font-size:6.0pt;
    font-family:Verdana'> to add the programs that you do not want to use t=
he
    DEP feature.<o:p></o:p></span></p>
    </td>
   </tr>
  </table>
  <p class=3Dlist1 style=3D'margin-top:0in;margin-right:5.0pt;margin-bottom=
:0in;
  margin-left:5.0pt;margin-bottom:.0001pt'><span style=3D'font-size:8.5pt;
  font-family:Verdana'><o:p></o:p></span></p>
  </td>
 </tr>
 <tr style=3D'mso-yfti-irow:3;mso-yfti-lastrow:yes'>
  <td nowrap valign=3Dtop style=3D'background:#F7F7FF;padding:3.0pt 3.0pt 3=
.0pt 3.0pt'>
  <p class=3Dlist1><span style=3D'font-size:8.0pt;font-family:Verdana'>4.<o=
:p></o:p></span></p>
  </td>
  <td valign=3Dtop style=3D'background:#F7F7FF;padding:3.0pt 8.0pt 3.0pt 8.=
0pt'>
  <p class=3Dlist1 style=3D'margin-top:0in;margin-right:5.0pt;margin-bottom=
:0in;
  margin-left:5.0pt;margin-bottom:.0001pt'><span style=3D'font-size:8.5pt;
  font-family:Verdana'>Click </span><strong><span style=3D'font-size:6.0pt;
  font-family:Verdana'>OK</span></strong><span style=3D'font-size:8.5pt;
  font-family:Verdana'> two times.<o:p></o:p></span></p>
  </td>
 </tr>
</table>

<p class=3DMsoNormal><span style=3D'font-size:8.5pt;font-family:Verdana'>IT
professionals can control system-wide DEP configuration by using a variety =
of
methods. The Boot.ini file can be modified directly with scripting mechanis=
ms
or with the Bootcfg.exe tool that is included in Windows XP SP2.<br>
<br>
For unattended installations of Windows XP SP2, you can use the Unattend.txt
file to pre-populate a specific DEP configuration. You can use the <span
class=3DSpellE>OSLoadOptionsVar</span> entry in the [Data] section of the
Unattend.txt file to specify a system-wide DEP configuration.<br>
<br>
<span style=3D'mso-spacerun:yes'>&nbsp;</span><o:p></o:p></span></p>

<p class=3DHeading34><a name=3D6></a><span style=3D'font-size:8.5pt;font-fa=
mily:Verdana'>Per-program
DEP configuration<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:8.5pt;font-family:Verdana'>Fo=
r the
purposes of program compatibility, you can selectively disable DEP for
individual 32-bit programs when DEP is set to the <span class=3DSpellE>OptO=
ut</span>
policy level. To do this, use the <strong><span style=3D'font-family:Verdan=
a'>Data
Execution Prevention</span></strong> tab in <strong><span style=3D'font-fam=
ily:
Verdana'>System Properties</span></strong> to selectively disable DEP for a
program.<br>
<br>
For IT professionals, a new program compatibility fix that is named <span
class=3DSpellE>DisableNX</span> is included with Windows XP SP2. The <span
class=3DSpellE>DisableNX</span> compatibility fix disables Data Execution
Prevention for the program that the fix is applied to.<br>
<br>
The <span class=3DSpellE>DisableNX</span> compatibility fix can be applied =
to a
program by using the Application Compatibility Toolkit. For more information
about Windows application compatibility, see <i>Windows Application
Compatibility</i> on the following Microsoft Web site: <o:p></o:p></span></=
p>

<p class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:Verdana'><a
href=3D"http://www.microsoft.com/windows/appcompatibility/default.mspx">htt=
p://www.microsoft.com/windows/appcompatibility/default.mspx</a><o:p></o:p><=
/span></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>

------=_NextPart_01C567C2.D3BEF270
Content-Location: file:///C:/E5AA1F50/descriptionoftheDataExecutionPreventionDEPfeatureinWindowsXP_files/header.htm
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="us-ascii"

<html xmlns:v=3D"urn:schemas-microsoft-com:vml"
xmlns:o=3D"urn:schemas-microsoft-com:office:office"
xmlns:w=3D"urn:schemas-microsoft-com:office:word"
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link id=3DMain-File rel=3DMain-File
href=3D"../descriptionoftheDataExecutionPreventionDEPfeatureinWindowsXP.htm=
">
<![if IE]>
<base
href=3D"file:///C:\E5AA1F50\descriptionoftheDataExecutionPreventionDEPfeatu=
reinWindowsXP_files\header.htm"
id=3D"webarch_temp_base_tag">
<![endif]>
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div style=3D'mso-element:footer' id=3Df1>

<p class=3DMsoFooter style=3D'tab-stops:center -308.9pt right 457.9pt'><span
style=3D'font-size:8.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><span
style=3D'mso-field-code:" FILENAME \\p "'><span style=3D'mso-no-proof:yes'>=
E:\Computer
Info\XP\A detailed description of the Data Execution Prevention DEP feature=
 in
Windows XP Service Pack 2 and Windows XP Tablet PC Edition 2005.doc</span><=
/span><span
style=3D'mso-tab-count:1'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Pa=
ge
<span style=3D'mso-field-code:" PAGE "'><span style=3D'mso-no-proof:yes'>4<=
/span></span>
of <span style=3D'mso-field-code:" NUMPAGES "'><span style=3D'mso-no-proof:=
yes'>4</span></span><o:p></o:p></span></p>

</div>

</body>

</html>

------=_NextPart_01C567C2.D3BEF270
Content-Location: file:///C:/E5AA1F50/descriptionoftheDataExecutionPreventionDEPfeatureinWindowsXP_files/filelist.xml
Content-Transfer-Encoding: quoted-printable
Content-Type: text/xml; charset="utf-8"

<xml xmlns:o=3D"urn:schemas-microsoft-com:office:office">
 <o:MainFile
  HRef=3D"../descriptionoftheDataExecutionPreventionDEPfeatureinWindowsXP.h=
tm"/>
 <o:File HRef=3D"header.htm"/>
 <o:File HRef=3D"filelist.xml"/>
</xml>
------=_NextPart_01C567C2.D3BEF270--

