1.

Solve : Event Viewer from a command prompt?

Answer»

Hello,

 I set up a custom view to show the results of  a Microsoft SECURITY Essentials scan.
It works as intended from Event Viewer.
I would like to execute it from a COMMAND prompt. When I try, the custom view is not found.
Does someone see my error by examining the attached screen shot?

Thanks
Frank C


[attachment deleted by admin to conserve space]Just a THOUGHT. It's not Security Essentials but MicroSoft Security Essentials. It's msseces.exeThanks for the response SuperDave,
 Security_Essentials is the name that  I chose when I created the Custom view for Microsoft Security Essentials.
You can see it in the screen shot of the execution of  Event Viewer under Custom Views - upper left. I added the undersore so that I didn't need double quotes in the command execution. It work fine when executed from the Event Viewer Custom View.

 Patio, thank you also,
 I don't understand your response of msseces.exe.
If you look at the help for C:\>eventvwr /?
it does define the required inputs for the command. The msseces.exe isn't mentioned.
Frank CThats the wording for the .exe for MSE...Event Viewer's /v argument requires an XML file. You need to export your custom view to create this XML file, then you can specify the exported file in the argument. the "Export Custom View" MENU option is in the right-click menu for the Custom View.Thanks BC_Programmer,
That worked.
Looking at the help for Eventvwr /? it wasn't clear that I needed the entire path in the /V: argument
That should have been obvious to me.
Eventvwr /V:C:\Users\Owner\Desktop\Security_Essentials.xml
Thanks
Frank C



Discussion

No Comment Found