Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Data Execution Prevention, does changing from command prompt work?

19 Feb 2020   #1
Nakkisoosi

Windows 7 64 bit
 
 
Data Execution Prevention, does changing from command prompt work?

It seems to work, but does it really? Task Manager says: no.
This command shows your DEP status.
WMIC OS Get DataExecutionPrevention_SupportPolicy
For me it returned value 2, which is the default Windows 7 setting. I read that this is how it should be:
0 – DEP is disabled for all processes.
1 – DEP is enabled for all processes.
2 – DEP is enabled for only Windows system components and services (default).
3 – DEP is enabled for all processes except for excluded programs and services.
Because I have problems to uninstall and to get Firefox and Thunderbird application windows open (instead of just processes starting), and looking at Task Manager, they had DEP enabled, I decided to try and change it. Gave this command in elevated rights command prompt:
bcdedit.exe /set {current} nx AlwaysOff
Rebooted the computer.
Now WMIC command returned value 0. Which means DEP should be disabled for ALL programs and services.
HOWEVER, looking at Task Manager (need to have DEP column added to view) Windows' own programs seem to have still DEP enabled. While most non-Windows (or non-Microsoft) programs have DEP disabled.
What?
This is weird. How is it not disabled with every program now?
And for me a problem because somehow with Firefox service it is enabled, too. Even though it's not Window's own program.
How can I get DEP off of Firefox's back? Uninstalling and installing it again does not do it.


My System SpecsSystem Spec
.
19 Feb 2020   #2
LMiller7

Windows 7 Pro 64 bit
 
 

DEP configuration options only apply to 32 bit processes. For 64 bit processes DEP is always on and there is no provision to disable it. DEP predates 64 bit Windows and all 64 bit compatible systems support DEP. 64 bit processes must be compatible with DEP. Documentation often doesn't make this clear.
My System SpecsSystem Spec
21 Feb 2020   #3
iko22

Windows 7 x64, Vista x64, 8.1 smartphone
 
 

Quote   Quote: Originally Posted by Nakkisoosi View Post
Because I have problems to uninstall and to get Firefox and Thunderbird application windows open (instead of just processes starting), and looking at Task Manager, they had DEP enabled, I decided to try and change it. Gave this command in elevated rights command prompt:

How can I get DEP off of Firefox's back? Uninstalling and installing it again does not do it.
Cant think why DEP would cause problems with Firefox opening. Are you using the latest version of Firefox? Had you tried performing a Clean Boot, and then open the browser?
My System SpecsSystem Spec
.

3 Weeks Ago   #4
Nakkisoosi

Windows 7 64 bit
 
 

Appparently DEP is not the problem. Because I can kill some processes while DEP is enabled.
And thank you LMiller7, I think you are right.


Something else is the problem. I have problems with several programs leaving zombie processes. Firefox was doing this too. They are seen in TaskManager and the error message trying to end the process is: access denied. For example games that used to work, but now suddenly won't, and Thunderbird. Some of these programs did not open a visible application window, some did but after closing the application, the zombie process is still there.
I have full rights to the file, I can take the ownership, and I can even delete the file (while the process is still listed in TaskManager), but the process is still in Taskmanager and can't be killed with any process killing command or process killing applications (I've tried many: Taskkill, PSKill64, Process explorer, NIRCMD). Hence I think it is a zombie.


I said "Firefox WAS doing this too" because now my Firefox works. Thunderbird still does not. What I did before Firefox started working was: uninstalled Spyware Blaster, found another parent.lock from a Thunderbird folder and deleted it (strange, how could this cause Firefox problems?).
My System SpecsSystem Spec
3 Weeks Ago   #5
Nakkisoosi

Windows 7 64 bit
 
 

Quote   Quote: Originally Posted by iko22 View Post
Cant think why DEP would cause problems with Firefox opening. Are you using the latest version of Firefox? Had you tried performing a Clean Boot, and then open the browser?


Yes, latest version of Firefox, downladed it couple of days before posting the comment.
Clean Boot? You mean shut down? Yes, the computer had been shut down a few times.
However, I have another thread https://www.sevenforums.com/installa...3=#post3461317 that is related to Firefox & Thunderbird and other applications suddenly having problems. So I won't go to into those issues here. DEP was one thing I thought might be the culprit, and since DEP disabling seemed to work very strangely, made a thread just about DEP oddities.
My System SpecsSystem Spec
Reply

 Data Execution Prevention, does changing from command prompt work?




Thread Tools




Similar help and support threads
Thread Forum
Data Execution Prevention Shuts Down IE 11
Just recently "Data Execution Prevention" (DEP) has started to shut down IE 11 several times each day. I've installed no new programs or add-ons (only weekly Microsoft OS Updates). I've got no viruses or malware. Anyone have any ideas on how to deal with this? It's becoming annoying
Browsers & Mail
Notice from Data Execution Prevention
I'm running IE 9.0.8112.16421 and today I saw something I've never seen before. The notice read:IE has closed this webpage to help protect your computer. A malfunctioning or malicious add-on has IE to close this webpage. What you can do is: Go to your homepage; Try to return to the page you were...
Browsers & Mail
Data Execution Prevention (DEP)
I may have finally resolved a problem I've had with a program but changing DEP to protect only essential programs and not all programs. I tried it with all programs and inserted the wayward program as an exception but it didn't help. Once I changed it to essentials only, the program is finally...
System Security
Data Execution Prevention Security Feature
Please help me! The Data Execution Prevention Security Feature is really starting to stress me out. I can't access sites that I need for uni eg Hopfield Network Applet How do I turn the stupid thing off?!!! Please help! :cry:
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:01.
Twitter Facebook