Skip to content

SystemGuardian is a powerful Windows service designed for real-time system monitoring, failure prevention, and automated recovery. It safeguards critical system components, detects driver failures, registry modifications, and service disruptions, and takes automatic corrective actions to prevent crashes and instability.

License

Notifications You must be signed in to change notification settings

Protostarship/SystemGuardian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SystemGuardian - Comprehensive Documentation

πŸ“Œ Overview

SystemGuardian is a high-performance Windows service designed for real-time system monitoring, failure prevention, and automated recovery. It ensures system stability by tracking drivers, services, registry changes, and system integrity, preventing potential failures, crashes, and unauthorized modifications.

πŸ“₯ Installation & Setup

1️⃣ Prerequisites

  • Windows 10/11, Windows Insider Preview or Windows Server 2016+
  • Administrator privileges

2️⃣ Install SystemGuardian

To install the SystemGuardian service, open a command prompt with Administrator privileges and run:

sc create SystemGuardian binPath= "C:\\Path\\To\\SystemGuardian.exe" start= auto

This registers the service in Windows and configures it to start automatically on system boot.

3️⃣ Start the Service

To manually start the service, run:

sc start SystemGuardian

4️⃣ Stop or Restart the Service

If you need to stop or restart the service, use:

sc stop SystemGuardian
sc start SystemGuardian

5️⃣ Uninstall SystemGuardian

To remove the service completely from the system, execute:

sc delete SystemGuardian

βš™οΈ How It Works

πŸ›‘οΈ Core Features

βœ… Real-time System Monitoring - Watches drivers, registry keys, and services for changes.

βœ… Automated Recovery - Restores services, drivers, and registry keys from backups.

βœ… Integrity Protection - Uses SHA-256 file hashing to detect modifications.

βœ… Driver Verification - Blocks unsigned/unverified drivers.

βœ… Crash Prevention - Detects system crashes and creates restore points automatically.

βœ… Event Logging & Alerts - Logs system failures and can notify administrators.

πŸ”„ Recovery Process

  1. Detect an issue (e.g., service failure, driver corruption).
  2. Backup registry and critical components.
  3. Attempt Auto-Recovery:
    • Restart failed services.
    • Restore corrupted drivers from backups.
    • Rollback registry keys if altered.
  4. Notify the user if intervention is required.

πŸ”§ Configuration Management

πŸ”Ή Configuration File Location

SystemGuardian uses a configuration file to define which system components should be monitored. The default configuration file is located at:

C:\ProgramData\SystemGuardian\config.json

πŸ”Ή What if the Configuration File is Missing?

  • If the configuration file does not exist, the service will automatically generate a default configuration with standard monitoring settings.
  • Users can manually create a configuration file in the same directory to customize monitoring.

πŸ”Ή Example Configuration File

{
    "MonitorDrivers": true,
    "MonitorServices": true,
    "MonitorRegistry": true,
    "CriticalPaths": [
        "C:\\Windows\\System32\\drivers",
        "C:\\Windows\\System32"
    ]
}

πŸ”Ή Modifying Configuration Settings

To modify the configuration:

  1. Open C:\ProgramData\SystemGuardian\config.json with a text editor.
  2. Adjust monitoring preferences as needed.
  3. Restart the service for changes to take effect:
    sc stop SystemGuardian
    sc start SystemGuardian

πŸ”Ή Enable Debug Logging

To enable verbose logging for troubleshooting:

New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\SystemGuardian" -Name "DebugLogging" -Value 1 -PropertyType DWord -Force

πŸ“œ Service Management

πŸ”Ή Checking Service Status

To check if the service is running:

sc query SystemGuardian

πŸ”Ή Viewing Logs

  • Logs are saved in: C:\ProgramData\SystemGuardian\Logs\
  • Use Notepad or PowerShell to view logs:
    Get-Content C:\ProgramData\SystemGuardian\Logs\latest.log -Tail 50 -Wait

πŸ”Ή Manually Recovering a Component

If a monitored component fails and SystemGuardian does not auto-recover it, you can manually recover it by running:

SystemGuardian.exe /recover "ComponentName"

πŸ”Ή Restoring Registry from Backup

reg import C:\ProgramData\SystemGuardian\registry_backup.reg

πŸ” Considerations & Best Practices

1️⃣ Always Run as Administrator - SystemGuardian requires administrative privileges to monitor and recover system components.

2️⃣ Regularly Check Logs - Monitor logs in C:\ProgramData\SystemGuardian\Logs\ to detect unusual activity.

3️⃣ Backups are Critical - Ensure that registry and system file backups are created regularly.

4️⃣ Avoid Modifying System Files Manually - If you need to restore a system file, use the SystemGuardian recovery process.

5️⃣ Verify Driver & Service Integrity - Before installing third-party drivers, use SystemGuardian's integrity verification features to ensure they are safe.


❓ FAQ & Troubleshooting

❓ How do I check service status?

sc query SystemGuardian

❓ Where are logs stored?

  • Logs are saved in: C:\ProgramData\SystemGuardian\Logs\

❓ How do I manually recover a component?

  • Open a command prompt as Administrator.
  • Run:
SystemGuardian.exe /recover "ComponentName"

❓ What happens if a driver is blocked?

  • SystemGuardian will isolate the driver, preventing it from running.
  • The user will be notified and can choose to restore or permanently block it.

πŸ“ž Support

For assistance, open an issue on our GitHub repository or contact support at: relay.arbiter303@gmail.com.


Β© 2025 SystemGuardian | All Rights Reserved

About

SystemGuardian is a powerful Windows service designed for real-time system monitoring, failure prevention, and automated recovery. It safeguards critical system components, detects driver failures, registry modifications, and service disruptions, and takes automatic corrective actions to prevent crashes and instability.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages