simeononsecurity/Windows-Optimize-Harden-Debloat-GUI
حول
C# Based GUI for Windows-Optimize-Harden-Debloat
الأمان والخصوصيةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- +١
- خلال 15 يومًا
- +١
- خلال شهر
- +٢
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلWindows 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.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…