Running Spotify in OffLine mode on a desktop computer

Spotify has finally (I’m just late with the blog 🙂 ) released the offline mode for the desktop, only problem is that there is no button that says “Go offline now”.

Evidently Spotify is using it’s own ports for authenticating (TCP 4070). If connection fails it will then try 443 (https) or 80 (http) so its no use trying to block ports. The simple block program in windows firewall doesn’t entirely block it either…

Do not fear – if you open the “Windows Firewall with Advanced Security”, click on outbound and select “New Rule”.

image

Then block “spotify.exe”…

imageSelect “Program” on first list.
On the next page, browse for “spotify.exe” and click next.

Then make sure to select “Block the connection” from the options and click next.

Give your new firewall rule a name, like “Spotify Outbound” (or whatever you like).

image

… and voilá!

You now have a new rule in the Firewalls Outbound section

imageimage

– and Spotify will loose its connection.

 

 

Now you can enable and disable the Outbound rule whenever you want to disconnect Spotify. To make it a bit easier, you can use a command line utility “netsh” to do this for you. To block Spotify, enable the rule:

‘netsh advfirewall firewall set rule name=”Spotify Outbound” new enable=no’

To unblock, just disable the rule:

‘netsh advfirewall firewall set rule name=”Spotify Outbound” new enable=no’

(You must run cmd as Administrator/with elevated rights to configure the firewall)

Works for me!

Advertisements

About skattefuten

Check my about page :-)
This entry was posted in Computers and Internet, Spotify, Windows Firewall and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s