Data Execution Prevention crashing Windows

R

regenesis0

I have a problem. Windows is crashing itself. Constantly.

It's DEP. Windows closes itself when even LOOKING at some files. (It
crashes when I even run up the directory containing the files.) It's
not instant, so I assume this somehow involves it looking inside the
files for metadata. They're video, and probably in non-standard
codecs.

Of course, about 1 time in 10 when windows forces it to quit, ti will
nto quick properly, leaving my computer hangign with no properly
runnign copy of explorer, and no choice but to restart.

Windows 2000 had this problem with some video files in codecs it didn't
like- I turned off the preview sidebar. That fixed it on Windoes 2000,
but didn't fix the problem on XP.

What's going on and how can I make it now do this? It's annoying as
all ****.

I'm runnign Media Edition, on a HP Pavilliion Widescreen with a gig of
ram, dual monitors and a dock. ...none of which are relevant to the
problem, because it did the same thign when i took jsut the bare laptop
up to my cabin te other weekend.

What do I turn off? What do I patch? Are the fiels corrupt and I need
to scrub them? If windows anti-exploit feature causes it to force-quit
every time it encounters a corrupt media file, isn't that... awful?
Advice needed.

-Derik
 
P

Pennywise

What's going on and how can I make it now do this? It's annoying as
all ****.

I'm runnign Media Edition, on a HP Pavilliion Widescreen with a gig of
ram, dual monitors and a dock. ...none of which are relevant to the
problem, because it did the same thign when i took jsut the bare laptop
up to my cabin te other weekend.

What do I turn off?

Right Click "my computer" - Advanced - Performance Options - DEP
See if you can just exempt the program that's causing problems.
 
R

regenesis0

Right Click "my computer" - Advanced - Performance Options - DEP
See if you can just exempt the program that's causing problems.

It's already set to 'turn on DEP for essential windows programs only.'

And the program causing the problms is windows explorer. I dont' think
you can exempt that.

There is, of course, no way to somply turn it OFF.

-Derik
 
P

Pennywise

It's already set to 'turn on DEP for essential windows programs only.'

And the program causing the problms is windows explorer. I dont' think
you can exempt that.
There is, of course, no way to somply turn it OFF.

Something is wrong then, and you should fix that problem....

but you can turn it off...

Right Click "my computer" - Advanced - Startup and recovery
Click on Edit to edit the Boot.ini

Change
/NoExecute=OptOut
to
/NoExecute=AlwaysOff

(reboot)

"This does not provide any DEP coverage for any part of the system,
regardless of hardware DEP support. The processor will run in PAE mode
with 32-bit versions of Windows unless the /NOPAE option is also
present in the boot entry." http://tinyurl.com/4o6bb
 
G

Guest

For the time being(unless you want to format and clean install) you can turn
off DEP.

You would have to edit the boot.ini file located on C:

The operating system section of your file may look something like this:

[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /FASTDETECT /NOEXECUTE=OPTIN

You would have to change /NOEXECUTE=OPTIN to /NOEXECUTE=OPTOUT
 
R

regenesis0

Something is wrong then, and you should fix that problem....

Thank you. I'd assuemd that windows was SUPPOSED to force itself
to quit.
(I mean, I'm not a rocket scientist, but I'd think excempting
windows explroer from being involuntarily shut down by DEP woudl be a
good idea.)
but you can turn it off...

Right Click "my computer" - Advanced - Startup and recovery
Click on Edit to edit the Boot.ini

Change
/NoExecute=OptOut
to
/NoExecute=AlwaysOff

(reboot)

Sweet! That's immensely helpful! I'll do it as soon as I get home.
"This does not provide any DEP coverage for any part of the system,
regardless of hardware DEP support. The processor will run in PAE mode
with 32-bit versions of Windows unless the /NOPAE option is also
present in the boot entry." http://tinyurl.com/4o6bb

DEP exists just to protect you from malicious programs, right? So I
just need to be careful not to isntall anything thaty tries to worm its
way into every system function and cause massive slowdown- like Norton
AntiVirus- right?

Thanks Pennywise and everyone who replied!

-Derik
 
P

Pennywise

DEP exists just to protect you from malicious programs, right? So I
just need to be careful not to isntall anything thaty tries to worm its
way into every system function and cause massive slowdown- like Norton
AntiVirus- right?

It's protecting you from itself (MS) :} - or suppose to

MS writes bad code always has, DEP prevents buffer overflows.
"A buffer overflow is an anomalous condition where a process attempts
to store data beyond the boundaries of a fixed length buffer."
http://en.wikipedia.org/wiki/Buffer_overflow

Most MS upgrades are to fix buffer overflows, (or bad programming)

Just today the Homeland Security suggest everybody make sure they
"apply Microsoft's MS06-040 patch as quickly as possible."
-another buffer overflow-
http://tinyurl.com/pus37

Microsoft Security Bulletin MS06-040
http://www.microsoft.com/technet/security/bulletin/ms06-040.mspx

I've got 5 programs exempted from DEP as I trust them (one is MMC) ,
but DEP should be active on your system.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top