Blogs

Event Logs in Server Core

  • Comments 2
  • Likes

This week I’m going to talk a bit about event logs, since they are so important to figuring out any issues that might be occurring on a server. You can either view the event logs remotely using the Event Viewer MMC or locally using command line tools.

 

Remote Event Log access

From a Server or Vista installation, you can use the Event Viewer MMC snap-in to remotely view the event logs on. Although you can use the Windows XP or Windows Server 2003 Event Viewer, it doesn’t support all of the new functionality available with the event logs, so it is recommended to remotely use the new version.

 

Command Line Event Log access

Working with the event logs from the command line has improved in Longhorn Server. The old eventquery VBScript has been replaced by a new command line tool: wevtutil.exe. Using the el switch will provide a list of event logs you can query using the qe switch. However, this does much more then just let you query for events, it also lets you export, archive, clear, and configure the logs from the command line. Wevtutil.exe also supports remote operation, so could be used in scripts from a Vista or Server install.

 

If anyone has suggestions for topics they would like me to talk about, please let me know.

 

Andrew

Comments
  • Hi Andrew

    Could you please provide some info on how to change keyboard layouts while logged in at the console. I am sure I chose UK but I've got US instead.

    Thanks

    M@

  • You can do this by running:
    control intl.cpl
    And then using the UI, just like you would on Vista or a Server install.

    Server Core actually also includes datetime.cpl for setting the time zone.

    Neither of these required anything that wasn't already in Server Core, so we included them to make it easy to set the timezone and keyboard layout.

    I'll have to discuss these a little further in a future post.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment