 |
|
 |
|
Next: change OS from Vista Premium to XP Pro
|
| Author |
Message |
External

Since: Aug 04, 2007 Posts: 2
|
(Msg. 1) Posted: Sat Aug 04, 2007 4:06 pm
Post subject: Data Execution Prevention with Windows Vista Archived from groups: microsoft>public>windows>vista>general (more info?)
|
|
|
So it appears that many of us are having issues with the Data Execution
Prevention (DEP) feature with Windows Vista. I have found that programs that
were closed due to the feature still closed even when I turned the feature
off through the run command. Does anyone have any updates regarding this
problem which will work for all or even most programs? It is very time
consuming to deal with this issue on a program by program basis as Microsoft
has suggested...especially when all my programs are Vista compatible and even
Internet Explorer sometimes closes due to the feature. Any information other
than turning the feature off, adding it to the dep-exception file, and
physical violence against my pc would be greatly appreciated.
www.mikeyllo.com |
|
| Back to top |
|
 |  |
External

Since: Jun 28, 2007 Posts: 508
|
(Msg. 2) Posted: Sun Aug 05, 2007 1:48 am
Post subject: Re: Data Execution Prevention with Windows Vista [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Hi Mickey,
I haven't heard of DEP causing really widespread problems, although
obviously you are seeing problems on your machine. The exact behaviour could
vary depending on whether your CPU supports hardware DEP (the NX bit) or
software DEP - which is actually a different form of operation. AMD and
Intel EM64T Processors support hardware DEP; many (most?) 32-bit Pentium IV
processors do not.
Well-behaved programs, which keep a strict separation of data and executable
code, should not be affected by DEP. Programs which are affected by DEP may
contain security vulnerabilities, because malicious code could be injected
into the data portions, and then executed.
But I'm curious when you say "programs that were closed due to the feature
still closed even when I turned the feature off through the run command". If
you have applications which are shutting down even with DEP disabled, then
DEP is probably not the culprit. How do you use the "run" command to disable
DEP? Did you do a:
"bcdedit.exe/set {current} nx AlwaysOff"
and then reboot? That would disable DEP globally, for all applications. If
your apps still close after this, the problem is not DEP. Are you still
getting the "DEP - Windows has closed this program" dialogue box?
You can verify whether Hardware DEP is actually available on your system by
running this command:
wmic OS Get DataExecutionPrevention_Available
If it returns TRUE, the CPU supports DEP. To find the current DEP policy
which is active, run the command:
wmic OS Get DataExecutionPrevention_SupportPolicy
The result will be one of:
0 AlwaysOff - DEP is not enabled for any processes
1 AlwaysOn - DEP is enabled for all processes
2 OptIn - Only Windows system components and services have DEP applied
3 OptOut - DEP is enabled for all processes. Administrators can manually
create a list of specific applications which do not have DEP applied.
"2" is the normal default setting. Apps which aren't part of Windows itself,
should not be affected.
You might want to run this to test if DEP is , indeed, active on your
system.
Overall, I don't think it's a problem which can be easily solved by an
update from Microsoft - apps which execute data are a security risk and need
to be re-written, or at least recompiled with a /GS flag. But Microsoft
might add compatibility shims for certain well-known applications - these
are updated via Windows Update as they are released.
--
Andrew McLaren
amclar (at) optusnet dot com dot au |
|
| Back to top |
|
 |  |
External

Since: Jul 13, 2007 Posts: 100
|
(Msg. 3) Posted: Sun Aug 05, 2007 2:48 am
Post subject: Re: Data Execution Prevention with Windows Vista [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"Andrew McLaren" <andrew DeleteThis @fakeaddress.com> wrote in message
news:85B0C64B-54D1-4388-98B6-43406543C805@microsoft.com...
> Hi Mickey,
>
> I haven't heard of DEP causing really widespread problems, although
> obviously you are seeing problems on your machine. The exact behaviour
> could vary depending on whether your CPU supports hardware DEP (the NX
> bit) or software DEP - which is actually a different form of operation.
> AMD and Intel EM64T Processors support hardware DEP; many (most?) 32-bit
> Pentium IV processors do not.
>
> Well-behaved programs, which keep a strict separation of data and
> executable code, should not be affected by DEP. Programs which are
> affected by DEP may contain security vulnerabilities, because malicious
> code could be injected into the data portions, and then executed.
>
> But I'm curious when you say "programs that were closed due to the feature
> still closed even when I turned the feature off through the run command".
> If you have applications which are shutting down even with DEP disabled,
> then DEP is probably not the culprit. How do you use the "run" command to
> disable DEP? Did you do a:
>
> "bcdedit.exe/set {current} nx AlwaysOff"
>
> and then reboot? That would disable DEP globally, for all applications. If
> your apps still close after this, the problem is not DEP. Are you still
> getting the "DEP - Windows has closed this program" dialogue box?
>
> You can verify whether Hardware DEP is actually available on your system
> by running this command:
>
> wmic OS Get DataExecutionPrevention_Available
>
> If it returns TRUE, the CPU supports DEP. To find the current DEP policy
> which is active, run the command:
>
> wmic OS Get DataExecutionPrevention_SupportPolicy
>
> The result will be one of:
>
> 0 AlwaysOff - DEP is not enabled for any processes
> 1 AlwaysOn - DEP is enabled for all processes
> 2 OptIn - Only Windows system components and services have DEP applied
> 3 OptOut - DEP is enabled for all processes. Administrators can manually
> create a list of specific applications which do not have DEP applied.
>
> "2" is the normal default setting. Apps which aren't part of Windows
> itself, should not be affected.
>
> You might want to run this to test if DEP is , indeed, active on your
> system.
>
> Overall, I don't think it's a problem which can be easily solved by an
> update from Microsoft - apps which execute data are a security risk and
> need to be re-written, or at least recompiled with a /GS flag. But
> Microsoft might add compatibility shims for certain well-known
> applications - these are updated via Windows Update as they are released.
>
> --
> Andrew McLaren
> amclar (at) optusnet dot com dot au
>
>
I am always surprised when people use the command line to change settings,
when Vista has an easy system built in. In Advance System Settings. Here you
can turn DEP off on all programs or just those you choose to run without
protection.
I find it worth looking at only when I find a consistent problem with a
program.
--
Ian |
|
| Back to top |
|
 |  |
External

Since: Jun 28, 2007 Posts: 508
|
(Msg. 4) Posted: Sun Aug 05, 2007 3:48 am
Post subject: Re: Data Execution Prevention with Windows Vista [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"Ian Betts" <igb123 DeleteThis @talktalk.net> wrote ...
> I am always surprised when people use the command line to change settings,
> when Vista has an easy system built in. In Advance System Settings. Here
> you can turn DEP off on all programs or just those you choose to run
> without protection.
Hi Ian,
With respect, I have to disagree with you. The Advanced Systen Settings GUI
provides 2 options:
a) Turn on DEP for essential Windows Programs and services only
or
b) Turn on DEP for all programs and services, except those I select:
In other words, this allows you to select DEP Policies 2 & 3 from the list
of 4 possible policies (0-3). If you want to turn DEP off altogether, you
*must* use the command line - there is no GUI option for that.
I was suggestiing the OP could disable DEP completely, and verify that his
applications run reliably in that environment. If they still encounter
problems then DEP is not a factor.
Regards,
--
Andrew McLaren
amclar (at) optusnet dot com dot au |
|
| Back to top |
|
 |  |
External

Since: Jul 09, 2004 Posts: 5
|
(Msg. 5) Posted: Sun Aug 05, 2007 8:25 am
Post subject: Re: Data Execution Prevention with Windows Vista [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
>> AMD and Intel EM64T Processors support hardware DEP; many (most?) 32-bit
>> Pentium IV
processors do not.
Andrew:
http://techreport.com/reviews/2005q1/pentium4-600/index.x?pg=1
"Execute Disable Bit support - Like the 500J series processors, the new
Intel core [6xx series] includes support for the Execute Disable Bit, also
called the No Execute (NX) bit by AMD"
My P4 630 CPU supports DEP |
|
| Back to top |
|
 |  |
External

Since: Jul 13, 2007 Posts: 100
|
(Msg. 6) Posted: Sun Aug 05, 2007 9:48 am
Post subject: Re: Data Execution Prevention with Windows Vista [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"Andrew McLaren" <andrew.TakeThisOut@fakeaddress.com> wrote in message
news:5789298C-CA9C-476D-B624-BAE4404C05EF@microsoft.com...
> "Ian Betts" <igb123.TakeThisOut@talktalk.net> wrote ...
>> I am always surprised when people use the command line to change
>> settings, when Vista has an easy system built in. In Advance System
>> Settings. Here you can turn DEP off on all programs or just those you
>> choose to run without protection.
>
> Hi Ian,
>
> With respect, I have to disagree with you. The Advanced Systen Settings
> GUI provides 2 options:
>
> a) Turn on DEP for essential Windows Programs and services only
> or
> b) Turn on DEP for all programs and services, except those I select:
>
> In other words, this allows you to select DEP Policies 2 & 3 from the list
> of 4 possible policies (0-3). If you want to turn DEP off altogether, you
> *must* use the command line - there is no GUI option for that.
>
> I was suggestiing the OP could disable DEP completely, and verify that his
> applications run reliably in that environment. If they still encounter
> problems then DEP is not a factor.
>
> Regards,
> --
> Andrew McLaren
> amclar (at) optusnet dot com dot au
>
>
Sorry Andrew I was not disagreeing with you only suggesting a different non
CL way.
Is it not correct if I select All the programs not to be protected, I
emphasis All, does that not tell DEP not to protect anything?
--
Ian
With patience there is aways a way.
Please Reply to Newsgroup so all can read.
Requests for assistance by email can not and will be deleted. |
|
| Back to top |
|
 |  |
External

Since: Aug 04, 2007 Posts: 2
|
(Msg. 7) Posted: Sun Aug 05, 2007 9:48 am
Post subject: Re: Data Execution Prevention with Windows Vista [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Ian and Andrew...thanks for your responses. I actually have feedback for
both of you.
Ian: Yes, the options you stated in the Advance System Settings appear to
be easier. However, I added the exe files for the two programs and still had
the same problems. In fact, messing with those options also caused my
Internet Explorer to start closing down due to the DEP problem. So, yes, I
did try those steps prior to going straight to the command prompt.
Andrew: You are correct about the command line I used to turn DEP off
altogether. I agree with you that it would seem that turning the DEP feature
off would eleviate the problem or would mean that the closure of the program
would be unrelated...however, I don't feel that it is just irony that both
progams still close at the same exact step in the process even thought I
don't get the error stating its DEP related. And if it is a new issue or
another security feature...what is it? With DEP on, it has stated closing
the programs at start-up. With DEP off, the program closes when I open the
folder containing my video files...I don't even have the chance to select a
file or convert anything...I just simply open the folder where the files are
located. I'm at my wits end here because both programs worked fine with XP
and I don't see any derrogatory reports out there about Cucusoft or Replay
A/V. I'm not sure what to do at this point. |
|
| Back to top |
|
 |  |
External

Since: Sep 14, 2006 Posts: 680
|
(Msg. 8) Posted: Sun Aug 05, 2007 10:49 am
Post subject: Re: Data Execution Prevention with Windows Vista [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"Ian Betts" <igb123 RemoveThis @talktalk.net> wrote in message
news:CF8DB05D-EB61-4ACB-ADFD-F14DFCF54595@microsoft.com...
>>
>>
> Sorry Andrew I was not disagreeing with you only suggesting a different
> non CL way.
> Is it not correct if I select All the programs not to be protected, I
> emphasis All, does that not tell DEP not to protect anything?
>
In Vista even more than XP, using the command prompt is the only way to do
certain things.
There are only options to protect all programs except ones specified, or
just essential Windows programs and services only, in the GUI interface you
describe.
AM was talking about turning it off completely, which is the only way to run
certain programs with this problem.
I have found that Get Right crashed on Vista because of DEP, but they most
probably have sorted this problem out by now. I think it is best to just
wait for program updates, as any program still in development will be
updated to run on Vista.
ss. |
|
| Back to top |
|
 |  |
External

Since: Sep 14, 2006 Posts: 680
|
(Msg. 9) Posted: Sun Aug 05, 2007 4:49 pm
Post subject: Re: Data Execution Prevention with Windows Vista [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"CZ" <CZ.DeleteThis@no99spam.com> wrote in message
news:%23KOy0651HHA.5164@TK2MSFTNGP05.phx.gbl...
>>> AMD and Intel EM64T Processors support hardware DEP; many (most?) 32-bit
>>> Pentium IV
> processors do not.
>
>
> Andrew:
> http://techreport.com/reviews/2005q1/pentium4-600/index.x?pg=1
> "Execute Disable Bit support - Like the 500J series processors, the new
> Intel core [6xx series] includes support for the Execute Disable Bit, also
> called the No Execute (NX) bit by AMD"
>
> My P4 630 CPU supports DEP
Yes, as he said. Only the later versions of the Prescott core, which was
the last Pentium 4 core, had the NX bit.
ss. |
|
| Back to top |
|
 |  |
External

Since: Jun 28, 2007 Posts: 508
|
(Msg. 10) Posted: Sun Aug 05, 2007 6:48 pm
Post subject: Re: Data Execution Prevention with Windows Vista [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
> Andrew:
> http://techreport.com/reviews/2005q1/pentium4-600/index.x?pg=1
> "Execute Disable Bit support - Like the 500J series processors, the new
> Intel core [6xx series] includes support for the Execute Disable Bit, also
> called the No Execute (NX) bit by AMD"
Yep. Like I said, "many (most?) 32-bit Pentium IV processors do not [support
the NX bit]".
I did not say "NO 32 bit Pentium IV processors" ... that would be incorrect!
As Synapse kindly pointed out, the NX bit (or technically, on Intel the XD
bit, NX is an AMD term) was introduced in the Prescott series, approx middle
of 2004. Williamette, Northwood, Gallatin, and Mobile Pentium 4s do not have
a XD/NX bit. Collectively, these pre-Prescott chips constititue the
numerical bulk of the running 32-bit Pentium IV population.
--
Andrew McLaren
amclar (at) optusnet dot com dot au |
|
| Back to top |
|
 |  |
External

Since: Jun 28, 2007 Posts: 508
|
(Msg. 11) Posted: Sun Aug 05, 2007 11:48 pm
Post subject: Re: Data Execution Prevention with Windows Vista [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
> Andrew: You are correct about the command line I used to turn DEP off
> altogether. I agree with you that it would seem that turning the DEP
> feature
> off would eleviate the problem or would mean that the closure of the
> program
> would be unrelated...however, I don't feel that it is just irony that both
> progams still close at the same exact step in the process even thought I
> don't get the error stating its DEP related. And if it is a new issue or
> another security feature...what is it? With DEP on, it has stated closing
> the programs at start-up. With DEP off, the program closes when I open
> the
> folder containing my video files...I don't even have the chance to select
> a
> file or convert anything...I just simply open the folder where the files
> are
> located. I'm at my wits end here because both programs worked fine with
> XP
> and I don't see any derrogatory reports out there about Cucusoft or Replay
> A/V. I'm not sure what to do at this point.
Hi Mikey
Thanks for the detailed response. I suspect your apps are encountering some
other problem, which is causing them to crash. This may still be a Vista
compatibility issue; just not DEP-related.
The sure-fire way to isolate the problem is to run the apps under a
debugger, such as WinDBG, and examine the system at the point at which they
crash. However, I'll admit this is a slightly complex procedure for
end-users who don't happen to be full-time computer engineers  .
Conversely, I'm not sure the best way for end-users to obtain the equivalent
info through Vista's built-in facilities. But a few ideas:
- look in Control Panel, System and Maintenance, Problem Reports and
Solutions, View Problem History.
This will list all the app crashes which the operating system has been
able to detect. Under the details of the crash, you may see an Exception
Code, such as "0xC0000005". This will indicate the nature of the crash. You
can also confirm that the problem report has been sent to Microsoft - if
they get enough reports of the same problem, they will fix it.
- look in Control Panel, System and Maintenance, Administrative Tools, Event
Viewer, Windows Logs.
When an application crashes, it may log events of its own (if the app
understands the NT Event Log) to indicate what went wrong.
Also, Windows will log an event if it detects that an application has
terminated abnormally. Look in the Application log for Error events (red
dot) with a source of "Application Error", Application Hang" or "Application
Popup".
- if you get desperate (or just curious) you can download and install
Microsoft's DebugDiag tool from here:
http://www.microsoft.com/downloads/details.aspx?familyid=28BD5941-C458...F1-B24D
DebugDiag is considerably easier to use than WinDBG - you can just create
a rule for your application of interest, and then leave DebugDiag running in
the background. When the app crashes, DebugDiag will create a memory dump
and perform an automated analysis, with a nice HTML-formatted report.
Version 1.1 is Visa compatible.
Of course the more deeply technical the analysis, the harder it can often be
to identify the corrective action, short of re-writing the application's
source code. But if you're having a general compatibility problem with these
apps, you could try setting the App Compatibility, under Application
Properties, to Windows XP or similar.
Other folks may have better ideas, hope this helps a bit. Let us know how
you get on.
--
Andrew McLaren
amclar (at) optusnet dot com dot au |
|
| Back to top |
|
 |  |
|
DEPdestroysbysandramarcou
|
External

Since: Aug 12, 2007 Posts: 1
|
(Msg. 12) Posted: Sun Aug 12, 2007 12:22 pm
Post subject: RE: Data Execution Prevention with Windows Vista [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
when the machine is rebooted the settings are lost and deleted devices
reapear, So sad and a waste of time this VISTA
"mikeyllo" wrote:
> So it appears that many of us are having issues with the Data Execution
> Prevention (DEP) feature with Windows Vista. I have found that programs that
> were closed due to the feature still closed even when I turned the feature
> off through the run command. Does anyone have any updates regarding this
> problem which will work for all or even most programs? It is very time
> consuming to deal with this issue on a program by program basis as Microsoft
> has suggested...especially when all my programs are Vista compatible and even
> Internet Explorer sometimes closes due to the feature. Any information other
> than turning the feature off, adding it to the dep-exception file, and
> physical violence against my pc would be greatly appreciated.
> www.mikeyllo.com |
|
| Back to top |
|
 |  |
External

Since: Mar 06, 2005 Posts: 25
|
(Msg. 13) Posted: Sun Aug 12, 2007 3:48 pm
Post subject: Re: Data Execution Prevention with Windows Vista [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sun, 5 Aug 2007 22:01:28 +0100, "Synapse Syndrome"
>Yes, as he said. Only the later versions of the Prescott core, which was
>the last Pentium 4 core, had the NX bit.
There was at least one further fabrication shrink after Prescott.
>--------------- ---- --- -- - - - -
"We have captured lightning and used
it to teach sand how to think."
>--------------- ---- --- -- - - - - |
|
| Back to top |
|
 |  |
External

Since: Mar 06, 2005 Posts: 25
|
(Msg. 14) Posted: Sun Aug 12, 2007 4:48 pm
Post subject: Re: Data Execution Prevention with Windows Vista [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Mon, 6 Aug 2007 08:43:08 +1000, "Andrew McLaren"
>As Synapse kindly pointed out, the NX bit (or technically, on Intel the XD
>bit, NX is an AMD term) was introduced in the Prescott series, approx middle
>of 2004. Williamette, Northwood, Gallatin, and Mobile Pentium 4s do not have
>a XD/NX bit. Collectively, these pre-Prescott chips constititue the
>numerical bulk of the running 32-bit Pentium IV population.
XP, and presumably Vista, do a sort of ersatz DEP where CPU lacks DEP
support - a bit like Win95 doing Plug-n-Play for devices on ISA bus,
which lacks the intelligence that PnP can leverage via PCI or PCMCIA.
How well this works (or breaks) is not knopwn to me, but it does imply
DEP settings can be a factor even where the system (including imaged
installations and reference PCs) has never seen a DEP processor.
>---------- ----- ---- --- -- - - - -
Proverbs Unscrolled #37
"Build it and they will come and break it"
>---------- ----- ---- --- -- - - - - |
|
| Back to top |
|
 |  |
External

Since: Jun 28, 2007 Posts: 508
|
(Msg. 15) Posted: Sun Aug 12, 2007 5:48 pm
Post subject: Re: Data Execution Prevention with Windows Vista [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
"cquirke (MVP Windows shell/user)" <cquirkenews DeleteThis @nospam.mvps.org> wrote ...
> On Sun, 5 Aug 2007 22:01:28 +0100, "Synapse Syndrome"
>
>>Yes, as he said. Only the later versions of the Prescott core, which was
>>the last Pentium 4 core, had the NX bit.
>
> There was at least one further fabrication shrink after Prescott.
That's a total fabrication (sorry, I couldn't resist  .
Actually, you're both right ... the "Cedar Mill" revision came after
Prescott. But all Cedar Mill Pentium 4s used the EM64T architecture, so they
are excluded from the class of "purely 32-bit Pentium 4s". All 64-bit
Pentium 4 CPUs supported Hardware DEP via the XD bit (aka, NX bit). Prescott
is indeed the last, of the 32-bit only Pentium 4s.
I haven't seen any figures, but I suspect the numerical impact of Cedar Mill
CPUs shipped would be close to negligible.
--
Andrew McLaren
amclar (at) optusnet dot com dot au |
|
| Back to top |
|
 |  |
| Related Topics: | Vista Appearance - Can I make Windows Vista to appear as Windows XP or Classic? I have tough time finding files and settings. Thanks!
iTunes and Vista - I have a 30 gig iPOD (new present) and windows Vista Home Basic, I am worried about all of the talk about the compata...
Wipe out Vista - Anyone know if there is a way to downgrade from Vista back to XP? Vista is TERRIBLE (slow, crashes, that stupid onscr...
Start Up on Vista - I just recently purchased an Dell XPS410 with Vista Home Premium and every time I start up the computer I get a Boot S...
charges with vista - I am new to vista and am having problems with usb devices not working and I have just been looking around the microsof...
Vista Tricks and Tips! - Vista Video Tutorials,Hidden tools will help you get maximum performance, Networking Vista,Using USB keys to improve Vi... |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|