Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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