You can use the Event Viewer or the wevtutil command at a command prompt to manage event logs on a remote computer.
To use Event Viewer to manage event logs on a remote computer |
Start Event Viewer.
Click the root node, for example Event Viewer (Local), in the console tree.
On the Action menu, click Connect to Another Computer.
In the Another computer box, type the name or IP address of the remote computer.
(Optional) Select Connect as another user, click Set User, enter the User name and Password, end then click OK.
Click OK.
To use wevtutil to manage event logs on a remote computer |
To open a Command Prompt window, click Start, in the Start Search box, type cmd, and then press Enter.
Type the following command in the Command Prompt window:
wevtutil <command> /r:<remote_computer_name>
(Optional) To manage event logs on a remote computer as a different user, type the following command in the Command Prompt window:
wevtutil <command> /r:<remote_computer_name> /u:<user_name> /p:<password>
Additional considerations
-
You must enable the Remote Event Log Management exception in the Windows Firewall Settings on the remote computer to which you want to connect.
-
You can type eventvwr <remote_computer_name>
-
When connected to a remote computer, Custom Views displayed by the Event Viewer are the Custom Views stored on the local computer. If you click one of those local Custom Views, the underlying query will be run against the event logs on the remote computer.
-
When connected to a remote computer, the external logs displayed by the Event Viewer are the ones that have been referenced on the local computer.
-
You may encounter errors if, while connected to a remote computer, you attempt to display Custom Views that reference local external logs. This happens because Event Viewer tries to open those external logs on the remote computer rather then the local computer. This problem does not arise if you use UNC path names to reference the external logs.
-
To view saved events from a remote computer, you need to save the events on the remote computer with display information. For more information about archiving events with display information, see Archive an Event Log.