This works as of January 2022, in Windows 7, originally instructions for Windows 10, from a third party.
Open Admin Command Prompt and type these commands one by one:
rm %localappdata%\Spotify\Update
( Change rm to del in Windows 7, or delete manually )
mkdir %localappdata%\Spotify\Update
icacls %localappdata%\Spotify\Update /deny "%username%":D
icacls %localappdata%\Spotify\Update /deny "%username%":R
Description of given commands:
- Removes directory C:\Users<your username>\AppData\Spotify\Update
- Creates directory C:\Users<your username>\Appdata\Spotify\Update
- Denies delete permission to your account for C:\Users<your username>\Appdata\Spotify\Update requiring administrative prompt for delete privileges, preventing spotify from removing it without admin
- Denies read permission to your account for C:\Users<your username>\Appdata\Spotify\Update requiring administrative prompt for read privileges, preventing spotify from placing the update program in it without admin
To undo it's icacls %localappdata%\Spotify\Update /reset /T