Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win: improve service revert and docs
This commit refines the reversion process for disabled services, including handling cases where a service is missing, and enhances documentation related to default service states. It corrects the startup mode for the `gupdatem` service from 'Automatic' to 'Manual'. Key changes: - Add documentation on default service states and startup types. - Introduce `ignoreMissingOnRevert` to skip errors when reverting missing services, improving the user experience. - Standardize script titles for consistency across service disablement scripts. - Correct the startup type for `gupdatem` to 'Manual', aligning it with its actual default state. Supporting changes: - Update `DisableService` function to support `ignoreMissingOnRevert`, allowing more flexibility in handling missing services on revert. - Change `treatMissingStateAsOk` to `ignoreMissingOnRevert` for clarity and consistency.
- Loading branch information