Windows: Disabling Data Execution Prevention

by Stephen Horsfield 8. January 2008 15:10

Overview

Sometimes, old code doesn't seem to work with the new Data Execution Prevention feature in Microsoft Windows.  It's easy to turn it off for non-system applications and services, but how do you do it for system components, and why would you?

Warning: Data Execution Prevention is a security feature.  Disabling DEP reduces the security of your system.

Context

On our Microsoft Commerce Server 2002 system, running on Windows Server 2003, we were getting "COM Surrogate" errors, which relate to DEP errors with the dllhost.exe system program.  Adding it to the exception list didn't solve our problem.

Solution

Thankfully, Microsoft has written an article on how to turn off DEP for an entire server.  For this case, you need to add the following option:

/noexecute=AlwaysOff

to your boot.ini file.

See A detailed description of the Data Execution Prevention (DEP) feature in Windows XP Service Pack 2, Windows XP Tablet PC Edition 2005, and Windows Server 2003 (Microsoft Support) for further information.

Versions

Metadata

Tags:

Commerce Server | IT Management | Security | Windows Server

Powered by BlogEngine.NET 1.5.0.7
Theme by Interakting

Interakting

A full service digital agency offering online strategy, design and usability, systems integration and online marketing services that deliver real business benefits and ensure your online objectives are met.

Calendar

<<  July 2010  >>
MoTuWeThFrSaSu
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar