You locked the qBittorrent user interface and forgot the password you used? Don't worry, you can recover from this.
-
Exit or kill qBittorrent process.
-
Open the preference file with a text editor.
Windows
%APPDATA%\qBittorrent\qbittorrent.ini
=C:\Users\<username>\AppData\Roaming\qBittorrent\qbittorrent.ini
Linux
~/.config/qBittorrent/qBittorrent.conf
macOS
~/.config/qBittorrent/qbittorrent.ini
-
Remove the following lines:
[Locking] password=<encrypted_password> # this only appear on qBittorrent version < 4.2.0 password_PBKDF2=<encrypted_password> # this only appear on qBittorrent version ≥ 4.2.0 locked=true
-
Save the file
-
Start qBittorrent again
-
Exit or kill qBittorrent process
-
Open a terminal and run the following command:
defaults delete com.qbittorrent.qBittorrent Locking.locked defaults delete com.qbittorrent.qBittorrent Locking.password
-
Start qBittorrent again