Safe to Delete

SetupAPI Driver Installation Log (C:\Windows\INF\setupapi.dev.log)

Quick Answer: setupapi.dev.log records hardware driver installation steps and PnP device setup diagnostics. Deleting it is safe.

Bottom Line: It is 100% safe to delete setupapi.dev.log. It is a text log used for troubleshooting hardware driver installation failures.


What is setupapi.dev.log?

Located at C:\Windows\INF\setupapi.dev.log (and setupapi.offline.log), this log records details whenever USB devices, graphics drivers, or PCI hardware are installed or initialized by Windows Plug and Play (PnP).


Can You Delete setupapi.dev.log?

✅ Yes, safe to delete.

  • Windows automatically appends or creates a new log file when new hardware devices are plugged in.

How to Delete setupapi.dev.log

Command Prompt (Admin)

del /f /q C:\Windows\INF\setupapi.dev.log

Discussion

Loading authentication...

Related in logs

Parsec Remote Desktop Logs & Shader Cache (%AppData%\Parsec\log.txt)

Parsec stores low-latency streaming connection logs and host video decode shaders. Clearing Parsec logs is safe.

Safe to Delete

Tailscale VPN State & Daemon Logs (/var/lib/tailscale)

Tailscale stores daemon socket logs and wireguard connection state. Clearing log files is safe.

Safe to Delete

Riot Vanguard & Valorant Logs (RiotClient Logs)

Riot Vanguard and Valorant store diagnostic anticheat logs. Deleting old log text files is completely safe.

Safe to Delete
Back to all files