If you’re like me and like toWritten on November 8, 2024 by ΞVΞ🦋
Categories: Blog
Tags: instagram

If you're like me and like to just hit your PC power button and logon to a nice, clean, unbusy desktop like the good ol' days, then this tutorial is for you. Over time, some software developers (this is Windows. I will never call them "apps") got it into their heads that they wanted to take the "personal" out of our personal computers, and make everyone have their obnoxious program glaring in our faces from the start. Spotify is one of them, but follow these steps and it will no more.
First, download and install Spotify.
Next, open Spotify, click your profile pic on the top right > Settings > Startup and window behavior
Beside "Open Spotify automatically after you log into the computer" it should be already set to "Minimized. If so, leave it there. If not, then change it to it.
Beside "Close button should minimize the Spotify window", toggle it to "on"
Close Spotify using the "X" button on the top right
Next, open Notepad (or whatever text editor you use) and copy and paste in the below code:
@echo offpowershell -Command "Get-Process spotify | Where-Object {$_.MainWindowTitle -ne ''} | ForEach-Object { $_.CloseMainWindow() }"
Click File, Save As, and click the the "Save as type" box at the bottom of the window and select "All Files (.)
In the File name box, type in CloseSpotify.bat and click Save. Sidenote: Be sure you save the file somewhere you won't accidentally delete it
Next, open Windows Task Scheduler by pressing Windows+R and in the field type in taskschd.msc
Press Enter or click OK
Windows Task Scheduler will open
On the far right side, under Actions, click "Create Basic Task"
In the Name field, type in "Close Spotify". You can leave Description blank. Click Next
For "When you do want the task to start", select "When I log on". Click Next
For "What action do you want the task to perform?", select "Start a program". Click Next
For "Program/script", click the Browse button and navigate to wheverever you saved the CloseSpotify.bat file. Select it and click Open.
#spotify #systemtray #Tech #tutorial #windows


