Showing results for 
Search instead for 
Did you mean: 
Level 7
Report Inappropriate Content
Message 1 of 7

Task with Scripts


Has anyone an idea, how I can create ePO Task with other commands to execute?

Thank's in advance for your help, cheers

6 Replies

RE: Task with Scripts

There is an option to run a command after a DAT update in the McAfee agent policies.
Level 7
Report Inappropriate Content
Message 3 of 7

RE: Task with Scripts

Do you know if there are any limitation? For example bat files should go ok, but vbs are also ok? Or do I have to type cscript script.vbs to make it work?

RE: Task with Scripts

If you only type the vbs filename Windows should take care to start the correkt application. But you can also specify one, just try this with one test PC. I have only done this with an exe file and paramater - this worked well. But keep in mind that no system variables like %programfilesdir% will work, only absolute paths.
Level 7
Report Inappropriate Content
Message 5 of 7

RE: Task with Scripts


Thank's for your reply, you mean under McAfee Agent / Updates/ "Post-update options"?

But this can't not be scheduled!

Cheers, Checco

Re: RE: Task with Scripts

If you can't get to the environment variables, how else could one get machine name?

Here's what I'm thinking:

Create/SetTag: "OldEEPC" when EEPC Version <5.1.9

Task: DATupdateOldEEPC, assign to machines with Tag = OldEEPC

In DATupdateOldEEPC:

assgin a batch job which has:

copy "c:\program files\McAfee...\sbclientlog.txt" \\server\share\LogFiles\%computername%.sbclientlog.txt

So now I can see all my log files in one folder.

But...I need some sort of unique identifier for each machine, so they don't overwrite each other. Can I get the name from EPO somehow?

JoeBidgood McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 7 of 7

Re: RE: Task with Scripts


Maybe extract it from HKey_Local_Machine\CurrentControlSet\Control\ComputerName\ActiveComputerName ?

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