Skip to content

Repository files navigation

WinCheck - AI-Powered Windows Optimization Tool

Build Status Backend .NET License

🎯 Overview

WinCheck is an AI-powered, modern, high-performance system maintenance and optimization tool developed for Windows 7/8/10/11 operating systems. Developed using WinUI 3 and Windows App SDK, it is empowered with OpenAI, Claude, and Gemini AI integrations.

βœ… Build Status

Backend Services: βœ… Fully Working (9/9 services)

  • βœ… WinCheck.Core.dll - Successfully compiled
  • βœ… WinCheck.Infrastructure.dll - Successfully compiled
  • βœ… WinCheck.App (UI) - XAML bindings fixed, production ready

All core services and UI are production-ready!

Recent Updates (v1.1.0):

  • βœ… Dark Mode support added (Light/Dark/System)
  • βœ… Command Line Interface (CLI) added
  • βœ… Advanced error handling and crash dump system
  • βœ… Automatic update service (GitHub Releases)
  • βœ… 56 unit + integration tests (100% success)
  • βœ… All XAML pages use compile-time binding ({x:Bind})
  • βœ… Dashboard metrics work with multi-level fallback
  • βœ… Settings page is accessible
  • βœ… Startup Manager crash issue resolved - Fully working

Technical Specifications

Platform and Framework

  • Framework: .NET 8.0 (LTS)
  • UI Framework: WinUI 3 (Windows App SDK 1.5+)
  • Language: C# 12.0
  • Minimum Requirement: Windows 10 version 1809 (build 17763) or above
  • Recommended: Windows 11 22H2 or above

Architectural Design

  • Design Pattern: MVVM (Model-View-ViewModel)
  • Dependency Injection: Microsoft.Extensions.DependencyInjection
  • Asynchronous Operations: Task-based Asynchronous Pattern (TAP)
  • Structure: Modular, loosely-coupled architecture

πŸš€ Implemented Services (9/9 Complete)

1. πŸ€– AI System Analyzer (Crown Jewel)

Status: βœ… Production Ready

  • Integrates ALL 8 services below
  • AI-powered system health analysis (0-100 score)
  • Generates intelligent optimization plans
  • Natural language system explanations
  • Supports OpenAI GPT-4, Anthropic Claude, Google Gemini
  • Real-time recommendations with impact estimation

2. πŸ“Š Process Monitor Service

Status: βœ… Production Ready

  • Real-time process monitoring with Reactive Extensions
  • Suspicious process detection (unsigned, temp folder, high resource usage)
  • CPU/Memory usage tracking per process
  • Signed executable verification
  • Process priority management
  • Safe process termination

3. 🌐 Network Monitor Service

Status: βœ… Production Ready

  • AI-powered network threat detection
  • TCP/UDP connection tracking via P/Invoke (GetExtendedTcpTable/GetExtendedUdpTable)
  • Geographic threat analysis
  • Port-based heuristic scoring
  • Firewall integration for blocking threats
  • Real-time connection monitoring

4. πŸ”§ Hardware Detection Service

Status: βœ… Production Ready

  • Full component detection: CPU, RAM, Storage, GPU, Battery, Motherboard
  • SMART data analysis for drives (health, temperature, power-on hours)
  • Hardware benchmarking (CPU, RAM, Storage, GPU tests)
  • Temperature monitoring
  • Health assessment with issue detection

5. πŸͺŸ OS Detection Service

Status: βœ… Production Ready

  • Detects Windows 7/8/8.1/10/11 with exact build numbers
  • 50+ version-specific optimizations
  • Categories: Performance, Privacy, Security, UI
  • Safe registry tweaks with backup
  • Service management per OS version

6. βš™οΈ Service Optimizer Service

Status: βœ… Production Ready

  • Database of 30+ safe-to-disable services
  • Safety ratings (Safe, MostlySafe, Conditional, Risky)
  • Automatic backup/restore mechanism
  • Memory and boot time impact estimation
  • Dependency checking

7. 🧹 Disk Cleanup Service

Status: βœ… Production Ready

  • Temp files, browser caches, Windows Update cache
  • Duplicate file detection with MD5 hashing
  • Recycle Bin management
  • Error reports and log file cleanup
  • Thumbnail cache cleaning

8. πŸ“ Registry Cleaner Service

Status: βœ… Production Ready

  • Safe registry scanning (invalid extensions, orphaned entries)
  • Automatic .reg backup before changes
  • Whitelist approach for safety
  • Detects: Invalid file extensions, orphaned startup entries, empty keys

9. πŸš€ Startup Manager Service

