A follow up to make life easier…
Put the two command lines I mentioned in shortcuts to quickly enable / disable Spotify…
In the target dialog, enter the command: ‘C:\Windows\System32\netsh.exe advfirewall firewall set rule name=”spotify outbound” new enable=no’ and give it a name like Spotify OnLine.
Repeat the operation for enabling the firewall rule, ‘C:\Windows\System32\netsh.exe advfirewall firewall set rule name=”spotify outbound” new enable=yes’ and name it Spotify Offline (or whatever you’d like)
Now, right click the shortcut and select properties (or select end press Alt+Enter).
If you press “Start” and right-click the “All programs” and select “open” you can paste the shortcuts into your start menu for easier access.
Your shortcut will now do what you think it will