Untitled

Anonymous
Plain Text
11/08/2026 11:28 AM
5.1 KB
9
Indexable
Never
@echo off
setlocal EnableExtensions
title Windows 8 Full System Diagnostics

net session >nul 2>&1
if not "%errorlevel%"=="0" (
    echo Run this script as Administrator.
    pause
    exit /b 1
)

set "OUT=%USERPROFILE%\Desktop\Win8_Diagnostic_Report.txt"
if not exist "%USERPROFILE%\Desktop\" set "OUT=%TEMP%\Win8_Diagnostic_Report.txt"

echo Collecting diagnostics...
echo This may take several minutes.

> "%OUT%" echo WINDOWS 8 FULL DIAGNOSTIC REPORT
>> "%OUT%" echo Generated: %DATE% %TIME%
>> "%OUT%" echo.

>> "%OUT%" echo ========== SYSTEM INFORMATION ==========
systeminfo >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== CPU AND MEMORY ==========
wmic cpu get Name,NumberOfCores,LoadPercentage /format:list >> "%OUT%" 2>&1
wmic computersystem get TotalPhysicalMemory /format:list >> "%OUT%" 2>&1
wmic OS get FreePhysicalMemory,TotalVisibleMemorySize,SizeStoredInPagingFiles /format:list >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== DISK HARDWARE ==========
wmic diskdrive get Model,Size,Status,InterfaceType,MediaType /format:list >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== DISK SPACE ==========
wmic logicaldisk get DeviceID,FileSystem,FreeSpace,Size,VolumeName >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== DISK PERFORMANCE ==========
typeperf "\PhysicalDisk(_Total)\%% Disk Time" "\PhysicalDisk(_Total)\Disk Bytes/sec" "\PhysicalDisk(_Total)\Avg. Disk Queue Length" -sc 5 >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== PROCESS LIST ==========
tasklist /v >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== PROCESS RESOURCE USAGE ==========
powershell -NoProfile -Command "Get-Process | Sort-Object CPU -Descending | Select-Object -First 60 ProcessName,Id,CPU,WorkingSet64,PrivateMemorySize64,IOReadBytes,IOWriteBytes | Format-Table -AutoSize | Out-String -Width 220" >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== PROCESS DISK I/O SAMPLE ==========
powershell -NoProfile -Command "Get-CimInstance Win32_PerfFormattedData_PerfProc_Process | Sort-Object IODataBytesPersec -Descending | Select-Object -First 40 Name,IDProcess,IOReadBytesPersec,IOWriteBytesPersec,IODataBytesPersec | Format-Table -AutoSize | Out-String -Width 220" >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== RUNNING SERVICES ==========
sc queryex type= service state= all >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== SERVICE STARTUP CONFIGURATION ==========
wmic service get Name,DisplayName,State,StartMode,ProcessId /format:csv >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== STARTUP PROGRAMS ==========
wmic startup get Name,Command,Location >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== INSTALLED SOFTWARE ==========
powershell -NoProfile -Command "$p=@('HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*','HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'); Get-ItemProperty $p -ErrorAction SilentlyContinue | Where-Object DisplayName | Sort-Object DisplayName | Select-Object DisplayName,DisplayVersion,Publisher | Format-Table -AutoSize | Out-String -Width 220" >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== ANTIVIRUS PRODUCTS ==========
powershell -NoProfile -Command "Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct -ErrorAction SilentlyContinue | Select-Object displayName,productState | Format-List" >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== MCAFEE NORTON IOBIT PROCESSES ==========
tasklist /v | findstr /i "mcafee norton iobit avast avg symantec malwarefighter advancedSystemCare" >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== RECENT SYSTEM ERRORS ==========
powershell -NoProfile -Command "Get-EventLog -LogName System -EntryType Error,Warning -Newest 70 -ErrorAction SilentlyContinue | Select-Object TimeGenerated,Source,EventID,Message | Format-List | Out-String -Width 220" >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== RECENT APPLICATION ERRORS ==========
powershell -NoProfile -Command "Get-EventLog -LogName Application -EntryType Error -Newest 35 -ErrorAction SilentlyContinue | Select-Object TimeGenerated,Source,EventID,Message | Format-List | Out-String -Width 220" >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== PAGE FILE ==========
wmic pagefileusage get Name,AllocatedBaseSize,CurrentUsage,PeakUsage >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== POWER CONFIGURATION ==========
powercfg /getactivescheme >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== WINDOWS UPDATE SERVICE ==========
sc qc wuauserv >> "%OUT%" 2>&1
sc query wuauserv >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== SUPERFETCH SERVICE ==========
sc qc SysMain >> "%OUT%" 2>&1
sc query SysMain >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== WINDOWS SEARCH SERVICE ==========
sc qc WSearch >> "%OUT%" 2>&1
sc query WSearch >> "%OUT%" 2>&1

>> "%OUT%" echo.
>> "%OUT%" echo ========== DIAGNOSTIC COMPLETE ==========

echo.
echo Diagnostics completed.
echo Report saved to:
echo %OUT%
echo.
echo Review the report for personal information before sharing.
echo Upload the TXT report to ChatGPT for analysis.
pause
Editor is loading...
Leave a Comment