Status: βœ… Production Ready

  • Manages Registry Run keys, Startup folder, Task Scheduler
  • Impact analysis with boot time savings estimation
  • Signed program verification
  • Bloatware detection and recommendations

πŸ†• New Features (v1.1.0)

πŸŒ™ Dark Mode Support

  • ThemeService: Light/Dark/System theme options
  • Persistent theme settings (Windows.Storage)
  • Theme switching at runtime
  • Automatic synchronization with Windows system theme

πŸ’» Command Line Interface (CLI)

# Quick system scan
wincheck scan --quick

# Detailed scan
wincheck scan --verbose

# File cleanup
wincheck clean

# System status
wincheck status

# Process list
wincheck process

Features:

  • Professional CLI with System.CommandLine
  • Progress indicators
  • Automation and scripting support
  • Colored and formatted output

πŸ›‘οΈ Advanced Error Handling

  • ErrorHandlingService: Global exception handling
  • Crash dump generation (JSON format)
  • Last 100 error history
  • Severity levels (Info, Warning, Error, Critical)
  • Automatic crash dump cleanup
  • Thread-safe error collection
  • Location: %LocalAppData%\WinCheck\CrashDumps\

πŸ”„ Automatic Update

  • AutoUpdateService: GitHub Releases integration
  • Semantic version comparison
  • Automatic version checking
  • One-click download and install
  • Release notes display
  • Automatic privilege escalation

Core Features

1. Disk Analysis and Cleanup Module

  • Temporary File Cleanup

    • Windows Temp folders
    • Browser cache (Edge, Chrome, Firefox)
    • .NET Temp files
    • Thumbnail cache
  • System File Analysis

    • Disk usage map (TreeMap visualization)
    • Large file detection
    • Duplicate file finding (hash-based)

2. Registry Optimization

  • Safe Registry Cleanup
    • Invalid application references
    • Old MUI cache records
    • Unused file extensions
    • Automatic backup system

3. Startup Programs Management

  • Task Scheduler analysis
  • Registry Run keys check
  • Services management
  • Performance impact display

4. System Status Analysis

  • SMART Disk Check
  • RAM Test (Windows Memory Diagnostic API)
  • System File Integrity (SFC/DISM integration)
  • Driver Update Check

5. Privacy and Security

  • Windows telemetry settings
  • Disabling unnecessary services
  • Cleaning unused network protocols

6. Performance Monitoring

  • Real-time CPU, RAM, Disk usage
  • Background process analysis
  • System resource history (graphs)

Technology Stack

Core Technologies

- .NET 8.0 SDK
- WinUI 3 (Microsoft.WindowsAppSDK)
- Windows Implementation Libraries (WIL)
- C++/WinRT (for critical system operations)

NuGet Packages

<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.*" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.*" />
<PackageReference Include="CommunityToolkit.WinUI.UI.Controls" Version="7.1.*" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.*" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.*" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.*" />

Modern UI Components

  • WinUI 3 Controls: NavigationView, InfoBar, TeachingTip
  • Community Toolkit: DataGrid, TokenizingTextBox, SettingsCard
  • Fluent Design System: Acrylic, Reveal, Shadow effects
  • Animations: Smooth transitions with Composition API

Project Structure

WinCheck/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ WinCheck.App/                 # WinUI 3 Application
β”‚   β”‚   β”œβ”€β”€ Views/                    # XAML Pages
β”‚   β”‚   β”œβ”€β”€ ViewModels/               # View Models
β”‚   β”‚   β”œβ”€β”€ Converters/               # Value Converters
β”‚   β”‚   β”œβ”€β”€ Styles/                   # Resource Dictionaries
β”‚   β”‚   └── Assets/                   # Images, Icons
β”‚   β”‚
β”‚   β”œβ”€β”€ WinCheck.Core/                # Business Logic
β”‚   β”‚   β”œβ”€β”€ Services/
β”‚   β”‚   β”‚   β”œβ”€β”€ DiskCleanupService.cs
β”‚   β”‚   β”‚   β”œβ”€β”€ RegistryService.cs
β”‚   β”‚   β”‚   β”œβ”€β”€ StartupManagerService.cs
β”‚   β”‚   β”‚   └── SystemAnalyzerService.cs
β”‚   β”‚   β”œβ”€β”€ Models/
β”‚   β”‚   └── Interfaces/
β”‚   β”‚
β”‚   β”œβ”€β”€ WinCheck.Infrastructure/      # Platform Specific
β”‚   β”‚   β”œβ”€β”€ Native/                   # P/Invoke declarations
β”‚   β”‚   β”œβ”€β”€ Helpers/
β”‚   β”‚   └── Extensions/
β”‚   β”‚
β”‚   └── WinCheck.Tests/               # Unit & Integration Tests
β”‚       β”œβ”€β”€ Services/
β”‚       └── Helpers/
β”‚
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ ARCHITECTURE.md
β”‚   β”œβ”€β”€ API_REFERENCE.md
β”‚   └── USER_GUIDE.md
β”‚
β”œβ”€β”€ WinCheck.sln
└── README.md

