From acdd70786e2601385e44ba52146800f923e3b272 Mon Sep 17 00:00:00 2001 From: Mike Tzou Date: Thu, 5 May 2016 00:01:02 +0800 Subject: [PATCH] Updated I forgot my UI lock password (markdown) --- I-forgot-my-GUI-lock-password.md | 38 ++++++++++++++++++++++++++++++++ I-forgot-my-UI-lock-password.md | 35 ----------------------------- 2 files changed, 38 insertions(+), 35 deletions(-) create mode 100644 I-forgot-my-GUI-lock-password.md delete mode 100644 I-forgot-my-UI-lock-password.md diff --git a/I-forgot-my-GUI-lock-password.md b/I-forgot-my-GUI-lock-password.md new file mode 100644 index 0000000..5b06473 --- /dev/null +++ b/I-forgot-my-GUI-lock-password.md @@ -0,0 +1,38 @@ +You locked the qBittorrent user interface and forgot the password you used? +Don't worry, you can recover from this. + +## Windows +1. Kill qBittorrent process +2. Open `qbittorrent.ini` with a text editor, refer to [here](https://github.com/qbittorrent/qBittorrent/wiki/Frequently-Asked-Questions#Where_does_qBittorrent_save_its_settings) to see where it's located. +3. Remove the following lines: + + ```ini +[Locking] +password= +locked=true +``` +4. Save the file +5. Start qBittorrent again + +## Linux +1. Kill qBittorrent process +2. Open `qBittorrent.conf` with a text editor, refer to [here](https://github.com/qbittorrent/qBittorrent/wiki/Frequently-Asked-Questions#Where_does_qBittorrent_save_its_settings) to see where it's located. +3. Remove the following lines: + + ```ini +[Locking] +password= +locked=true +``` +4. Save the file +5. Start qBittorrent again + +## Mac OS X +* Kill qBittorrent +* Open a terminal and run the following command: + + ```shell +defaults delete com.qbittorrent.qBittorrent Locking.locked +defaults delete com.qbittorrent.qBittorrent Locking.password +``` +* Start qBittorrent again diff --git a/I-forgot-my-UI-lock-password.md b/I-forgot-my-UI-lock-password.md deleted file mode 100644 index 5cc7e6b..0000000 --- a/I-forgot-my-UI-lock-password.md +++ /dev/null @@ -1,35 +0,0 @@ -You locked the qBittorrent user interface and forgot the password you used? -Don't worry, you can recover from this. - -## Windows -* Kill qBittorrent -* Look for **qbittorrent.ini** file on your hard disk. It is usually located under _C:\Documents and Settings\USERNAME\Application Data\qBittorrent_ or _C:\Users\USERNAME\AppData\qBittorrent_ -* Remove the following lines: -```c++ -[Locking] -password= -locked=true -``` -* Save the file -* Start qBittorrent again - -## Linux -* Kill qBittorrent -* Edit _~/.config/qBittorrent/qBittorrent.conf_ -* Remove the following lines (note they might be anywhere in the file, not necessarily adjacent): -``` -WebUI\Password_ha1=@ByteArray(####################) -WebUI\Username=admin -``` -* Save the file -* Start qBittorrent again - -## Mac OS X -* Kill qBittorrent -* Open a terminal and run the following command: -```shell -defaults delete com.qbittorrent.qBittorrent Locking.locked; defaults delete com.qbittorrent.qBittorrent Locking.password -``` -* Start qBittorrent again - -The user interface should not be locked anymore. Next time you lock it, it will ask you to choose a password again. \ No newline at end of file