The Diagnostic Tool is a comprehensive utility designed to assess the condition of used laptops before purchase. It performs a series of diagnostic checks to evaluate hardware, software, and security features, providing potential buyers with a detailed report on the laptop's status. Obviously it can be even used to just check info about your PC.
- BIOS Checks: Verifies BIOS vendor, version, serial number, TPM presence, and secure boot status.
- Hardware Checks: Assesses CPU, RAM, and GPU specifications, including stress testing for CPU overheating.
- Storage Checks: Enumerates physical disks, classifies storage types, checks partition schemes, and evaluates SMART status.
- Corporate Locks Checks: Detects Azure AD join status, BitLocker encryption, and presence of work/school accounts.
- Windows Checks: Evaluates system ownership, activation status, and device manager status.
laptop-diagnostic-tool
├── src
│ ├── main.py
│ ├── constants.py
│ ├── models
│ │ └── result.py
│ ├── utils
│ │ └── command_executor.py
│ ├── diagnostics
│ │ ├── __init__.py
│ │ ├── bios_checks.py
│ │ ├── hardware_checks.py
│ │ ├── storage_checks.py
│ │ ├── corporate_locks_checks.py
│ │ └── windows_checks.py
│ └── summary.py
├── requirements.txt
├── README.md
└── .gitignore
- Clone the repository:
git clone https://github.com/UnknownDraven/Diagnosis-tool.git - Navigate to the project directory:
cd Diagosis-tool - Install the required dependencies:
pip install -r requirements.txt
To run the diagnostic tool, execute the following command:
python src/main.py
You can use the --quick option to skip stress tests and the --json-only option to output results in JSON format only.
Contributions are welcome! Please submit a pull request or open an issue for any enhancements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.