Installation and Development

Requirements

  1. Visual Studio 2022 (17.8 or above)
    • Workloads: ".NET Desktop Development", "Windows application development"
  2. Windows SDK 10.0.22621.0 or above
  3. .NET 8.0 SDK

Project Creation

# Install WinUI 3 template
dotnet new install Microsoft.WindowsAppSDK.Templates

# Create project
dotnet new winui -n WinCheck.App -o src/WinCheck.App

# Create class libraries
dotnet new classlib -n WinCheck.Core -o src/WinCheck.Core -f net8.0-windows10.0.22621.0
dotnet new classlib -n WinCheck.Infrastructure -o src/WinCheck.Infrastructure -f net8.0-windows10.0.22621.0

# Test project
dotnet new mstest -n WinCheck.Tests -o src/WinCheck.Tests

Build and Run

cd src/WinCheck.App
dotnet restore
dotnet build -c Release
dotnet run

Security and Permissions

Required Permissions

  • Administrator Privileges: For Registry and system files
  • Restricted Capabilities:
    <Capability Name="runFullTrust" />
    <rescap:Capability Name="confirmAppClose" />

Security Measures

  • Automatic backup before all system changes
  • User Account Control (UAC) integration
  • Pre-operation approval mechanism
  • Rollback capability

Performance Optimizations

  1. Asynchronous I/O: All disk operations are async
  2. Parallel Processing: Multi-file analysis with PLINQ
  3. Memory Management: Use of Span, Memory
  4. Lazy Loading: Deferred loading in UI components
  5. Caching: Frequently used system information is cached

Testing & Quality Assurance

Test Coverage

WinCheck includes comprehensive unit and integration tests to ensure reliability and code quality.

Unit Tests: 36 tests (100% pass rate)

  • ValidationHelperTests (14 tests): Drive letters, process IDs, API keys, percentages, port numbers, file names, IP addresses
  • CacheHelperTests (10 tests): Cache operations, expiration, concurrency, clear operations
  • RetryHelperTests (12 tests): Retry logic, exponential backoff, retry policies, exception filtering

Test Infrastructure:

# Run all tests
dotnet test tests/WinCheck.Tests/WinCheck.Tests.csproj

# Run with coverage
dotnet test tests/WinCheck.Tests/WinCheck.Tests.csproj --collect:"XPlat Code Coverage"

# Run specific test
dotnet test --filter "FullyQualifiedName~ValidationHelperTests"

Quality Metrics:

  • Test Pass Rate: 100% (36/36 tests passing)
  • Test Execution Time: ~168ms
  • Framework: MSTest 3.5.0
  • Coverage Tool: coverlet.collector 6.0.2

Infrastructure Testing

The following critical infrastructure components have comprehensive test coverage:

  1. Validation System

    • Input sanitization tests
    • Boundary condition tests
    • Security validation (API keys, paths, IPs)
  2. Caching System

    • Cache hit/miss scenarios
    • Expiration behavior
    • Thread-safety tests
  3. Retry Logic

    • Transient failure handling
    • Exponential backoff verification
    • Policy-based retry testing

Test Project Location: tests/WinCheck.Tests/

Localization

  • Multi-language support with ResX files
  • Supported languages: TR, EN, DE, FR, ES
  • RTL (Right-to-Left) language support

Deployment

MSIX Packaging

<PropertyGroup>
  <WindowsPackageType>MSIX</WindowsPackageType>
  <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
  <PublishProfile>win-x64</PublishProfile>
</PropertyGroup>

Deployment Channels

  1. Microsoft Store (recommended)
  2. GitHub Releases (sideload)
  3. Enterprise Deployment (Intune, SCCM)

License

MIT License

Contributing

Contributions are welcome! Please read CONTRIBUTING.md

Roadmap

v1.0 (Q1 2025)

  • βœ“ Basic disk cleanup
  • βœ“ Registry optimization
  • βœ“ Startup management

v1.5 (Q2 2025)

  • Scheduled tasks
  • Cloud backup integration
  • Advanced analytics dashboard

v2.0 (Q3 2025)

  • AI-powered optimization suggestions
  • Network performance optimization
  • Multi-PC management (Enterprise)

Contact and Support


User Manual & Configuration Guide

πŸ”§ Initial Setup

1. AI Provider Configuration (Required)

