Common errors & quick fixes (Windows)
Fast diagnosis guide for typical issues: service startups, port conflicts, reverse proxy, MSI installation, permissions, plugins and login problems.
Quick diagnosis checklist
- Check the Windows service state and Event Viewer.
- Verify the listening port and conflicts.
- Review logs for errors after last action (install/upgrade).
- Confirm firewall and reverse proxy scope.
Service fails to start
Get-Service grafanasc.exe query grafana- Check Event Viewer → Windows Logs → Application/System.
- Ensure the executable and config paths are correct.
- Verify permissions for the service account (if not Local System).
See: Install as Service
Port 3000 in use / cannot bind
netstat -ano | findstr :3000tasklist /FI "PID eq <PID>"- Stop or reconfigure the conflicting process, or change Grafana's port.
- Update Windows Firewall rules after port change.
See: Windows Firewall
404/502 behind reverse proxy (IIS/NGINX)
- Check proxy target (localhost:3000) and headers (Host/X-Forwarded-For/Proto).
- Ensure HTTPS terminates at proxy and open firewall on 443 (Private/Domain).
- Review Grafana configuration for public URL if needed.
MSI installation fails
msiexec /i "C:\\path\\to\\grafana-x64.msi" /L*v "%TEMP%\\grafana_install.log"- Run as Administrator and ensure x64 architecture.
- Inspect the MSI log for error codes.
- Temporarily disable security software if it interferes.
Signature invalid / SmartScreen warning
- Re-download from the official site and verify the digital signature (Publisher: Grafana Labs).
- Corporate proxies/AV may modify downloads; verify checksums and distribution chain.
Can't log in / reset admin password
Reset via environment variable (temporary) or config, then restart the service.
setx GF_SECURITY_ADMIN_PASSWORD "NewStrongPassword123!"Restart-Service grafanaRemove the variable or update config after login to avoid leaving credentials in environment.
Permissions / access denied
- If using a custom service account, grant Log on as a service and file read rights.
- Fix folder permissions for data/logs if needed.
icacls "C:\\Program Files\\GrafanaLabs\\grafana" /grant <DOMAIN\User>:R /TPlugins incompatible after upgrade
- Remove or update the offending plugin and review release notes.
- Rollback to previous version if critical; restore from backup.
Uninstall leaves service entry
sc.exe delete grafanaThen reinstall cleanly if needed.