Soru

Zorluk: OrtaWindows Administrative and System Management Tools

A systems administrator needs to configure a newly deployed Windows background application. The application must start automatically upon system boot, run under a designated service account, and automatically attempt to restart if the service process crashes unexpectedly. What is the correct sequence of administrative steps to configure these settings within the Services console (`services.msc`)?

  1. 1Open the Services console (`services.msc`) with administrative privileges and open the properties dialog for the target service.
  2. 2On the General tab, change the Startup type setting from Manual to Automatic.
  3. 3On the Log On tab, select 'This account' and enter the credentials for the dedicated service account.
  4. 4On the Recovery tab, set the First failure drop-down menu option to 'Restart the Service'.
  5. 5Click Apply, then start the service to initialize operation with the new configuration.

Cevap

The correct sequence begins with opening the Services snap-in (`services.msc`) and accessing the service properties, followed by setting the Startup type to Automatic on the General tab, assigning the service account credentials on the Log On tab, setting the First failure action to 'Restart the Service' on the Recovery tab, and finally applying changes and starting the service.
To properly configure a Windows service, a technician must open the Services console (`services.msc`) and open the service properties dialog. First, the General tab is used to configure the Startup type (e.g., Automatic). Second, the Log On tab allows configuring the user account identity under which the service runs. Third, the Recovery tab allows configuring automated actions (such as restarting the service) when failures occur. Finally, applying the settings commits the changes so the service can be safely started under the new configuration.

Adım Adım Çözüm

1
Launch `services.msc` as administrator and double-click the target service.
The target service's multi-tabbed Properties dialog window opens.
Administrative access is necessary to view and modify system service configurations.
2
Select the General tab and set Startup type to Automatic.
The service is configured to launch during Windows startup.
The General tab controls basic operational states and automatic boot initialization.
3
Switch to the Log On tab, choose 'This account', and input the credentials.
The service is bound to run under a specific security identity.
Service account assignment is controlled specifically within the Log On tab.
4
Navigate to the Recovery tab and change First failure to 'Restart the Service'.
Windows is configured to automatically attempt service restoration upon process failure.
Automated recovery parameters upon crashes are defined under the Recovery tab.
5
Click Apply and select Start.
All properties are saved to the Windows Service Control Manager database and the service starts.
Changes must be committed before initiating active execution of the service.

Anahtar Kavram

Configuring Windows background service startup types, authentication identities, and automated failure recovery using the Services console (`services.msc`).
Bu soruyu puanla