WinCheck requires at least one AI provider API key to function. Navigate to Settings page in the application.

OpenAI Setup

  1. Visit OpenAI Platform
  2. Create account or sign in
  3. Generate a new API key
  4. Copy the key (starts with sk-)
  5. In WinCheck Settings:
    • Paste key in OpenAI API Key field
    • Click Validate button
    • Wait for green checkmark βœ…
    • Select OpenAI as AI Provider

Claude (Anthropic) Setup

  1. Visit Anthropic Console
  2. Create account or sign in
  3. Generate API key
  4. Copy the key
  5. In WinCheck Settings:
    • Paste key in Claude API Key field
    • Click Validate button
    • Wait for green checkmark βœ…
    • Select Claude as AI Provider

Gemini (Google) Setup

  1. Visit Google AI Studio
  2. Create account or sign in
  3. Generate API key
  4. Copy the key
  5. In WinCheck Settings:
    • Paste key in Gemini API Key field
    • Click Validate button
    • Wait for green checkmark βœ…
    • Select Gemini as AI Provider

Settings Location: %LocalAppData%\WinCheck\settings.json

2. First Run Recommendations

After configuring AI provider:

  1. Dashboard β†’ Click Deep Scan

    • Establishes system baseline
    • Takes 1-3 minutes
    • Provides comprehensive health score (0-100)
    • Generates initial recommendations
  2. Review Recommendations

    • Read all AI-generated suggestions
    • Note priority levels: Critical > High > Medium > Low
    • Check estimated impact scores
  3. Disk Cleanup β†’ Click Scan

    • See how much space can be freed
    • Review cleanup categories
    • Run Clean if comfortable with findings
  4. Startup Manager β†’ Click Load Programs

    • Identify high-impact startup programs
    • Disable unnecessary programs (reduces boot time)

πŸ“– Feature Guide

Dashboard Page

Purpose: Central hub for AI-powered system analysis and optimization

Quick Scan

  • Duration: 10-30 seconds
  • What it does:
    • Analyzes current CPU, memory, disk usage
    • Checks running processes
    • Generates health score (0-100)
    • Lists top 5 recommendations
  • Best for: Daily health checks

Deep Scan

  • Duration: 1-3 minutes
  • What it does:
    • Comprehensive hardware analysis (CPU, GPU, RAM, disk)
    • Software analysis (installed programs, services)
    • Performance analysis (resource usage patterns)
    • Security analysis (suspicious processes, network threats)
    • Generates detailed breakdown:
      • Hardware Score (0-100)
      • Software Score (0-100)
      • Performance Score (0-100)
      • Security Score (0-100)
    • Lists ALL recommendations with impact estimates
  • Best for: Weekly/monthly thorough analysis

Optimize Button

  • Duration: 30 seconds - 5 minutes (varies)
  • What it does:
    1. AI generates custom optimization plan
    2. Shows estimated improvement (+X health score)
    3. Executes safe optimization steps
    4. Reports results:
      • Steps completed/failed
      • Actual health score increase
      • Time saved
  • Includes:
    • Service optimization
    • Startup program cleanup
    • Disk cleanup
    • Registry cleaning
    • Network optimization
  • Safety: All changes create automatic backups

Ask AI Question

  • How to use:
    1. Type question in text box
    2. Click Ask AI
    3. Wait for AI response
  • Example questions:
    • "Why is my CPU usage so high?"
    • "Is 8GB RAM enough for gaming?"
    • "Should I upgrade my SSD?"
    • "What's causing slow boot time?"
    • "Is this process safe to terminate?"

Process Monitor Page

Purpose: Real-time monitoring and management of running processes

Start Monitoring

  • Updates: Every 2 seconds
  • Shows:
    • Process name
    • CPU usage (%)
    • Memory usage (MB)
    • Disk read/write (MB)
    • Network sent/received (MB)
    • Thread count
    • Handle count
    • Impact score (0-100)
  • Process limit: Top 50 by CPU usage
  • System metrics: Overall CPU, memory, disk usage displayed at top

Suspicious Process Detection

  • Automatic: Runs when monitoring starts

  • Detection criteria:

    • πŸ”΄ High CPU (>80% for extended time)
    • πŸ”΄ High Memory (>50% of system RAM)
    • 🟑 Unsigned executable (no digital signature)
    • 🟑 Suspicious location (Temp, AppData, hidden folders)
    • 🟠 Excessive disk I/O
    • 🟠 Network spamming
    • 🟠 Multiple instances (same process repeated)
    • ⚫ Known malware signature
  • Recommended actions:

    • Monitor: Keep watching, no immediate threat
    • Lower Priority: Reduce CPU priority
    • Throttle: Limit CPU/IO usage
    • Terminate: End process immediately
    • Quarantine: Stop and scan with antivirus
    • Block: Cut network connection

