up vote 0 down vote favorite
share [g+] share [fb]

Is there anyway to get complete error message using LogParser?

When I run the following query:

logparser -i:EVT -o:NAT "SELECT TimeGenerated,EventID,Message from System WHERE EventTypeName='Error event'"

I get the following output:

2009-09-02 19:35:44 7000    The USB Mass Storage Driver service failed to start due to the following error: %%1058

The full "Message" in EventViewer is:

Description: The USB Mass Storage Driver service failed to start due to the following error:
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.

How can I obtain complete message using logparser?

link|improve this question

71% accept rate
feedback

1 Answer

What version of Windows are you running? I've experienced the same errors more frequently on Server 2008 than on Server 2003. I believe it's related to registering DLLs.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.