A systems administrator needs to configure an automated system recovery workflow on a Windows 11 Pro workstation. Whenever a critical system service unexpectedly terminates and generates Event ID 7031 in the System event log, a custom remediation script must automatically execute with elevated administrative privileges. Place the steps in the correct chronological order to complete this configuration using Windows administrative tools.
- 1Launch Event Viewer (eventvwr.msc), navigate to Windows Logs > System, and select the log entry for Event ID 7031.
- 2Right-click the selected Event ID 7031 entry and select 'Attach Task To This Event...' to launch the Create Basic Task Wizard.
- 3Verify the automatically populated event trigger details (Log: System, Event ID: 7031) on the event trigger configuration page.
- 4Select 'Start a program' on the Action tab, then specify the file path and administrative arguments for the automated recovery script.
- 5Select the option to open the task's Properties dialog upon completion, then check 'Run with highest privileges' and assign appropriate credentials.
Cevap
The correct operational sequence begins by selecting the target event in Event Viewer, invoking 'Attach Task To This Event...', confirming the pre-filled event trigger parameters, specifying 'Start a program' with the script path, and finally enabling 'Run with highest privileges' in the task properties.
To automate recovery upon a specific Windows event, the administrator must first isolate the event in Event Viewer to use the 'Attach Task To This Event...' shortcut. This transfers the event filter attributes directly to Task Scheduler. After confirming the trigger criteria and setting the action to run the recovery script, the administrator must access the task's full properties to enable 'Run with highest privileges.' Without elevation, the automated script would fail due to insufficient User Account Control (UAC) permissions when attempting to restart system services.
Adım Adım Çözüm
Anahtar Kavram
Event-Triggered Administrative Tasks and Privilege Elevation