Terminate Process

  1. Select process from list
  2. Click Terminate Process
  3. Confirm action
  4. Note: Requires administrator for system processes

Disk Cleanup Page

Purpose: Analyze and clean unnecessary files to free disk space

Scan

  • Analyzes:

    • βœ… Temp Files (Safe)
      • %TEMP% folder
      • C:\Windows\Temp
      • .NET temp files
    • βœ… Browser Caches (Safe)
      • Chrome cache
      • Edge cache
      • Firefox cache
    • 🟑 Windows Update Cache (Mostly Safe, requires admin)
      • C:\Windows\SoftwareDistribution
    • βœ… Recycle Bin (Safe)
    • βœ… Thumbnails (Safe)
      • %LocalAppData%\Microsoft\Windows\Explorer
    • βœ… Error Reports (Safe)
      • Windows Error Reporting logs
    • βœ… Log Files (Safe)
      • System and application logs
  • Shows per category:

    • Size (MB/GB)
    • File count
    • Safety level
  • Total Cleanable: Sum of all categories

Clean

  • Process:
    1. Deletes temporary files
    2. Clears browser caches
    3. Cleans Windows Update cache (if admin)
    4. Empties recycle bin
    5. Shows total space freed
  • Safety: Only targets well-known safe locations
  • Skips: Files in use by running programs

Safety Levels

  • 🟒 Safe: 100% safe to delete, no data loss
  • 🟑 Mostly Safe: Safe but may clear cached data
  • 🟠 Careful: Review before deleting
  • πŸ”΄ Advanced: Only for advanced users

Service Optimizer Page

Purpose: Manage Windows services to improve boot time and performance

Load Services

  • Shows all Windows services:
    • Service name
    • Display name
    • Current status (Running/Stopped)
    • Startup type (Automatic/Manual/Disabled)
    • Impact on system (High/Medium/Low)
    • Safe to disable? (Yes/No)

Optimize

  • Automatic optimization:

    1. Identifies safe-to-disable services
    2. Creates backup of current configuration
    3. Changes startup type to "Manual" or "Disabled"
    4. Shows results:
      • Services optimized
      • Estimated boot time savings
      • Memory saved
  • Database of 30+ services including:

    • Windows Search (high memory usage)
    • Superfetch/Prefetch
    • Remote Registry
    • Print Spooler (if no printer)
    • Bluetooth Support Service (if no Bluetooth)
    • Windows Error Reporting
    • And more...

Create Backup

  • Manual backup:
    1. Click Create Backup
    2. Backup saved to: %LocalAppData%\WinCheck\Backups\services_YYYYMMDD_HHMMSS.reg
    3. Confirmation message shown

Restore Backup

  • Restore previous configuration:
    1. Click Restore Backup
    2. Select backup file
    3. Services restored to previous state
    4. Requires restart for full effect

Safety: All changes create automatic backup. Can be reverted anytime.


Startup Manager Page

Purpose: Control programs that run at Windows startup

Load Programs

  • Scans three locations:

    1. Registry Run keys:
      • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
      • HKEY_LOCAL_MACHINE\...\Run
    2. Startup folder:
      • %AppData%\Microsoft\Windows\Start Menu\Programs\Startup
    3. Task Scheduler:
      • Tasks set to run at logon
  • Shows per program:

    • Name
    • Location (Registry/Folder/Task)
    • Executable path
    • Publisher (if signed)
    • Enabled/Disabled status
    • Impact score (0-100):
      • πŸ”΄ High (>70): Significantly delays boot
      • 🟑 Medium (40-70): Moderate impact
      • 🟒 Low (<40): Minimal impact

Enable/Disable Programs

  1. Select program from list
  2. Click Enable or Disable
  3. Change takes effect on next boot

Impact Score Calculation

  • File size
  • Dependencies (DLLs loaded)
  • Historical boot time data
  • Resource usage patterns

Common bloatware auto-detected:

  • Adobe updaters
  • Java updaters
  • Manufacturer bloatware (HP, Dell utilities)
  • Chat apps (Discord, Skype auto-start)
  • Cloud sync services (if multiple running)

Registry Cleaner Page

Purpose: Safely clean invalid Windows registry entries

Scan Registry

  • Checks for:

    • ❌ Invalid file extensions (orphaned HKEY_CLASSES_ROOT entries)
    • ❌ Obsolete software entries (uninstalled programs)
    • ❌ Broken shortcuts (LNK files pointing nowhere)
    • ❌ Empty registry keys
    • ❌ Invalid startup entries
    • ❌ Outdated MUI cache
  • Shows:

    • Issue count per category
    • Registry paths affected
    • Estimated space wasted

