All-in-one Windows laptop diagnostic tool β Run from a flash drive, no installation required.
Laptop Inspector is a single-file, portable Windows diagnostic tool that performs a comprehensive hardware and software audit of any laptop. Just double-click LaptopInspector.bat on any Windows machine and get a full inspection report in seconds.
Perfect for:
- π Buying a used laptop β verify specs before you pay
- π§ IT technicians β quickly audit machines in the field
- π Fleet management β track laptop health over time with CSV history
- π« Schools & offices β inspect donated or returned equipment
- CPU model, cores, and threads
- RAM capacity
- GPU and driver version
- Display resolution and refresh rate
- Manufacturer, model, and serial number
- Current charge level
- Battery chemistry (Li-ion, LiPo, etc.)
- Design vs. full charge capacity
- Wear level percentage
- Cycle count
- Power plan detection
- Physical disk detection (SSD/HDD)
- S.M.A.R.T. status monitoring
- Per-drive capacity and free space
- Usage percentage alerts
- Windows activation status
- Antivirus (Defender) status
- Firewall profile detection
- BitLocker encryption status
- TPM version check
- OS build and install date
- Wi-Fi adapter and signal strength
- Ethernet adapter detection
- Internet connectivity test with latency
- Webcam detection
- Bluetooth adapter
- Audio devices
- USB device enumeration
- Running process count
- Top 5 RAM consumers
- Startup program audit
- Critical system events (last 48 hours)
| Format | Description |
|---|---|
| TXT | Full text report for archival |
| CSV | Append-only history for tracking multiple inspections |
| HTML | Beautiful, styled report that opens in any browser |
Each check is weighted by importance:
| Weight | Checks |
|---|---|
| x3 | Disk S.M.A.R.T. status |
| x2 | CPU match, RAM, Battery level, Battery wear, Windows activation, System errors |
| x1 | GPU, Resolution, Wi-Fi, Internet, Antivirus, Firewall, TPM, Webcam, Bluetooth, Audio, Storage capacity |
Final Result:
- π’ PASS β Score β₯ 80%
- π‘ WARNING β Score 60β79%
- π΄ FAIL β Score < 60%
- Copy
LaptopInspector.batto any USB flash drive - Plug the USB into the target laptop
- Double-click
LaptopInspector.bat - Click START SCAN in the GUI
- Reports are saved to a
Reports/folder next to the script
- Download
LaptopInspector.bat - Right-click β Run as Administrator (recommended for full access)
- Click START SCAN
# Quick scan (skips slow checks like event log scanning)
powershell -ExecutionPolicy Bypass -File LaptopInspector.bat -Quick
# Full scan (default)
powershell -ExecutionPolicy Bypass -File LaptopInspector.bat -FullNote: The script auto-elevates via PowerShell. Some checks (temperature, BitLocker, TPM) require Administrator privileges for full results.
The tool features a modern dark-themed GUI built with WPF:
- Left panel β System dashboard with key specs at a glance
- Right panel β Real-time scrolling log with color-coded output
- Progress bar β Tracks scan completion (10 phases)
- Score display β Large result score with color coding
- Report button β One-click access to the HTML report
LaptopInspector/
βββ LaptopInspector.bat # The main script (self-contained)
βββ README.md # This file
βββ LICENSE # MIT License
βββ .gitignore # Ignores generated reports
βββ Reports/ # Auto-created on first run
βββ report_YYYY-MM-DD_HH-mm-ss.txt
βββ report_YYYY-MM-DD_HH-mm-ss.html
βββ history.csv
Edit the $expected block at the top of the script to set your own target specs:
$expected = @{
CPU = "i7" # CPU must contain this string
RAM = 8 # Minimum RAM in GB
GPU = "Intel" # GPU must contain this string
BATTERY = 40 # Minimum battery percentage
STORAGE_MIN_GB = 200 # Minimum total storage in GB
RESOLUTION_MIN_WIDTH = 1920 # Minimum horizontal resolution
}| Requirement | Details |
|---|---|
| OS | Windows 10 / 11 |
| PowerShell | 5.1+ (pre-installed on Windows 10+) |
| Privileges | Standard user (Admin recommended for full results) |
| Dependencies | None β fully self-contained |
| Disk Space | ~53 KB (single file) |
Contributions are welcome! Here are some ideas:
- Add BIOS/UEFI version detection
- Add RAM slot details (speed, type, slots used)
- Add display panel info (IPS/TN, color depth)
- Add keyboard backlight detection
- Add Thunderbolt/USB-C port detection
- Export reports as PDF
- Multi-language support
- Fork this repository
- Create a feature branch (
git checkout -b feature/add-bios-check) - Commit your changes (
git commit -m 'Add BIOS version detection') - Push to the branch (
git push origin feature/add-bios-check) - Open a Pull Request
This project is licensed under the MIT License β see the LICENSE file for details.
If this tool helped you, please give it a β β it helps others find it!
Laptop Inspector β Built with β€οΈ for the IT community