cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Level 7
Report Inappropriate Content
Message 641 of 1,143

Re: McSvHost.exe causes error on Shutdown

I have personally found a simple fix for this issue that has worked for myself and for 5 other family members that run McAfee software. I'll post it and you guys can try it, it has worked here.

From what I can tell, the error is caused by DEP(Data Execution Prevention) which is slightly different on Windows XP SP2/3 then it is on Vista/7 to fix the issue on XP machines I done the following:

1. Right-click on the My Computer Icon and Select Properties

2. Click the Advanced Tab

3. Under the Performance Heading Click the Settings button.

4. Click the Data Execution Prevention Tab

5. Click the Add Button.

6. in the dialog box browse to C:\Program Files\Common Files\McAfee\McSvcHost\

7. highlight the McSvHost.exe file and click open

8. it will show up in the list box now. Click Apply and then click OK

9 Restart the computer for changes to take effect.

I have found this to resolve the issue for me on my XP based computers. the error message should quit showing up at shutdown after applying this fix.

I hope this helps someone out there, your results may vary with this, if it doesn't work you can just follow these steps again and highlight the McSvHost.exe in the dialog box and remove it if doesn't work for you. If it works for ya please reply and let folks know. I am just curious to see if this fixes it for anyone else because this has worked for me.

Take care

Woody

Highlighted
Level 9
Report Inappropriate Content
Message 642 of 1,143

Re: McSvHost.exe causes error on Shutdown

Woody,

By disabling the Data Execution what you've essentially done is prevented McAfee from integrating and initializing any updates!

I do not recommend that course of action.

As I've mentioned, MANY times, this "memory write" error is surely caused by an inaccurate or incomplete script in the software. I also believe, it is associated with multiple users on a single computer, multiple users but only one having "Administrator" access.

The error will be first generated when a limited user has logged-on and shutdown. McAfee is trying to write some file or files associated with the user to an area of the C-drive to which the user doesn't have access. This action is causing a conflict and thus an error message is generated.

As is the nature of Windows and Windows dependent software, the error message and the corrupted files are carried over to any use who subsequently is shutting down the computer.

Further difficulites arise when users have deviated from the expected ('Default') set-up of the desktop and other applications. Tracing an error while compensating for user preferential changes is a MONUMENTAL task.

I would suggest McAfee go back to it's 2007 records [wherein a similar error ocurred]and compare them to the 2009 upgrade [wherein that error was permanently corrected].

Highlighted
Level 7
Report Inappropriate Content
Message 643 of 1,143

Re: McSvHost.exe causes error on Shutdown

Wetmoreref2:

Disabling Data Execution Prevention for a particular file (McSvhost.exe) will NOT prevent McAfee from integrating or initilaizing any updates.

Data Execution Prevention is a set of code inside the hardware of modern processors(AMD/Intel) that when the Windows software is turned on for it, that it simply flags certain areas of memory as "no write" and sets an nx bit. If the programs tries to write to an area of memory the processor has flagged with the nxbit, then it closes the application (to protect from Buffer Overflows) hence where this error stems from...it is trying to write to a memory space that DEP has flagged as nowrite.

it is common for many applications and web browser plug-ins to be exempted from DEP..in fact windows XP SP3 just recently opted-in Internet Explorer to DEP, and IE8 is the first version of Internet Explorer to ship with DEP enabled on it by default...it ran just fine exempted from DEP since it became shipped with Windows in XP SP2.

Exempting the McSvHost.exe file from DEP will allow it to write to memory area it needs to write to so it can close properly and avoid data corruption...DEP will still be turned on for everything else like its supposed to, and the software will update fine and run without issue...I have te4sted it against Eicar and various other security tests, the software runs and updates fine and has been for the last 6 days...I wouldn't suggest this if it didn't work for me.

it is also very trival to undo if it doesn't work for ya by removing the exception from the My computer properties Window.

I am NOT saying to disable DEP globally on the computer, I am saying to exempt McSvhost.exe from it temporarily....MS put the exemption tab in there for a reason, because sometimes it is neccessary. This will atleast give folks some relief until McAfee pushes an update at which time folks can remove the exception.

this will not decrease you McAfee security.....letting this error go too long could result in some sort of file corruption however, and no one wants that....the software will run the same as it always has, and will be able to function as it should until McAfee updates the files.

Highlighted
Level 7
Report Inappropriate Content
Message 644 of 1,143

Re: McSvHost.exe causes error on Shutdown

Somebody suggested that several days ago, but modifying the DEP option only hides the problem and, frankly, I don't like errors going on behind my back.

Data corruption is extremely unlikely, since Windows shuts down and turns off the computer. I don't know what McSvHost is trying to do, but it's not able to do it, so I don't see how it could corrupt data.

Highlighted
Level 10
Report Inappropriate Content
Message 645 of 1,143

Re: McSvHost.exe causes error on Shutdown

Wetmoref2 wrote:


As I've mentioned, MANY times, this "memory write" error is surely caused by an inaccurate or incomplete script in the software. I also believe, it is associated with multiple users on a single computer, multiple users but only one having "Administrator" access.

The error is not limited to multiple users on a single computer. I am the only user on my computer and I have been getting the error since a day or 2 after the new version was installed.