Clean Registry

  1. Click Clean Registry
  2. Automatic backup created: %LocalAppData%\WinCheck\Backups\registry_YYYYMMDD_HHMMSS.reg
  3. Invalid entries removed
  4. Results shown:
    • Issues fixed
    • Registry keys cleaned
    • Backup location

Restore Registry

  • If something goes wrong:
    1. Click Restore Backup
    2. Select backup .reg file
    3. Click Import
    4. Registry restored to previous state

Safety Features:

  • Whitelist approach (only touches known-safe areas)
  • Never modifies critical system keys
  • Always creates backup before cleaning
  • Skips entries with active dependencies

When to use:

  • After uninstalling many programs
  • System feels sluggish
  • Registry errors in Event Viewer
  • Monthly maintenance

🎯 Usage Scenarios

Scenario 1: New PC Setup

Goal: Optimize brand new computer out of the box

  1. Dashboard β†’ Deep Scan

    • See baseline health score
    • Identify pre-installed bloatware
  2. Startup Manager β†’ Load Programs

    • Disable manufacturer bloatware
    • Keep only essential startup programs
  3. Service Optimizer β†’ Optimize

    • Disable unnecessary services
    • Improve boot time by 30-50%
  4. Dashboard β†’ Deep Scan (again)

    • Compare new vs. old health score
    • Should see +10 to +20 improvement

Scenario 2: Computer Running Slow

Goal: Diagnose and fix performance issues

  1. Dashboard β†’ Ask AI

    • "Why is my computer slow?"
    • Get AI analysis
  2. Process Monitor β†’ Start Monitoring

    • Identify high CPU/memory processes
    • Check for suspicious processes
    • Terminate resource hogs
  3. Disk Cleanup β†’ Scan & Clean

    • Free up disk space
    • May improve performance if disk was >90% full
  4. Dashboard β†’ Optimize

    • Execute AI-generated optimization plan

Scenario 3: Running Out of Disk Space

Goal: Free up maximum disk space

  1. Disk Cleanup β†’ Scan

    • See all cleanable categories
    • Note total cleanable space
  2. Disk Cleanup β†’ Clean

    • Remove all temporary files
    • Empty recycle bin
  3. Dashboard β†’ Ask AI

    • "What's taking up most disk space?"
    • Get recommendations for manual cleanup

Scenario 4: Suspicious Activity

Goal: Check for malware or suspicious processes

  1. Process Monitor β†’ Start Monitoring

    • Wait for suspicious process detection
    • Review flagged processes
  2. Dashboard β†’ Deep Scan

    • Check security score
    • Review security recommendations
  3. Process Monitor β†’ Terminate suspicious processes

    • End high-risk processes
    • Run antivirus scan separately

Scenario 5: Weekly Maintenance

Goal: Keep system in optimal condition

  1. Dashboard β†’ Quick Scan (every week)

    • Monitor health score trend
    • Check for new recommendations
  2. Disk Cleanup β†’ Scan (if score drops)

    • Free up space if needed
  3. Process Monitor β†’ Brief check

    • Verify no suspicious processes

Scenario 6: Monthly Deep Maintenance

Goal: Comprehensive system optimization

  1. Dashboard β†’ Deep Scan
  2. Service Optimizer β†’ Create Backup, then Optimize
  3. Startup Manager β†’ Review and disable new entries
  4. Registry Cleaner β†’ Scan & Clean
  5. Disk Cleanup β†’ Scan & Clean
  6. Dashboard β†’ Deep Scan (compare results)

⚠️ Troubleshooting

Application Won't Start

Symptom: Double-click WinCheck.App.exe, nothing happens

Solutions:

  1. Check .NET 8.0 Runtime installed:

    dotnet --list-runtimes
  2. Verify Windows version:

    • Press Win+R β†’ winver
    • Must be Windows 10 22H2 (19045) or later
  3. Run as administrator:

    • Right-click WinCheck.App.exe
    • Select "Run as administrator"
  4. Check Event Viewer:

    • Win+R β†’ eventvwr
    • Windows Logs β†’ Application
    • Look for WinCheck errors

"AI Provider Error" on Dashboard

Symptom: Dashboard shows "Failed to analyze system. Please check AI provider settings."

Solutions:

  1. Verify API key:

    • Settings β†’ Check API key entered correctly
    • Click Validate button
    • Must show green βœ… checkmark
  2. Check internet connection:

    ping api.openai.com
  3. Verify API key has credits/quota:

    • OpenAI: Check Usage
    • Claude: Check Anthropic console
    • Gemini: Check Google AI Studio
  4. Try different AI provider:

    • Settings β†’ Switch to Claude or Gemini
    • Click Validate
  5. Check firewall:

    • Ensure WinCheck.App.exe allowed through firewall

