Post

How to prevent Spotify from updating automatically

How to prevent Spotify from updating automatically

Why?

If we installed Spotify via Scoop, its automatic updates could cause the program to crash. Therefore, we need to take measures to prevent the Spotify from updating automatically.

Method

  1. open Windows powershell (need admin priviledge)
  2. hit commands as follows:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    
    # remove the `Update` directory in `appdata/local/spotify`
    del %localappdata%\Spotify\Update
    
    # recreate `Update` directory 
    mkdir %localappdata%\Spotify\Update
    
    # `icacls`: a command used to modify file and folder permissions
    # D(delete), R(read)
    icacls %localappdata%\Spotify\Update /deny "%username%":D
    
    icacls %localappdata%\Spotify\Update /deny "%username%":R
    
This post is licensed under CC BY 4.0 by the author.