USBDeview Configuration File Location
USBDeview automatically saves your view settings and view preferences in a configuration file. Since version 1.12, USBDeview stopped using the Windows Registry for configuration and switched to using a file-based configuration system[4].
Configuration File Details
The configuration file is named USBDeview.cfg and is stored in the same location as the USBDeview.exe executable[4]. Since USBDeview is a portable application that doesn't require installation, the configuration file maintains this portability by staying with the executable file[5].
This means:
- If you copied USBDeview.exe to C:\Tools, the configuration file would be at C:\Tools\USBDeview.cfg
- If you move the executable to another location, the configuration file stays with it (or a new one is created)
Configuring Custom Configuration Locations
If you want to specify a different location for the configuration file, you can use the /cfg command-line parameter[4]:
USBDeview.exe /cfg "c:\config\udv.cfg"
Or you can specify to use a configuration in the user profile:
USBDeview.exe /cfg "%AppData%\USBDeview.cfg"
All your view preferences, including which columns are displayed, their order, sort preferences, and options like "Show Disconnected Devices" are automatically saved to this configuration file when you exit the program and will be restored the next time you run USBDeview[4].