Disk Cleanup Shows 0 MB

Symptom: Scan completes but finds nothing to clean

Solutions:

  1. Run as administrator (required for some folders)
  2. Disk may already be very clean
  3. Check antivirus isn't blocking file access:
    • Temporarily disable antivirus
    • Scan again
    • Re-enable antivirus

Service Optimizer Shows Empty List

Symptom: Load Services button does nothing, list stays empty

Solutions:

  1. Run as administrator (required for service access)
  2. Verify Services.msc opens manually:
    • Win+R β†’ services.msc
  3. Restart application

Process Monitor Not Updating

Symptom: Process list frozen, no updates

Solutions:

  1. Click Stop Monitoring β†’ Start Monitoring
  2. Check performance counters enabled:
    • Win+R β†’ perfmon
    • Should open without errors
  3. Run as administrator
  4. Restart application

Settings Not Saving

Symptom: API keys disappear after closing application

Solutions:

  1. Check folder permissions:

    • Navigate to %LocalAppData%\WinCheck
    • Right-click β†’ Properties β†’ Security
    • Ensure your user has "Modify" permission
  2. Check folder isn't read-only:

    • Right-click WinCheck folder β†’ Properties
    • Uncheck "Read-only"
  3. Run as administrator

  4. Check antivirus isn't blocking:

    • Add WinCheck folder to antivirus exclusions

High CPU Usage During Scan

Symptom: WinCheck using 50-80% CPU during Deep Scan

This is normal:

  • Deep Scan analyzes all system components
  • CPU usage returns to <5% after scan
  • Duration: 1-3 minutes typically

If persists after scan:

  1. Stop Process Monitor if running
  2. Restart application
  3. Use Quick Scan instead

"Access Denied" Errors

Symptom: Various features show "Access Denied" errors

Solutions:

  1. Run as administrator (most common fix)

  2. Check UAC settings:

    • Win+R β†’ UserAccountControlSettings
    • Set to at least "Notify me only when apps try to make changes"
  3. Verify user account has admin rights


πŸ“Š Understanding Health Scores

Overall Health Score (0-100)

  • Weighted average of 4 categories:
    • Hardware: 25%
    • Software: 25%
    • Performance: 30%
    • Security: 20%

Score Interpretation

  • 90-100: Excellent - System in optimal condition
  • 75-89: Good - Minor optimizations possible
  • 60-74: Fair - Noticeable issues, optimization recommended
  • 40-59: Poor - Significant problems, action required
  • 0-39: Critical - Urgent attention needed

Hardware Score Factors

  • CPU health and temperature
  • RAM integrity
  • Disk SMART status and fragmentation
  • GPU health (if discrete GPU present)
  • Battery health (laptops)

Software Score Factors

  • Number of installed programs
  • Outdated software
  • Bloatware detection
  • Startup program count
  • Service configuration

Performance Score Factors

  • CPU usage patterns
  • Memory usage
  • Disk usage and speed
  • Boot time
  • System responsiveness

Security Score Factors

  • Suspicious processes detected
  • Network threat count
  • Windows Defender status
  • Firewall configuration
  • Outdated drivers/software

πŸ” Privacy & Security

Data Sent to AI Providers

When using AI features, the following data is transmitted:

Sent:

  • System metrics (CPU %, RAM %, disk usage)
  • Process names (e.g., "chrome.exe", "notepad.exe")
  • Installed software names and versions
  • Hardware specifications (CPU model, RAM size, GPU model)
  • Service names and startup programs
  • Aggregate statistics

NOT sent:

  • File contents or file paths
  • Personal documents or user files
  • Passwords or credentials
  • Browsing history
  • Network traffic contents
  • Usernames or personal identifiers
  • IP addresses

Local Data Storage

  • Settings: %LocalAppData%\WinCheck\settings.json

    • AI provider selection
    • API keys (stored locally only)
    • Monitoring preferences
    • Permissions: Current user only
  • Backups: %LocalAppData%\WinCheck\Backups\

    • Service configurations (.reg files)
    • Registry backups (.reg files)
    • Permissions: Current user only

API Key Security

  • API keys stored in plain text JSON file
  • File permissions restricted to current user
  • Keys never transmitted except to respective AI provider
  • Keys not logged or sent to telemetry
  • Recommendation: Use API keys with limited spending caps

Network Connections

WinCheck makes network connections to:

  1. AI Provider APIs (based on selection):
    • api.openai.com (OpenAI)
    • api.anthropic.com (Claude)
    • generativelanguage.googleapis.com (Gemini)
  2. No other external connections

