← Back to all projects

WindowsDiagnosis

Seven PowerShell scripts that inspect a Windows machine and produce an HTML report you can open in any browser. Nothing to install and no internet connection needed.

Cover of the WindowsDiagnosis project

The reports

Machine diagnostics

Twelve blocks: CPU, memory, drivers, battery, disks and S.M.A.R.T. status, network, critical events, antivirus, updates and outdated software.

Persistence and threats

Ten blocks covering startup entries, WMI subscriptions, Defender exclusions, network connections, browser extensions, IFEO and AppInit_DLLs. It flags signed binaries sitting in a location that does not match their vendor.

LOPDP compliance

Controls from Ecuador's Personal Data Protection Law (articles 10 and 38): disk encryption, open ports, firewall, antivirus, local administrators and more, with a traffic-light status and suggested fix.

Office and clipboard

Diagnoses Excel freezing on copy or a locked clipboard, with a real-time monitor and a reversible repair using -WhatIf.

Windows 11 readiness

Tells you whether each PC is natively compatible, needs a bypass or is impossible (TPM, Secure Boot, CPU, RAM, GPT) and can export JSON for inventory.

Portable reports

HTML with inline CSS, no CDN or JavaScript, that works straight from a USB drive. The code is pure ASCII so PowerShell 5.1 does not break the text.

How to use it

Each script runs on its own depending on what you need to inspect: no modules to install and no internet required. The scripts are generated from Python builders, which keeps the code consistently formatted. They work on Windows 10 21H2 or later, Windows 11, PowerShell 5.1 and PowerShell 7.

No dependencies

Only cmdlets and WMI that ship with Windows.

Safe output

Without administrator rights the report says “Not verified” instead of a false OK.

Built for support

Made for slowness tickets, security reviews and handovers to users.

Exit code

Returns a non-zero code when there are findings, useful for remote management tools.

Source code

The scripts and their full documentation are on GitHub.

View on GitHub