Enable auto-logout

Comments

22 comments

  • TimThe
    maybe have it as a toggle on your account
    1
  • LonnonjamesD

    Maybe, Just maybe got to User Settings > My Account > Edit > Delete Account

    -18
  • R/wooosh

    welp. time to throw my comment under here since its a duplicate even though I didn't think it matched. doesn't matter now. so. first off. I use a program called telegram for anything I want to keep safe. I would like to have this same type of security in discord. that being said I have a small list of suggestions.
    first off. add some type of auto destruction/remote destruction in case the account gets hacked that way no one else can get in. yes I know things like 2FA exist but for me it isn't enough.

    second of all. I would love an option to require a passcode or an authentication code from your phone or tablet to get back into your account after leaving it for a small time. seeing as I like keeping my convos private and sometimes I don't have my laptop on me I would love an option like this to auto sign the user out of discord making it generally safer for people like me or other people. 

    my third request sorta goes with the other one. but. if available on the phone or computer, require a fingerprint or something to get back in. that would be nice so as to view private convos I could use my fingerprint and bam. I'm in. its simple things like these I do appreciate. that is all for me. also. 
    lonnonjamesD. terrible advice. we both know that discord is the best platform and just needs some small improvements to make it even better!

    3
  • Strela10M4

    I apologize in advance for my English.
    My company is engaged in the opening of gaming clubs and arenas. My visitors often forget to exit the discord before the end of the session. The following visitor launching the program automatically enters the account of the previous one. 2 times this led to unpleasant consequences. Discord is popular with my visitors, but if a similar incident happens again, I will have to block the possibility of launching discord in all clubs.
    Please enable automatic logout. Or tell me how I can perform this operation automatically using the bat or ps1 script, when the session of one client ends or when the session of another client begins.

    4
  • ThatGayGuy318

    yea when you share computers it sucks that people use your account

    please add!

    3
  • Meojifo

    Totally agree with it

    1
  • Modsen

    hey sorry for my English as well.

    But i had the oposit problem, so my discord always loged me out when i was turning off the pc. and to fix that i went inn to 

    settings-->Windows Settings--> and click on start minimized turn it off.

    That is why my discord turned it selvf off every time but when i turend it on agin it havent loged me out.

    hope this helps. if you need mor info contact me in discord NotΔLegend#6170

    0
  • Rumu

    I'm in the same situration as Strela10M4, aka working at a net cafe.

    So I did a bit of digging, and found out where the user data for discord is saved. Head to "C:\Users\%USERNAME%\AppData\Roaming\Discord\Local Storage" and delete the "leveldb" file. This will automatically log you out and remove the login logs.

    I'll talk with our IT guy on monday about writing a script that automatically deletes it upon logout, and I'll share it if I can :3

    1
  • Strela10M4

    Rumu, thank you so much!
    On Monday, I will begin to return discord to computers. A lot of visitors asked, but had to refuse.
    I set the task manager to a task that is executed when any user logs in with the following content
    DEL / Q "C:\Users\%USERNAME%\AppData\Roaming\Discord\Local Storage\leveldb\*"
    checked on a test machine, everything is fine. Thank you again!

    1
  • Rumu

    I’ll steal that code thank you very much ^-^
    I’m glad I could help :3

    0
  • Katsudon♡

    Hi, I am a pc noob, I would like to know how to set the above task in task manager, I have tried to do so but my PC cant find 'DEL'

    0
  • Strela10M4

    Press "WIN"+"R" key. In the window that appears, type "cmd" and press Enter

    Type the following command on the command line:

    SchTasks /Create /TN "Discord AutoLogout" /U SYSTEM /SC ONLOGON /TR "RMDIR /S /Q C:\Users\%USERNAME%\AppData\Roaming\Discord\Local Storage\leveldb"

     

    That's all :) 

     

    2
  • Katsudon♡

    0
  • Katsudon♡

    Help lol.

    0
  • Strela10M4

    You have a typo. Missing space. It is necessary not "AUN-PC/SC" but "AUN-PC /SC"

     

     

    0
  • Katsudon♡

    I'm getting a syntax error now...

     

    0
  • Strela10M4

    The username you entered is not correct. It should be in the format computer_name\username or some of the built-in accounts (for example SYSTEM). I do not know what your computer is called, but it should look like AUN-PC\AUN

    0
  • Katsudon♡

    sorry Im not very good at this

    0
  • Strela10M4

    SchTasks /Create /TN "Discord AutoLogout" /U SYSTEM /SC ONLOGON /TR "RMDIR /S /Q C:\Users\%USERNAME%\AppData\Roaming\Discord\Local Storage\leveldb"

    0
  • Katsudon♡

    yeah, its not working :( I dont even know

    0
  • dilo145

    Hi!

    You most to empty the file "000003.log" in C:\Users\Gmaers\AppData\Roaming\Discord\Local Storage\leveldb but you can't remove it, just empty. But you most do this manipulation every login to auto-logout when you exit discord.

    Bye!

    0
  • FirstVortex

    Ok so i've realised how outdated this is now and the script he uses doesn't work on my PC for some reason so i wrote my own and im making a short tutorial on how to set it up

    If you have any trouble with the tutorial my discord is FirstVortex#1630, just add me and i'll help you

     

    first go to any folder on your PC, im going to use my documents folder

    right click and click New > text document

    Make sure to go to view and check file name extensions

    Paste in this command 

    cd %appdata%\discord\Local Storage
    RMDIR /S /Q leveldb

    Then save and rename the folder to "Discord Auto Logoff.bat" and click yes

    Then hold Windows + R to open a run box and paste in 

    Taskschd.msc

    Then press enter

    When on task scheduler at the top click on action >create basic task

    Name it discord auto logoff and then press next

    Then tick when the computer starts and press next

    Then tick start a program and press next 

    The click Browse and find your program

    Double click on your program then click next

    And then your end product should look something like this

    And your done, just press finish and everytime you turn on your PC, your discord will logout.

    If you want to stop discord from auto logging out simply delete the task in task scheduler

    1

Please sign in to leave a comment.