Administrator Privileges

Required for:

  • Service modification
  • Registry editing
  • Windows Update cache cleanup
  • System process termination
  • SMART disk data access

Not required for:

  • AI analysis
  • Process monitoring (limited visibility)
  • Disk cleanup (user folders only)
  • Viewing recommendations

πŸ“ˆ Performance Tips

Optimizing WinCheck Performance

  1. Close unused features:

    • Stop Process Monitor when not needed
    • Use Quick Scan for routine checks
  2. Reduce monitoring frequency:

    • Settings β†’ Increase monitoring interval
  3. Limit startup impact:

    • Don't add WinCheck to startup programs
    • Run manually when needed

Optimizing Your System with WinCheck

First-Time Setup (30 minutes)

  1. Dashboard β†’ Deep Scan (baseline)
  2. Startup Manager β†’ Disable bloatware (saves 30-60 seconds boot time)
  3. Service Optimizer β†’ Optimize (saves 10-30 seconds boot time)
  4. Disk Cleanup β†’ Clean (frees 5-20 GB typically)
  5. Dashboard β†’ Deep Scan (compare improvement)

Expected results:

  • Health score: +15 to +30
  • Boot time: -40 to -90 seconds
  • Free disk space: +5 to +20 GB
  • Memory usage: -200 to -500 MB

Weekly Quick Maintenance (5 minutes)

  1. Dashboard β†’ Quick Scan
  2. Review recommendations
  3. Disk Cleanup (if recommended)

Monthly Deep Maintenance (20 minutes)

  1. Dashboard β†’ Deep Scan
  2. Service Optimizer β†’ Backup + Optimize
  3. Startup Manager β†’ Review new entries
  4. Registry Cleaner β†’ Scan & Clean
  5. Disk Cleanup β†’ Scan & Clean
  6. Dashboard β†’ Optimize (auto-execute plan)

πŸš€ Advanced Usage

Command-Line Parameters

(Future feature - not yet implemented)

# Quick scan and exit
WinCheck.App.exe --quick-scan

# Deep scan and generate report
WinCheck.App.exe --deep-scan --report="C:\Reports\scan.json"

# Auto-optimize
WinCheck.App.exe --optimize --backup

# Disk cleanup
WinCheck.App.exe --cleanup --aggressive

Automation with Task Scheduler

(User can set up manually)

  1. Open Task Scheduler
  2. Create Task β†’ "WinCheck Weekly Scan"
  3. Trigger: Weekly, Sunday 10:00 AM
  4. Action: Start program β†’ C:\Path\To\WinCheck.App.exe
  5. Conditions: Only if computer idle for 10 minutes

πŸ†˜ Getting Help

Before Asking for Help

  1. Check this README thoroughly
  2. Review Troubleshooting section
  3. Check Event Viewer for error details
  4. Try running as administrator
  5. Verify .NET 8.0 Runtime installed

Reporting Issues

When opening GitHub issue, include:

  1. System Information:

    • Windows version (Win+R β†’ winver)
    • .NET version (dotnet --info)
    • WinCheck version
  2. Issue Description:

    • What were you trying to do?
    • What happened instead?
    • Exact error message (screenshot if possible)
  3. Steps to Reproduce:

    • Step 1: ...
    • Step 2: ...
    • Expected result: ...
    • Actual result: ...
  4. Logs (if applicable):

    • Event Viewer errors
    • Settings file: %LocalAppData%\WinCheck\settings.json

πŸ“ Changelog

v1.0.0 (November 2025)

  • βœ… Initial release
  • βœ… AI-powered system analysis (OpenAI, Claude, Gemini)
  • βœ… Real-time process monitoring
  • βœ… Suspicious process detection
  • βœ… Disk cleanup
  • βœ… Service optimization
  • βœ… Startup program management
  • βœ… Registry cleaning
  • βœ… Hardware detection
  • βœ… Network monitoring
  • βœ… Settings persistence

Known Issues v1.0.0

  • Settings β†’ Language selection (not yet implemented)
  • Scheduled scans (not yet implemented)
  • Export reports to PDF (not yet implemented)
  • Dark theme (not yet implemented)

Future Enhancements v1.1+

  • Multi-language support (EN, DE, FR, ES)
  • Scheduled automatic scans
  • PDF/CSV report export
  • Dark theme / Fluent design customization
  • Cloud backup integration
  • Enterprise multi-PC management

🀝 Contributing

See main README sections above for contribution guidelines.


Last Updated: November 2025 Version: 1.0.0 Maintained by: WinCheck Development Team

About

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages