Data Ececution prevention.

Posted on 2009-02-20
Last Modified: 2012-05-06
Hello Experts.
I have win 2003 server with AD, everything is working fine, but one week ago I started getting an error message saying:

Data Execution prevention-Microsoft windows:
To help protect your computer, windows has closed this program.
Name: Generic host process for win 32 services.
Publisher: Microsoft corporation.

And when I close this message, I get:
Generic host process for win32 services encountered a problem and need to close.

When I click on the details button, I find that the process is SVCHOST.EXE.

This message keep appearing and I cant get rid of it, I scanned for virus and didnt find any, I googled the problem and found a patch at MS website, did it and still the same.
I installed SP2, and it is the same.

Any help will be appreciated.
Question by:podium78
    LVL 32

    Expert Comment

    Have your tried disabling DEP?  This is located by right click on my computer and selecting properties/Advanced.
    LVL 11

    Accepted Solution

    You should get an error signature from DEP when this occurs.  Since it seems to point to svchost, can you think of any services or programs you installed around the time this started to occur?  Programs that were not written to work with DEP will sometimes throw this error in Windows.  Obviously, viruses and such also can cause this error, but you said you have run scans.  if you have run enough scans to determine there is no viral or malware activity, then you may want to tweak the DEP settings to stop it from killing off programs you have installed (could be risky).  The best solution is to determine what exact program is causing the error by examining what programs were installed around the time of the first error.  To change the DEP settings:
    End users who are logged on as administrators can manually configure DEP between the OptIn and OptOut policies using the Data Execution Prevention tab inside the Performance Options dialog box. The following procedure describes how to manually configure DEP on the computer:
    To configure DEP settings


          Click Start, click Control Panel, and then double-click System.

          Click the Advanced tab. Then, under Performance, click Settings.

          Click the Data Execution Prevention tab.

          Click Turn on DEP for essential Windows programs and services only to select the OptIn policy.

          Click Turn on DEP for all programs and services except those I select to select the OptOut policy.

          If you selected the OptOut policy, click Add and add the applications that you do not want to use DEP with.

    IT professionals can control system-wide DEP configuration with a variety of methods. The Boot.ini file can be modified directly with scripting mechanisms or with the Bootcfg.exe tool, which is included as part of Windows Server 2003 Service Pack 1.

    For unattended installations of Windows Server 2003 with Service Pack 1, you can use the Unattend.txt file to prepopulate a specific DEP configuration. You can use the OSLoadOptionsVar entry in the [Data] section of the Unattend.txt file to specify a system-wide DEP configuration.
    Per-application DEP configuration

    For the purposes of application compatibility when DEP is set to the OptOut policy level, it is possible to selectively disable DEP for individual 32-bit applications. However, DEP is always enabled for 64-bit applications.

    For end users, the Data Execution Prevention tab in System Properties can be used to selectively disable DEP for an application.

    For IT professionals, a new application compatibility fix named DisableNX is included with Windows Server 2003 Service Pack 1. The DisableNX compatibility fix disables DEP for the program it is applied to.

    The DisableNX compatibility fix can be applied to an application by using the Application Compatibility Toolkit. For more information about Windows application compatibility, see "Windows Application Compatibility" on the Microsoft Web site at

    Author Comment

    Thanks for the quick reply,
    I did disable the DEP altogether and I still have the problem.
    now as for your solution jfields71, I have to read it good and check the link you provided, and I will let you know if it works.
    thanks again.
    LVL 11

    Expert Comment

    That may point to a 64-bit program:
    For the purposes of application compatibility when DEP is set to the OptOut policy level, it is possible to selectively disable DEP for individual 32-bit applications. However, DEP is always enabled for 64-bit applications.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
    Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now