Starting with Windows Vista, Microsoft introduced Data Execution Prevention or DEP, a security feature that can help prevent damage to your computer by monitoring programs from time to time. Monitoring ensures that running program use system memory efficiently. If there is any instance of a program on your computer using memory incorrectly, DEP notices it, closes the program and notifies you.
If you want to generally turn off DEP or Data Execution Prevention in your Windows, you can always do so, But if you need to turn off Data Execution Prevention for a particular program only, like say explorer.exe, here’s how to go about.
Turn off Data Execution Prevention for Particular Program
Open Windows Explorer. Right click This PC or Computer and choose, ‘Properties’. Then, select the ‘Advanced System settings’ option. Next, from the ‘System Properties’ window, select ‘Advanced’ tab. Choose the ‘Performance’ section now and from the new Performance Options window that appears on your computer screen, select ‘Data Execution Prevention tab’.
You will see options:
- Turn on DEP for essential Windows programs and services
- Turn on DEP for all programs and services except those I select.
Select the latter and click Add. Browse to the Program Files folder, find the .exe file for the program, and then click Open.
This way you can disable or turn off Data Execution Prevention for Explorer too, by navigating to the C:Windows Who deleted me facebook firefox. folder and selecting explorer.exe.
TIP: Download this tool to quickly find & fix Windows errors automatically
Related Posts:
Age of Empires II Hotkey Editor. This website assumes you have played AoK and are familiar with its hotkey. If not, go check out the HD version right now! Age of empires 2 hd hotkeys change. Mar 23, 2014 - A full list of all the useful hotkeys in Age of Empires II HD, in a nice image form. Available as a printable page as well. To save the image, click. All 'go to' military building hotkeys will help you out tremendously in imperial age. Learning/setting up easy hotkeys for units is also good for this. Hitting cacaca to make three archers from three ranges goes infinetly faster than hitting ctrl+a a, ctrl+a a, ctrl+a a, which IIRC is the default.
Data Execution Protection also known as DEP is restrict certain programs from running codes. You can easily turn off DEP for some programs. You can turn off DEP for some or allow programs to execute codes through Windows' system properties.You can call DEP a security feature in new generation Opearating Systems and is included in OS x and iOS other than Windows. Data Execution Prevention is a feature of Windows Xp or later Operating Systems and Apple introduced DEP system into their Opearating system when they planned to move 32bit in 2006.DEP is a background feature and don't have to do configured for a normal users, it requires for some advanced users to configure and manage data execution for some programs.
How to Enable/Disable DEP
- Open System Properties (in Windows 10 Press Win + X and choose system option) and go to Advance System Settings.
- Now Choose Advance tab and click on Settings and move to 'Data Execution Prevention' Tab.
- As you can see in this window, there are two options for preventing data protection for :-
* Windows essential Programs and services.
* All Programs and services expect those I select.
For the first option data execution is allowed to Windows program and services and it's completly safe but in case of second option, you will allow all programs expect the listed programs by you.
If you don't have any idea choose first program and restart your computer but if you want to configure it then go ahead and choose programs you want to restrict, save settings and restart.
Turn Off Dep Windows 7
Always Turn on or Always Turn Off DEP
First of all run cmd as administrator now run following commands :-
- Always Turn on DEP for all programs
bcdedit.exe /set {current} nx AlwaysOn
- Always Turn off DEP for all programs
bcdedit.exe /set {current} nx AlwaysOnBy default this option is turned on for Windows programs and services.
If you have any questions or comments regarding turning on/off DEP then let us know below.
Enabled by default, Data Execution Prevention (DEP) is a Windows’ built-in security tool that adds an extra layer of security to your PC by preventing any unrecognized scripts from loading into the reserved areas of memory.
By default DEP is enabled globally, i.e. for all Windows’ services and programs. However, if you want, you can disable DEP – which is never suggested nor is it encouraged, or you can exclude some programs from being scanned by DEP during their execution.
Programs that you may want to exclude from DEP scanning list can also be some device drivers that Windows may consider malicious due to their digital signature status, but are safe to run on your PC.
Here’s how you can disable DEP and add programs to its exclusion list:
WARNING: Disabling DEP or adding exclusions may allow malicious scripts to execute and cause severe damage to Windows which may leave your PC in permanently unstable and/or unusable state. If you’re unsure or don’t have enough experience in handling viruses or suspicious scripts, you are strongly suggested NOT to disable DEP or add any exclusions to it.
DISCLAIMER: Neither Tom’s Hardware, nor any of its direct or indirect associates, author of this tutorial, or any other direct or indirect personnel associated, or by any means related to this tutorial or forum should be held responsible for any damage caused to your computer due to disabling DEP or adding exclusions to it. If you wish to follow the procedure given in this tutorial, do so at your own risk.
Disable DEP
- ■Launch elevated command window
Type CMD in the Cortana search box, right-click Command Prompt from the Best match list, click Run as administrator, and click Yes in the User Account Control confirmation box. This launches the elevated Command Prompt window. Since this window gives you unrestricted access to your PC, you can execute the commands to make major changes to system settings.
■Disable DEP
Type BCDEDIT /SET {CURRENT} NX ALWAYSOFF in the elevated Command Prompt window, and press Enter. This executes the command on your PC. Upon successful execution, the command window displays a confirmation message.
■Restart the PC
Click Start, click the Power icon, and click Restart. This restarts your computer. Upon restart, DEP in your Windows gets disabled.
Note: DEP won’t get disabled until you restart your computer.
Check DEP State
- ■Get to the System Properties box
Type VIEW ADVANCED SYSTEM SETTINGS in the Cortana search box, and click View advanced system settings from the Best match list. This opens the System Properties box with the Advanced tab selected.
■Confirm DEP state
Click Settings from the Performance section, and click
Data Execution Prevention
tab from the Performance Options box. This takes you to the DEP interface. Here you can notice that all the options present in the interface are grayed out, and you cannot make any changes to the DEP settings.
Enable DEP
- ■Launch elevated command window
Follow the procedure in the first point of the Disable DEP section. This again opens the elevated Command Prompt window.
■Enable DEP
Type BCDEDIT /SET {CURRENT} NX ALWAYSOFF in the elevated Command Prompt window, and press Enter. This executes the command on your PC. Upon successful execution, the command window displays a confirmation message.
■Restart your PC to allow DEP to again start preventing any malicious scripts from executing and loading files into the reserved areas of the memory.
Add Exclusions to DEP
- ■Get to the DEP interface
Follow the procedure given in the Confirm DEP State section. This takes you to the Data Execution Prevention tab. Here you can notice that the DEP options are no longer grayed out, and the settings can be configured now. Also notice that by default DEP is enabled for all Windows services and programs.
■Add DEP exclusions
Click to select the Turn on DEP for all programs and services except those I select radio button, click Add from the bottom, add a program you don’t want DEP to scan upon its execution, and click OK. This adds the program to the DEP exclusion list, and even if it contains malicious script, DEP would allow it to execute flawlessly.
■Restart Windows to make the changes effective.