I assume that DEP is not the name of your defragmenter.
A quick websearch of "DEP defrag" returned this hint:
Another error message that might appear when you run some applications is
titled "Data Application Prevention". When this message shows up, it will
also tell you that the program you are running, or attempting to run, will
be closed. The message box includes the statement that this was to prevent a
virus or other security threat from damaging your computer. This data
execution prevention (DEP) is a new feature of Windows XP. This function is
used to prevent an application from attempting to run code that is in a
memory page that is marked for data. To try to clarify this for the
non-programmer, when you run software it loads program instruction code and
the information used as data in different memory areas. A specific example
would be running a word processing program. The program is loaded as
instructions and what you type is considered data. These are supposed to be
kept separate. Some hacker software (trojans) can overrun a data page buffer
and then begin executing the code. DEP is designed to prevent this from
happening. So, if you get this message when you run one of your
applications, you need to check with the manufacturer for an update that
will allow it to run without creating a DEP error. If there is no update
available, then check article 875351 in Microsoft's support pages for how to
work around this problem. You can make an exception for the program that is
causing the problem.
Also, before running any defragger, be sure to run a CHKDSK on the partition
to verify that the file system is OK. If any errors are found, run CHKDSK
with the /F option (or the /R option, which checks/fixes more things), then
reboot if asked (usually required). You can also run CHKDSK from the XP
recovery console, directly from the XP CDROM. In that casem the only fix-it
option is /R not /F.