Lansweeper logo
Home Download Features Demo Buy now Help Support forum
 
    Most requested support articles:
  Lansweeper troubleshooting guide.
  The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
  WMI Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
  How to configure the windows firewall using group policies.
  Support:  
 support@lansweeper.com  
Skype: Lansweeper  
  Mo-Fri 9h-17h CET  
Welcome Guest Search | Active Topics | Log In | Register

Untag as favorite
Launch a Forefront Antivirus Scan on a Remote Pc
Trystan
#1 Posted : Tuesday, April 05, 2011 5:44:08 PM

Rank: Premium user

Groups: Member, Premium Users
Posts: 5
Location: UK
This will a launch a Full Forefront Antivirus Scan on a Remote PC. This custom action requires Sysinternals Psexec to function, which can be downloaded here PSExec

The custom action is:

cmd.exe /K {actionpath}Psexec \\{computer} "c:\Program Files\Microsoft Forefront\Client Security\Client\Antimalware\mpcmdrun.exe" -Scan -scantype 2

Hope this proves useful for someone!
Lansweeper
#2 Posted : Wednesday, April 06, 2011 9:32:04 PM

Rank: Administration

Groups: Administration, Premium Users
Posts: 10,379
MrVal
#3 Posted : Tuesday, April 26, 2011 7:05:29 PM

Rank: Premium user

Groups: Premium Users, Member
Posts: 34
Location: TX
Thanks for posting that!!

I added the -d -s flags to psexec to streamline it some.

example

cmd.exe /K {actionpath}Psexec \\{computer} -d -s "c:\Program Files\Microsoft Forefront\Client Security\Client\Antimalware\mpcmdrun.exe" -Scan -scantype 2

Working like a charm!!!
Users browsing this topic
Guest
Untag as favorite
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Contact: E-mail Lansweeper - Skype : Lansweeper
Copyright 2004 - 2011 © Hemoco bvba