Soru

Zorluk: OrtaWindows Administrative and System Management Tools

An IT technician needs to configure a custom diagnostic script to execute automatically whenever a specific hardware error is logged in the Windows System log. Which method allows the technician to directly link script execution to that log entry?

  1. Selecting the 'Attach Task To This Event' action inside Event ViewerCevap
  2. B
    Creating a User Defined Data Collector Set in Performance Monitor
  3. C
    Configuring the Recovery tab properties for the Windows Event Log service in Services
  4. D
    Adding an automated diagnostic task within the System Configuration tool

Cevap

Selecting the 'Attach Task To This Event' action inside Event Viewer
Event Viewer features an 'Attach Task To This Event' option in its context menu. Selecting this option opens the Task Scheduler wizard, creating a task that uses the selected Event ID and Log Source as its execution trigger.

Adım Adım Çözüm

1
Locate the target error entry in Event Viewer.
Identify the exact Log Name, Source, and Event ID for the hardware error.
Task Scheduler requires specific log parameters to set up an automated event trigger.
2
Right-click the event and select 'Attach Task To This Event'.
The Create Basic Task Wizard opens with the event criteria pre-selected.
This context action creates a direct bridge between Event Viewer and Task Scheduler.
3
Specify the action to start a program and path to the diagnostic script.
The script is scheduled to run automatically whenever the specified Event ID is recorded.
This satisfies the requirement to automate script execution based on event logging.

Anahtar Kavram

Event Viewer integration with Task Scheduler via 'Attach Task To This Event'
Bu soruyu puanla