Data Execution Prevention is stopping me from deleting files and cleaning up a drive

I am attempting to delete some large files and folders on a secondary drive.  I keep getting a dialog box that Data Execution Prevention has closed this program, presumably Windows Explorer.  Then usually Windows Explorer crashes when I click the dialog box.

Reconfiguring Data Execution Prevention to exclude Windows Explorer does no good.

Editing boot.ini by adding
and rebooting the computer does nothing whatsoever.  Same problem, same symptoms.

Any ideas about how to actually get control of my computer again?
Who is Participating?
KlintanConnect With a Mentor Commented:
If you want to delete files that you can't delete with Explorer you should use command prompt.
Click start and then run. Type cmd and press enter
First change directory with CD /D
Then find the short name of the file/folder with DIR /X
Use DEL /F /S to delete files
use RMDIR /S to delete folders

C:\Documents and Settings\username\My Documents>CD /D D:\

C:\>DIR /X
 Volume in drive D has no label.
 Volume Serial Number is XXXX-XXXX

 Directory of D:\

2006-05-17  11:09                80 FILTER~1.LOG FilterLog.log
2006-05-05  16:53    <DIR>                       i386
2006-05-29  15:06    <DIR>          LONGST~1     Long stange name
               9 File(s)        303 167 bytes
              17 Dir(s)  56 041 730 048 bytes free

D:\>rmdir /S LONGST~1
LONGST~1, Are you sure (Y/N)? y

Mohammed HamadaConnect With a Mentor Senior IT ConsultantCommented:
Boot up to Safe Mode and delete the files.

Use Killbox or Unlocker in Safe Mode to remove hard to remove file.

Killbox to Delete files


I think that both me and moh10ly have answered this question and it do not feel right to delete this question with no credit to us.
Paul_Norris_IIAuthor Commented:
My apologies for not assigning points sooner.  The first answer worked, and I was mentally kicking myself for missing such an obvious thing to try.  Somehow, it didn't seem to me that command mode would not suffer the same problem as the GUI.  I used the first answer successfully and believe the second answer would have worked as well.
Thank you :-)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.