Tutorial  Updated

How-To Start Discord Minimized

Because of the way that Discord was built, the only time you can minimize it is when the actual chat form opens. The beginning update splash page is not part of the main form, so we need to wait for the main chat form. Also you can't give the chat form the command to minimize as it doesn't use the standard winform code. So we give it the taskkill command which Discord intercepts and minimizes to system tray instead of closing.

1) Right click on the Discord system tray icon and uncheck the start when windows starts option.

2) Make a .bat file with the following content:

Code:
@Echo off
start /wait %LOCALAPPDATA%\Discord\Update.exe --processStart Discord.exe

@For /f "Delims=:" %%A in ('tasklist /v /fi "WINDOWTITLE eq Discord"') do @if %%A==INFO echo Prog not running

timeout 10

taskkill /IM discord.exe

3) Put the .bat file in your "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup" folder.

Now Discord will minimize after 10 seconds after it starts up. You can shrink the time by altering the "timeout" function.

If you want an already made batch file visit https://newagesoldier.com/how-to-minimize-discord-on-startup/
 
Last edited by Erfg1,
  • Like
Reactions: Tumoche and spkuja

nueetxgbzzt

New Member
Newbie
Joined
Jun 22, 2021
Messages
1
Trophies
0
Age
24
XP
33
Country
Bahamas, The
Thanks for this! It really bugs me that discord starts as a full window.

Here's what I use.

Code:
@Echo off
start /wait %LOCALAPPDATA%\Discord\Update.exe --processStart Discord.exe

@For /f "Delims=:" %%A in ('tasklist /v /fi "WINDOWTITLE eq Discord"') do @if %%A==INFO echo Prog not running

timeout 1
taskkill /IM discord.exe
timeout 1
taskkill /IM discord.exe
timeout 1
taskkill /IM discord.exe


Because Discord lauches fast on my SSD, there's no reason to wait 10 secs. So this tries to close it as soon as possible.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol
  • BakerMan @ BakerMan:
    Guys, I just learned my little brother is in the hospital because he had a seizure last night.
  • cearp @ cearp:
    Sorry to hear that BakerMan
    +2
  • BakerMan @ BakerMan:
    Just found out he's doing alright, doing a lot of complaining too, rightfully so. Who wouldn't complain after having a seizure and being hospitalized?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Glad he is OK and complaining is cool :)
    +1
  • K3Nv2 @ K3Nv2:
    Yeah been there had that no fun
    +1
  • K3Nv2 @ K3Nv2:
    They'll give him sleep studies eegs and possibly one week hospital stay
    +1
  • BakerMan @ BakerMan:
    I hope it's not a week.
  • K3Nv2 @ K3Nv2:
    It's standard so doctors can get a idea about what's going on
  • BakerMan @ BakerMan:
    understood
  • BakerMan @ BakerMan:
    well, i'm glad he seems to be doing fine, and ig i'm going to start spewing goofy shit again
  • BakerMan @ BakerMan:
    Update: Turns out he's epileptic
  • K3Nv2 @ K3Nv2:
    Get a 2nd opinion run mris etc they told me that also
  • Psionic Roshambo @ Psionic Roshambo:
    Also a food allergy study would be a good idea
  • K3Nv2 @ K3Nv2:
    Turns out you can't sprinkle methamphetamine on McDonald's French fries
    +1
  • ZeroT21 @ ZeroT21:
    they wouldn't be called french fries at that point
    +1
  • ZeroT21 @ ZeroT21:
    Probably just meth fries
    +1
  • K3Nv2 @ K3Nv2:
    White fries hold up
    +1
  • The Real Jdbye @ The Real Jdbye:
    @K3Nv2 sure you can
  • BakerMan @ BakerMan:
    why tf do people hate android users? is it the video quality? just because "AnDrOiD = pOoR" bc they don't cost an arm and a leg like iphones do?
    +1
  • BakerMan @ BakerMan:
    i won't be turned off by an iphone, but don't pick on me for having an android, that's just how this shit should work
  • ZeroT21 @ ZeroT21:
    Should say more what these kind of android users say bout nokia 3310 users
  • BigOnYa @ BigOnYa:
    I've owned both iPhone and Androids over the years. Both are just as good, other than Apples higher price. I'm currently on Android, Samsung S21 I think, and very happy with it.
    BigOnYa @ BigOnYa: I've owned both iPhone and Androids over the years. Both are just as good, other than Apples...