Merged
Conversation
* Added a new feature: The **Service Manager**, a feature integrated into the Harden System Security app, is designed to give you comprehensive visibility and granular control over all Windows services. It goes far beyond the capabilities of the native Windows Services utility or 3rd-party tools, offering deep insights, robust filtering, precise metadata extraction, and direct manipulation of service configurations and underlying executable files. It is capable of display all services with any type, something that's not possible through the OS's Service console, Powershell or System Configuration. You can easily see which services are from Microsoft and which ones are 3rd party. Please read more on this GitHub Wiki page: https://github.com/HotCakeX/Harden-Windows-Security/wiki/Service-Manager * Added a new feature to the Sidebar that allows you to generate a Battery Report for your device (if it has one). It contains detailed information about your battery usage, wattage and performance. * When using the CLI mode to export the system report to a file, if you selected a location that doesn't exist, the app now creates the necessary directories and saves the report there instead of showing an error. * Fixed an error in the CLI mode when applying a preset: #1062
4 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
This PR bumps Harden System Security to v1.0.45.0 and introduces new end-user functionality in the WinUI app (Service Manager + Battery Report), plus CLI robustness fixes around presets and report export.
Changes:
- Add a new Service Manager page/view-model for enumerating and managing Windows services.
- Add a Generate Battery Report action in the MainWindow sidebar that runs
powercfg /batteryreport. - Improve CLI/report export behavior by creating missing output directories and refining preset/CLI flows.
Reviewed changes
Copilot reviewed 46 out of 46 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Harden System Security/Harden System Security.csproj | Version bump to 1.0.45.0. |
| Harden System Security/Pages/ServiceManager.xaml | New Service Manager UI (service list, filtering, actions). |
| Harden System Security/Pages/ServiceManager.xaml.cs | New page code-behind wiring the ServiceManagerVM and wiki link. |
| Harden System Security/ViewModels/ServiceManagerVM.cs | New service enumeration/control logic (start/stop/config/delete, filtering, sorting). |
| Harden System Security/ViewModels/ViewModelProvider.cs | Adds ServiceManagerVM to the app’s VM provider. |
| Harden System Security/ViewModels/MainWindowVM.cs | Adds Battery Report generation logic. |
| Harden System Security/MainWindow.xaml | Adds the Battery Report button to the sidebar UI. |
| Harden System Security/App.xaml_HSS.cs | CLI parsing/execution paths for presets/import/export/actions. |
| Harden System Security/Traverse/MContainer.cs | Ensures missing output directories are created before writing exported reports. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's New
Added a new feature: The Service Manager, a feature integrated into the Harden System Security app, is designed to give you comprehensive visibility and granular control over all Windows services. It goes far beyond the capabilities of the native Windows Services utility or 3rd-party tools, offering deep insights, robust filtering, precise metadata extraction, and direct manipulation of service configurations and underlying executable files. It is capable of displaying all services with any type, something that's not possible through the OS's Service console, Powershell or System Configuration. You can easily see which services are from Microsoft and which ones are 3rd party. Please read more on this GitHub Wiki page: https://github.com/HotCakeX/Harden-Windows-Security/wiki/Service-Manager
Added a new feature to the Sidebar that allows you to generate a Battery Report for your device (if it has one). It contains detailed information about your battery usage, wattage and performance.
When using the CLI mode to export the system report to a file, if you selected a location that doesn't exist, the app now creates the necessary directories and saves the report there instead of showing an error.
Fixed an error in the CLI mode when applying a preset: Error message from Microsoft Defender when applying presets using headless CLI #1062