Windows Server 2008 BEX Error

I have a windows 2008 server and the following Microsoft windows error pops up. WMI Provider Host has stopped working. Any ideas? All my patches are up to date and selecting the check online for a solution did nothing.

Problem signature:
  Problem Event Name:      BEX
  Application Name:      wmiprvse.exe
  Application Version:      6.0.6002.18005
  Application Timestamp:      49e01c05
  Fault Module Name:      MSVCR90.dll
  Fault Module Version:      9.0.30729.6161
  Fault Module Timestamp:      4dace5b9
  Exception Offset:      00036bf4
  Exception Code:      c0000417
  Exception Data:      00000000
  OS Version:      6.0.6002.
  Locale ID:      1033
  Additional Information 1:      7c35
  Additional Information 2:      9846a9b50d0fdb22137c5e0b35b7e32b
  Additional Information 3:      14ee
  Additional Information 4:      f9bade229e3c48143c47d37c2ddf27ba
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Randy DownsOWNERCommented:
Maybe this will help.

do either of the following four options:

1. Exclude the application that has the error occurring from Data Execution Prevention (DEP).

2. Add the /TSAWARE linker option to build your application.

3. Add the /TSAWARE option with editbin.exe tool.

- Run Command prompt of Vistual Studio.
- Type following command.

editbin.exe /TSAWARE <Program file name>

- You can confirm that the program is aware of terminal service by following command.

editbin.exe /headers <Program file name>
  8540 DLL characteristics
      Dynamic base
      NX compatible
      No structured exception handler
      Terminal Server Aware

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.