{"action":"created","issue":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/4498","repository_url":"https://api.github.com/repos/qbittorrent/qBittorrent","labels_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/4498/labels{/name}","comments_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/4498/comments","events_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/4498/events","html_url":"https://github.com/qbittorrent/qBittorrent/issues/4498","id":124757953,"number":4498,"title":"Run qBittorrent as a service, also under the Local Service account","user":{"login":"Spamme1","id":1042861,"avatar_url":"https://avatars0.githubusercontent.com/u/1042861?v=4","gravatar_id":"","url":"https://api.github.com/users/Spamme1","html_url":"https://github.com/Spamme1","followers_url":"https://api.github.com/users/Spamme1/followers","following_url":"https://api.github.com/users/Spamme1/following{/other_user}","gists_url":"https://api.github.com/users/Spamme1/gists{/gist_id}","starred_url":"https://api.github.com/users/Spamme1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spamme1/subscriptions","organizations_url":"https://api.github.com/users/Spamme1/orgs","repos_url":"https://api.github.com/users/Spamme1/repos","events_url":"https://api.github.com/users/Spamme1/events{/privacy}","received_events_url":"https://api.github.com/users/Spamme1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-01-04T13:21:27Z","updated_at":"2018-05-30T06:45:08Z","closed_at":null,"author_association":"NONE","body":"I'm running qBittorrent as a service and it's really great, but it's not really straight forward.\nIt would be nice if qBittorrent would be able to run as a service per se.\n\nInstructions to run qBittorent as a service:\n1. Enable the web UI interface in qBittorrent  and quit it. (required to use qBittorent as a service)\n2. Download NSSM (https://nssm.cc/) and copy it in the program files folder (better than leave it in the download folder)\n3. Create a new service: nssm install qBittorrent\n3. Select the qBittorent path: C:\\Program Files (x86)\\qBittorent\\qBittorent.exe\n4. Change the Log On account to own account (required for qBittorent to find the configuration file)\n5. Start the new qBittorent service: sc start qBittorrent\n\nAdvanced: Use the Local Service account instead of own account\n1. Change the log on account to \"Local Service\" and leave the password fields empty. \n2. Copy the qBittorrent configuration from local profile to \"Local Service\" profile: xcopy %appdata%\\qbittorrent %windir%\\ServiceProfiles\\LocalService\\appdata\\Roaming\n3. Change the torrent download location to a folder, where Local Service has full control, for example: C:\\Windows\\ServiceProfiles\\LocalService\\Downloads (Note: qBittorent can't use environment variables, this doesn't work: %windir%\\ServiceProfiles\\LocalService\\Downloads)\n4. Or grant full control to Local Service on the download folder: icacls %userprofile%\\Downloads /grant \"Local Service\":(OI)(CI)F\n"},"comment":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/comments/393048493","html_url":"https://github.com/qbittorrent/qBittorrent/issues/4498#issuecomment-393048493","issue_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/4498","id":393048493,"user":{"login":"Spamme1","id":1042861,"avatar_url":"https://avatars0.githubusercontent.com/u/1042861?v=4","gravatar_id":"","url":"https://api.github.com/users/Spamme1","html_url":"https://github.com/Spamme1","followers_url":"https://api.github.com/users/Spamme1/followers","following_url":"https://api.github.com/users/Spamme1/following{/other_user}","gists_url":"https://api.github.com/users/Spamme1/gists{/gist_id}","starred_url":"https://api.github.com/users/Spamme1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spamme1/subscriptions","organizations_url":"https://api.github.com/users/Spamme1/orgs","repos_url":"https://api.github.com/users/Spamme1/repos","events_url":"https://api.github.com/users/Spamme1/events{/privacy}","received_events_url":"https://api.github.com/users/Spamme1/received_events","type":"User","site_admin":false},"created_at":"2018-05-30T06:45:08Z","updated_at":"2018-05-30T06:45:08Z","author_association":"NONE","body":"@sbeaudoin I run it since years as a service and it is working, most probably you have missed something in the setup. I would suggest you first to run qbt under your account, if it is working, then try to run it under another account."}}
{"actor":{"display_login":"Spamme1"}}