cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

McAfee Agent - Windows - Service invalid via net stop/start

Hi Support,

I am creating the .bat file to run remotly to Start/Stop McAfee Agent service which i am getting service invaild. below i have mentioned net and sc command which both are failed - 

net start masvc.exe

net stop masvc.exe

sc stop masvc.exe

sc start masvc.exe 

I am using McAfee agent (Windows) 5.6.6 and 5.7.1

error - (even Cmd run as admin)

C:\Program Files\McAfee\Agent>NET STOP masvc.exe
The service name is invalid.

More help is available by typing NET HELPMSG 2185.

 

Thanks 

 

Mukesh

1 Reply
aguevara
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: McAfee Agent - Windows - Service invalid via net stop/start

What will you like to achieve with this? 

 Please try without the extension .exe

 Please note that you wont be able to do this if self-protection is enabled on the policy

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