Click Ignore to finish install.
Check port conflict:
Code: Select all
netstat -ano | findstr :9182Verify config file syntax if using --config.file (YAML) or collector flags — bad flags in service args cause immediate exit.
Check service binary path/args:
Code: Select all
sc qc windows_exporterCode: Select all
"C:\Program Files\windows_exporter\windows_exporter.exe" --config.file="C:\Program Files\windows_exporter\config.yml"
Ensure install run as Administrator (elevated cmd/powershell), not just admin user without elevation.WMI Performance Adapter (WmiApSrv) is disabled. Enable it:
Code: Select all
sc config wmiapsrv start= demand
sc start wmiapsrv
Code: Select all
sc config windows_exporter depend= wmiapsrv
net start windows_exporter
Code: Select all
sc qc wmiapsrvCode: Select all
http://localhost:9182/metricsCode: Select all
http://<hostname_or_ip>:9182/metrics
Code: Select all
netstat -ano | findstr :9182Code: Select all
netsh advfirewall firewall add rule name="windows_exporter" dir=in action=allow protocol=TCP localport=9182Code: Select all
collectors:
enabled: cpu,logical_disk,net,os,service,system,memory,tcp,textfile,process,diskdrive,thermalzone,time,cpu_info,scheduled_task,pagefile
collector:
service:
include: windows_exporter
log:
level: warn
