cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
susja
Level 10
Report Inappropriate Content
Message 1 of 7

How to restart McAfee services ..

Jump to solution

I'm using VSE 8.7i. After I update my McAfee with a new .DAT file ( I run xdat.exe for that ) and scan the system it use old definition, not new one updated.

I suggest that after update I have to restart McAfee services in order to take effect.

I'm local admin of the system, First I uncheck box on Console 'Access Protection', then I uncheck 'Prevent services from being stop' and run command

%net stop "McAfee McShield" but the error :

system error 5 has occurred.

Access denied.

Question: what should I do to restart services? It looks that the only option for me is to restart the system.

1 Solution

Accepted Solutions
avinash34
Level 12
Report Inappropriate Content
Message 3 of 7

Re: How to restart McAfee services ..

Jump to solution

Hello susja,

Disable the access protection in the Virus Scan console and try to restart the services.

Thanks,
Avinash

View solution in original post

6 Replies
thiago
Level 9
Report Inappropriate Content
Message 2 of 7

Re: How to restart McAfee services ..

Jump to solution

Hi susja,

You tried open cmd with elevation privileges? ("run as administrator")? In this situations can be necessary run cmd with elevation privileges.

I hope I heave helped.

Regards.

avinash34
Level 12
Report Inappropriate Content
Message 3 of 7

Re: How to restart McAfee services ..

Jump to solution

Hello susja,

Disable the access protection in the Virus Scan console and try to restart the services.

Thanks,
Avinash

View solution in original post

rmetzger
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 4 of 7

Re: How to restart McAfee services ..

Jump to solution

avinash wrote:



Disable the access protection in the Virus Scan console and try to restart the services.

Susja,

Please remember to re-enable Access Protection after the restarting McAfee services.

Stay protected.

Ron Metzger

Thanks,
Ron Metzger

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
susja
Level 10
Report Inappropriate Content
Message 5 of 7

Re: How to restart McAfee services ..

Jump to solution

- Folks,

Disabling 'Access Protection' and running with elevated privileges should work BUT in my case the whole flow is controlled by batch file not Console. Based on someone response from another thread on  this forum it's not possible to disable 'Access Protection' from command line because it would compromise McAfee.

Well the whole reason for that is that I'm using xdat.exe for daily update. After running xdat.exe it requires restart McAfee services in order to take effect.

For now I found a workaround: every time after execution xdat.exe I reboot the system. Well it's not elegant way of restarting McAfee services but it makes effect.

Thanks

thiago
Level 9
Report Inappropriate Content
Message 6 of 7

Re: How to restart McAfee services ..

Jump to solution

Hellow susja,

In this case (batch script) You can use "runas" command line to execute xdat.exe, for more details access: Microsoft Corporation.

About Your script, the idea is no interaction with users? If can have interaction You could instruct users for: Righ click on batch file and choose "Run as administrator";

I hope I have helped.

Regards.

susja
Level 10
Report Inappropriate Content
Message 7 of 7

Re: How to restart McAfee services ..

Jump to solution

-thiago

I don't have users scanning any of my PC's. All computers were scanned at the same time using batch script i.e. no human intervention.

To run xdat.exe I don't have to run as administrator ... it could be any user. In order to restart McAfee services command 'runas' or similar elevated admin privilege should be used. This also is not a problem.

The problem is that none of the command would succeed while 'Access protection' is disabled. I didn't find ( and folks say it's not possible ) to disable 'Access protection' from command line hence I can't restart services from command line.

Hence .. I'm restarting PC which does service restart.

Regards

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

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