simeononsecurity/Windows-Optimize-Harden-Debloat-GUI
simeononsecurity/Windows-Optimize-Harden-Debloat-GUI has 48 GitHub stars and 4 forks. GitHot measured 0 stars in 24 hours, 0 in 7 days, 0 in 15 days, and +2 in 30 days. Last checked 2026-11-25 03:47 UTC. Last push 2026-10-07.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- +2
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
C# Based GUI for Windows-Optimize-Harden-Debloat
보안README.md
OriginalWindows Optimize Harden Debloat GUI
A Windows interface for inspecting and running a local copy of the hardening script.
Requirements
- Windows with Windows PowerShell 5.1.
- .NET 10 Desktop Runtime, or build a self-contained Windows release.
- Administrator privileges, requested through the application manifest.
- An extracted hardening-script release with its companion files.
Use
- Select the local
sos-optimize-windows.ps1file. - Review options loaded from its parameter definitions. Script inspection parses the PowerShell syntax tree without executing the selected script.
- Select the required changes. Every option starts unchecked.
- Choose Preview and run, review the selected descriptions, then confirm.
- Review output, error output, and the process exit code. Verify effective Windows settings separately.
Every Boolean parameter is passed explicitly, including unchecked options. This prevents true defaults in the underlying script from enabling omitted options. Scripts with non-Boolean parameters are rejected. A hash check requires reloading options if the script changes after inspection.
The GUI does not download or silently replace the selected script. Review its origin and version before use. The preview shows selected categories, not an exact registry or policy diff. Recovery depends on the underlying script and your system backup.
Stop behavior
Stop process terminates the PowerShell process and its process tree, drains output, and waits for exit before enabling another run. Completed configuration changes remain. Stopping is not rollback. Detached services or scheduled tasks created by the underlying script are outside the process tree.
Closing the window during inspection or execution is blocked until the operation ends. UI updates stay on the UI thread. Standard output and standard error are read concurrently.
Build and tests
dotnet build Windows-Optimize-Harden-Debloat.csproj
dotnet run --project tests/Regression.csproj
powershell -NoProfile -File tests/SchemaRegression.ps1
CI builds on Windows with .NET 10 and runs argument, schema, output, exit-code, and process-tree cancellation tests. The process tests use harmless child processes. They never execute a hardening script. A native GUI acceptance pass should select a fixture script, confirm unchecked defaults, inspect the preview, run, stop, and close before testing a real script in a disposable VM.
관련 프로젝트 살펴보기
불러오는 중…