Using Grep to Scan Log Files on Windows
Use the following to find Forbidden errors from web server logs:
grep 403 \\machine\i$\LogFiles\W3SVC1\ex0*
You can get GNU utilities for Windows which includes grep. Microsoft has its own version of grep called QGREP which is part of the 2003 resource kit.
Read other posts