DEP, or Information Execution Prevention in Spanish, is a system that takes benefit of software program and {hardware} functionalities to offer the pc with an extra safety layer in order that no course of or program can load malicious code into reminiscence. This method can also be accountable for controlling all the things that’s executed in essentially the most delicate areas of the reminiscence in order that, if there’s some unrecognized code working in these elements, what it does is block it straight and present us a safety warning in order that we are able to take measures.
This safety function comes enabled by default and it has been current within the Microsoft working system since Windows XP. And it nonetheless is within the newest Home windows 11. Normally, when there was once issues, it was prior to now, however these days sure issues also can seem if, for instance, we attempt to run very outdated applications that don’t work appropriately within the newest variations of Home windows. It is usually quite common with dangerous 32-bit video games, and even with outdated drivers for outdated {hardware}.
Subsequently, if we now have an issue with a program, then we are going to clarify how we are able to deactivate this safety measure.
Disable DEP
Being a safety measure, Home windows doesn’t permit us to deactivate it. Not less than simply. For this, it’s essential to have administrator permissions within the system. We open a CMD window, with administrator permissions, and we must execute the next command to deactivate this operate:
BCDEDIT /SET CURRENT NX ALWAYSOFF
After working the command, DEP will probably be utterly disabled from Home windows. We’ll merely must restart the pc in order that, when it begins up, this operate is now not activated on the PC. From this second on, the info execution prevention system will now not be monitoring our PC, so we could also be uncovered to potential pc assaults. For that reason, it’s advisable to train excessive precautions, to not execute something of which we aren’t 100% certain, and, as well as, to have an excellent safety suite that permits us to observe the presence of malicious software program on the PC.
allow DEP
If for some purpose we now have deactivated it manually, or this safety measure was not working appropriately on the PC, we are able to activate it manually simply as we now have deactivated it earlier than. To do that, what we now have to do is open a CMD window, with administrator permissions, and execute the next command:
BCDEDIT /SET CURRENT NX ALWAYSON
Likewise, we must restart the pc to have the ability to apply the modifications and, when Home windows begins up once more, DEP will probably be defending our system. After all, by default, it’s going to solely defend the system kernel and important applications. If we would like larger safety, it’s obligatory to hold out yet another step.
Activate full safety
In Home windows 11, DEP doesn’t management all the things that we run on the pc, so this may pose a safety downside, because it permits malicious applications (exploits) to reap the benefits of flaws to inject code into reminiscence with out DEP with the ability to. understand it. By default, this safety measure will solely be triggered within the occasion that the assault is carried out towards the Home windows Kernel and fundamental and important applications and companies on the PC.
To activate DEP safety for all system applications and processes, what we should do is enter the superior system settings. For this, one of the simplest ways is open the Settings panel Home windows, and go to the System> Info part, and there we are going to discover an entry to the Superior system settings.
In Home windows 10 we are able to additionally discover this entry in Settings> System> About, within the hyperlinks that seem on the finish, or in the appropriate a part of the window, relying on its dimension.
As soon as we do that, we are going to see a brand new system properties window. The tab that pursuits us is the “Superior Choices” tab. And, particularly, the “Efficiency” part.
We click on on the “Settings” button and we are able to see a brand new window like the next. In it we choose the tab «Information Execution Prevention«.
Right here we are able to see the choice to activate DEP just for important Home windows applications and companies, or activate it for all PC applications and companies. The mode that pursuits us is the second. We mark it, apply the modifications and that’s it. After restarting the PC we are able to start to take pleasure in all the benefits of this safety measure.
Moreover, if we now have an issue with a selected program, we are able to add it to the exclusion checklist in order that this program isn’t managed and, subsequently, doesn’t give us issues.
Activate and deactivate with a shortcut
If we discover ourselves within the uncommon scenario the place we have to flip this safety measure on and off typically (for instance, to make use of a specific program), one other strategy to do it’s straight with a shortcut.
To do that, we are going to place ourselves within the listing the place we need to have this shortcut, and we click on with the appropriate mouse button to pick out New > Shortcut.
We comply with the steps that the wizard will point out, and once we attain the purpose the place we should enter this system or command that we need to execute from the shortcut, the one we now have to enter is the next:
windir%/system32/systempropertiesdataexecutionprevention.exe
After all, we now have to alter the bars for counterbars to make it work. As soon as that is executed, we solely have to provide it the title we would like (DEP, for instance), and that’s it. We’ll now have a direct entry with which, with a easy double click on, we can open the configuration window of this safety measure and alter the kind of safety we would like.