Level 7
Report Inappropriate Content
Message 646 of 1,143

Re: McSvHost.exe causes error on Shutdown

In response to Wetmoref2.

I do not have a "disk"

This is a program that is installed on my computer when factory built. It is for the sole purpose of "resetting / erasing all data" from the Hard Drive, and reinstalling ALL drivers / operating software in the event of a pc malfunction, i.e if its in an un-repairable state.

Mez.

Highlighted
Level 9
Report Inappropriate Content
Message 647 of 1,143

Re: McSvHost.exe causes error on Shutdown

Thanks Woody,

I have changed my DEP settings this morning, per your instructions.

Ironically, I got the McSvHost error upon shutdown (but of course this was before my reboot, so the new setting had not yet become effective).

I will post back next week, after giving it several days.  As you said, it is certainly easy enough to change the settings back if the error continues. Appreciate your clear and detailed instructions.  Hope this solution works for me as well.

Highlighted
Level 7
Report Inappropriate Content
Message 648 of 1,143

Re: McSvHost.exe causes error on Shutdown

Nice try, Wetmoref2, but I have a single user machine -- and I have full access with no password.

Highlighted
Level 7
Report Inappropriate Content
Message 649 of 1,143

Re: McSvHost.exe causes error on Shutdown

Steerpike_ca wrote:

When this problem first came to our attention, we identified the cause and released a fix for that in April.  However, since it obviously didn't resolve the issue for everyone, we have gone back to the drawing board and have since realized that this issue has multiple causes.

A major problem with diagnosing this issue has been that it does not occur on every XP system.  For example, I run our products on different fully-patched XP systems and I have yet to see it happen.  We've tried reproducing it (as Peacekeeper and several of our developers and technicians have) on multiple XP machines and so far we cannot force the problem to occur, so we've had problems getting a problematic machine to run process scanning tools (like process explorer) and other diagnostic tools.

We've since collected logs from several systems with the problem (some from people in this thread) and believe we have found another cause and are working on that.

Also, as of this month, this issue has gained some high profile attention, mostly due to this thread.  Specifically, it's been pushed to the developers and more importantly, the decision makers.

I'll update this thread when I hear what progress is being made.

You are unable to reproduce the problem,when so many people here are having the same problem as of May2010 when it was first reported in Feb2010.Some thing really going  wrong at your side.Let me assure you of few things from the discussions here:

1. The error is appearing after more than 5 days of fresh(clean)install of 2010 & when updates are downloaded.Trust & believe that if this happens to so many people in this forum,it is also happening for customers out side this forum too.Going by the discussions of this problem in this forum,other tech forums & from google search one can easily guess that the problem has been observed by  atleast 50% or more of the customers of Mcafee2010 on XP.

2. If your developers can't reproduce this problem,you can be certain that they can never find a fix quickly.

My suggestions to your developers are:

1. First trust & be conviced that this error is there & treat it as a serious error(pl don't assume &  take it lightly that it is not creating any major problem to the user).

2. First create an environment at your place as the of a user as follows:

    a) Setup  1 or 2  XP systems with all patches as stand alone machines(isolate them from your networked enivornment of your office).

    b) have a seperate DSL connection for these PC's

    c) Install some very common applications a user would have on his system like MS Office,Pdf reader,Zip extractor etc etc.

    d) Download 2010 version as a customer(don't pull a copy from your servers),i.e follow the proceedure as if you are a customer,purchase it & install from your account.

    e) check if the error shows up(it might not show up until after 5 days of updates)

I am 100% sure you will have the error if you do as above, then you do your R & D to fix it.

Ghaaaash!!!!! it appears to me that as for as the developers are concerned they are still in Feb2010

I appreciate Peacekeeper, Steerpike_ca & the customers here who been contributing their best.BUT AS I HAVE ALWAYS SAID FROM THE VERY FIRST POST OF MINE, THE DEVELOPERS ARE NOT UPTO THE MARK TO FIX THIS PROBLEM. They are the once's who can fix this.

Also Mcafee would have done a great favour to itself if they had made a good policy decision to allow roll back to 2009 for XP customers, which is also very strange why they haven't done that.

Message was edited by: PCFriend on 5/13/10 10:04:45 AM CDT
Highlighted
Level 7
Report Inappropriate Content
Message 650 of 1,143

Re: McSvHost.exe causes error on Shutdown

Personally, I don't think the uninstall-clean-reinstall is much of an answer. McAfee introduced this error with the 2010 version, and it doesn't happen on every shutdown. Sometimes I get the error for 2 or 3 shutdowns, and then I go a couple of shutdowns without the error.

It took me at least 2 weeks to start seeing the error after the new version was installed by automatic update. In addition, there are tons of McAfee customers who don't even know about this forum. I'm sure many corporate customers are still using XP, along with about half the PC's out there. It's still the most common platform.

This problem has be solved by an automatic update so that it fixes ALL the computers with the problem.

Message was edited by: Gene on 5/12/10 4:53:38 PM CDT

Message was edited by: Gene on 5/12/10 9:13:42 PM CDT
How Many Badges Can You Collect?
Ready for a little competition? Members like you are earning badges and unlocking perks for their helpful answers. Are you? Click here to find out.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community