Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Please see below the most popular frequently asked questions.
Loading article...
Loading faqs...
Please see below the current ongoing issues which are under investigation.
Loading issue...
Loading ongoing issues...
There have been dozens upon dozens of posts relating to the dreaded 'error code 17' and equally dozens of proposed solutions.
One that stands out is written by one of Spotify's own, Peter, titled '[Tutorial][Windows] How to Fix Error 17 (Installer)'.
It's a great write up, but I hope I'm not the only one that thinks rebooting into Safe Mode to install an application is kinda ridiculous. But hey, if it works, it works.
Note: Under normal circumstances, it is not recommended to install/uninstall applications from Safe Mode. One of the biggest reasons is because the Windows Installer Service (MSIService) isn't running and it takes a little work to get it started.
Like others, I've run into this problem and wanted to do my part by adding some hopefully helpful information.
Standard Disclaimer:
Neither I nor Spotify will take or otherwise accept responsibility if you break something on the computer you're doing this on.
Use and proceed at your own risk.
So if you've run into any of these errors, please read on.
(images courtesy of me)
(image courtesy of Google and Spotify!)
IN SHORT
On the surface, it seems that both Error 17 and Error 53 appear to be caused by the same root problem, and moving the Spotify directory in %AppData% to someplace else like
Should resolve both errors for you. Should.
You can accomplish by pasting the command in the gray box below into the Start > Run box accessible via the Windows logo key+R:
32-bit Windows users can use this one liner:
cmd /k move "%AppData%\Spotify" "%ProgramFiles%"
64-bit Windows users should use this one liner instead:
cmd /k move "%AppData%\Spotify" "%ProgramFiles(x86)%"
After executing the command above, check the command (cmd) prompt window (the black window that shows up) for any errors or warnings. If everything looks good, close the window.
NOTICE: IF you have User Account Control (UAC) enabled, (WHICH IS ENABLED BY DEFAULT ON WINDOWS VISTA AND HIGHER) the process WILL FAIL. You will need to do one of the following:
If this is something people need help with, I'll document that process and update the post
Detailed screenshots of these steps are further down.
SPOTIFY OFFLINE INSTALLER DOWNLOAD LINKS
As of 8/25/15, the following links work and provide what appears to be the most recent version of the Windows Spotify Offline Installer:
These links also work but provide slightly older versions:
Mac users don't run into this problem, but in the event a Mac user is looking for an offline installer, the only offline installer I'm aware of is: http://download.spotify.com/Spotify.dmg
Please note: Spotify may change or remove these links at any time, and its possible there may be a delay between when Spotify updates the offline installer after updating the web/online installer.
IN LONG: Technical Deep-Dive Explanation
For whatever reason, Spotify is a little heavy handed in that it doesn't prompt for an installation location (e.g.: C:\Program Files) and by default plants itself in "%AppData%\Spotify".
Note: Arguably it would be more efficient if it were installed in a location that's available to all users of the system (e.g.: C:\Program Files). Fortunately though Spotify is fairly lightweight, weighing in at about 80MB on a fresh install, so its not massive amounts of 'wasted space'. But that's neither here nor there.
My environment is fairly locked down which breaks a lot of things. We have a policy that prevents the execution of various file types (*.exe, *.com, *.bat, *.cmd etc.) in locations where applications tend to not be. One such location is of course %AppData% which is problematic because, well, people can't run Spotify anymore! (Hence why being able to choose the installation path would be handy!)
Fortunately since I'm the one responsible for locking things down, I know what's changed, which gives me a very good idea of where to look when something breaks. Of course, it also means I know how to circumvent some policies too. Call it a fringe benefit.
In this environment we've seen three specific errors as it pertains to installing and/or running Spotify:
ERROR CODE 53
We tend to see this error when a user downloads & runs 'SpotifySetup.exe' which is the Spotify installer that's presented by default when you visit https://www.spotify.com/us/download/windows/
The user downloads the web installer file (SpotifySetup.exe) and runs it.
The web installer file begins downloading the core installer file (SpWebInst0.exe) and saves it to %AppData%\Spotify
Once the core installer file has been downloaded, SpotifySetup.exe tries to run the core install file but fails miserably with: "The installer encountered an unknown error. (Error code: 53)
The web installer then deletes %AppData%\Spotify (and thus everything in it)
ERROR CODE 17
This error is typically seen when a user has downloaded & run the full offline installer.
The user downloads the full offline install file and runs it
It begins the installation, and at the end fails miserably with: "Spotify could not be started. (Error code: 17)
Its important to note that in all the situations I've seen, Spotify has been successfully installed.
However, since the installer is unable to launch Spotify at the end of the install, it throws this error.
THIS PROGRAM IS BLOKED BY GROUP POLICY. FOR MORE INFORMATION CONTACT YOUR SYSTEM ADMINISTRATOR.
This error is caued by a Group Policy we've enforced which, as I mentioned above, prevents file types from being executed from specific locations. So with Spotify volunforcing us to install to %AppData%, its also committing application suicide.
Workaround / Solution?
The number one solution is for Spotify to allow us the option to change the installation path; just like every other application out there since time immemorial. (Pretty please Spotify!)
Another potential reason this is failing is due to problems within the %AppData% directory. As far as I know, the group policy we have in place is the only thing that causes these errors. So while I haven't extensively tested what could potentially cause this problem, I have not been able to reproduce it without this policy in place, which gives credence to the idea that its a permission/execution issue.
But other potential causes include, but certainly aren't limited to
IF SPOTIFY IS NOT INSTALLED AND YOU'RE GETTING THE CODE 53 ERROR
When the web installer fails to complete the install, it deletes the core install file SpWebInst0.exe and the Spotify directory in %AppData%. This happens so quickly that there's really no way to use whatever has already been downloaded in an attempt to Spotify manually.
Unfortunately, due to the way the web installer works you'll have to use the full offline installer so...
IF SPOTIFY IS ALREADY INSTALLED AND YOU'RE GETTING THE CODE 17 ERROR OR THE GROUP POLICY ERROR
To get around these errors we have to move the %AppData%\Spotify directory someplace else, like "C:\Program Files", or for those running 64-bit Windows, "C:\Program Files (x86)".
This is super easy, takes very little time and gets you back to your tunes quickly.
So very brief high-level instructions for Windows 7 people on how to do this:
A little note about the various Windows editions:
If you're not interested in doing steps 3 through 12, I offer you one line of code that does the bulk of the heavy lifting.
You still need to do steps 13 through 15 but its less work.
32-bit Windows users can use this one liner:
cmd /k move "%AppData%\Spotify" "%ProgramFiles%"
64-bit Windows users should use this one liner instead:
cmd /k move "%AppData%\Spotify" "%ProgramFiles(x86)%"
After executing the command above, check the command (cmd) prompt window (the black window that shows up) for any errors or warnings. If everything looks good, close the window.
NOTICE: IF you have User Account Control (UAC) enabled, (WHICH IS ENABLED BY DEFAULT ON WINDOWS VISTA AND HIGHER) the process WILL FAIL. You will need to do one of the following:
If this is something people need help with, I'll document that process and update the post
You can run this code via Start > Run:
32-bit Windows:
64-bit Windows:
Or via a command window
You can also run it from the Start Menu Search box like so (this is an example for a 32-bit Windows installation):
To be sure it runs successfully, use CTRL+SHIFT+ENTER to execute the installer.
While I hope what I've shared here solves your issues, if it doesn't, I at least hope it gets you closer to the root cause so we (the community) can help you find a solution.
Also note to Spotify:
I'm joking around a bit here trying to keep it light despite potential Spotify-user frustration. Not trying to poke a bear.
I quite enjoy the music, the app is pretty slick and the community forums are neat. So all that to say: Great job!
But seriously, you should really consider maybe changing this up a bit:
If this post was helpful, please add kudos below!
Solved! Go to Solution.
PrillDub: Thanks for bringing this to my attention!
I've updated the documentation on the front page.
All you have to do is add "cmd /k" (without quotes) infront of the move command.
So it would look like this on your 64-bit Windows installation:
Again, apologies for the mix up and I hope this helps get you rocking out again.
If this post was helpful, please add kudos below!
Peter
Spotify Community Mentor and Troubleshooter
Spotify Last.FM Twitter LinkedIn Meet Peter Rock Star Jam 2014
If this post was helpful, please add kudos below!
FOR THE MORE TECH SAVVY INDIVIDUAL(S)
In addition to the group policy we have in place that prevents things from running within %appdata%, we recently made some changes to our network that required forcing Spotify through a proxy. This not only would have created issues for our users overnight, it woudl have then created problems for our laptop users out of the office:
I created a small vbscript that not only moves Spotify out of %appdata% but also sets or unsets the proxy then launches Spotify.
We replaced the Spotify shortcut with our own, so instead of a shortcut linking to C:\Whatever\Spotify.exe, we created a shortcut to C:\whatever\SpotifyScript.vbs.
The idea behing the script is that when the user is in the office, they'll be able to access a network share, and when they're not, they won't. So, the script does a real simple check for \\server\share and:
Fortunately the proxy settings are stored in a small text file which made this really easy. (Thanks Spotify!)
In the script, simply update the fake proxy (1.1.1.1:8080) with your proxy address and port and verify your proxy type (network.proxy.addr):
Also, for those that don't know:
Extra Credit
No real error trapping here. If something bombs, it could be ugly!
If your proxy requires a username and/or password you'll need to update the script add these lines in there.
BEWARE: The password is *NOT* encrypted, scrambled or otherwise obfuscated. (Spotify: Room for improvement here; even if it is just ROT13 🙂
option explicit dim gwshShell : Set gwshShell = CreateObject("WScript.Shell") Dim goFSO : Set goFSO = CreateObject("Scripting.FileSystemObject") ' spotify can live in a few places.... dim arrSpotifyPaths : arrSpotifyPaths = Array("%appdata%","%programfiles%","%programfiles(x86)%") Dim sPath For each sPath in arrSpotifyPaths 'wscript.echo gwshShell.ExpandEnvironmentStrings(sPath) if goFSO.FileExists(gwshShell.ExpandEnvironmentStrings(sPath) & "\Spotify\spotify.exe") then Dim sSpotifyPath : sSpotifyPath = gwshShell.ExpandEnvironmentStrings(sPath) & "\Spotify\spotify.exe" Dim sSpotifyPrefs : sSpotifyPrefs = gwshShell.ExpandEnvironmentStrings(sPath) & "\Spotify\prefs" 'wscript.echo "Found Spotify in '" & sPath & "': '" & sSpotifyPath & "'" exit for else 'wscript.echo "Did not Find Spotify in '" & sPath & "'" end if Next if LCase(sSpotifyPath) = LCase(gwshShell.ExpandEnvironmentStrings("%appdata%") & "\Spotify\spotify.exe") Then 'wscript.echo "Spotify IS in %appdata%: '" & sSpotifyPath & "'" MoveSpotify sSpotifyPath sSpotifyPath = "C:\Program Files\Spotify\Spotify.exe" else wscript.echo "Spotify is NOT in %appdata%: '" & sSpotifyPath & "'" end if if goFSO.FolderExists("\\server\share") Then 'wscript.echo "On the network; enabling the proxy" SetProxy Else 'wscript.echo "Disconnected from the network; disabling the proxy" UnsetProxy end if if goFSO.FileExists(sSpotifyPath) Then 'wscript.echo "launching spotify:" & vbcrlf & "'" & sSpotifyPath & "'" gwshShell.Run """" & sSpotifyPath & """" ''wscript.echo "spotify launched" Else msgbox "ERROR: Spotify Cannot be Found: " & vbcrlf & sSpotifypath,vbokonly+vbcritical,"ERROR: MISSING SPOTIFY!" end if wscript.quit Sub MoveSpotify(Spotify_Path) Spotify_Path = Replace(Spotify_Path,"\spotify.exe","") if gofso.folderexists (Spotify_Path) Then if not gofso.FolderExists("C:\Program Files\Spotify") then 'wscript.echo "Moving '" & Spotify_Path & "' to C:\Program Files\" gofso.MoveFolder Spotify_Path, "C:\Program Files\" else 'wscript.echo "Copying '" & Spotify_Path & "' to C:\Program Files\Spotify" gofso.CopyFolder Spotify_Path, "C:\Program Files\", True end if else wscript.echo "ERROR: Folder '" & Spotify_Path & "' Doesn't Exist!" exit sub end if End Sub Sub SetProxy dim arrProxyAddrs : arrProxyAddrs = Array("network.proxy.addr=""@https""",_ "network.proxy.addr=""@socks4""",_ "network.proxy.addr=""@socks5"""_ ) dim sProxyAddr For each sProxyAddr in arrProxyAddrs FileContentsFindReplace sSpotifyPrefs,sProxyAddr,"network.proxy.addr=""1.1.1.1:8080@https""" & vblf & "network.proxy.mode=2" next 'wscript.sleep 2000 End sub Sub UnsetProxy FileContentsFindReplace sSpotifyPrefs,"network.proxy.addr=""1.1.1.1:8080@https""","network.proxy.addr=""@https""" FileContentsFindReplace sSpotifyPrefs,"network.proxy.mode=2" & vblf,"" 'wscript.sleep 2000 End Sub Sub FileContentsFindReplace(File_Name,Find_String,Replace_String) Const sfcfrForReading=1 Const sfcfrForWriting=2 Dim sfcfrsFile_Name : sfcfrsFile_Name = File_Name Dim sfcfrsFind_String : sfcfrsFind_String = Find_String Dim sfcfrsReplace_String : sfcfrsReplace_String = Replace_String if IsBlank(sfcfrsFile_Name) or IsBlank(sfcfrsFind_String) Then exit sub end if Dim sfcfroFSO : Set sfcfroFSO = CreateObject("Scripting.FileSystemObject") If Not sfcfroFSO.FileExists(sfcfrsFile_Name) Then 'wscript.echo "Function FileContentsFindReplace: File '" & sfcfrsFile_Name & "' does not exist!" Exit Sub Else 'WScript.Echo "File '" & sfcfrsFile_Name & " exists" End If dim sfcfrsReadFile : Set sfcfrsReadFile = sfcfroFSO.OpenTextFile(sfcfrsFile_Name, sfcfrForReading, True) Dim sfcfrsFile_Contents : sfcfrsFile_Contents = sfcfrsReadFile.ReadAll If InStr(1,sfcfrsFile_Contents,sfcfrsFind_String) Then 'WScript.Echo "File '" & sfcfrsFile_Name & "' does contain '" & sfcfrsFind_String & "'" sfcfrsFile_Contents = Replace(sfcfrsFile_Contents,sfcfrsFind_String,sfcfrsReplace_String) Set sfcfrsReadFile = sfcfroFSO.OpenTextFile(sfcfrsFile_Name, sfcfrForWriting, True) On Error Resume next sfcfrsReadFile.Write sfcfrsFile_Contents If (Err.Number <> 0) Then wscript.echo "Function FileContentsFindReplace: Error " & Err.Number & " writing to '" & sfcfrsFile_Name & "'" Exit Sub End If On Error GoTo 0 sfcfrsReadFile.Close Else 'WScript.Echo "File '" & sfcfrsFile_Name & "' does not contain '" & sfcfrsFind_String & "'" End If Set sfcfrsReadFile = Nothing Set sfcfroFSO = Nothing End Sub Function IsBlank(Value) 'returns True if Empty or NULL or Zero If IsEmpty(Value) or IsNull(Value) Then IsBlank = True Exit Function ElseIf VarType(Value) = vbString Then If Value = "" Then IsBlank = True Exit Function End If ElseIf IsObject(Value) Then If Value Is Nothing Then IsBlank = True Exit Function End If ElseIf IsNumeric(Value) Then If Value = 0 Then 'wscript.echo " Zero value found" IsBlank = True Exit Function End If Else IsBlank = False End If End Function
I also have separate set & unset proxy VBScripts if you want them but they're basically the same as what you see here. Modify to suit.
If this post was helpful, please add kudos below!
I followed all the advice after the error 53 and error 17 messages but now it tells me 'failed loading skin.' I'm sure this is partly to do with cryptoprevent but having lost half a thesis to cryptolocker I'm not taking that off! Any ideas?
Hi there & thanks for responding to this.
Sorry to hear you got hit by that nasty ransomware. There are several ways to help mitigate attacks/infections in general:
justgrapes: This wasn't necessarily geared towards you, but others who may stumble across this thread while searching for CryptoLocker! I figured we could hopefully point them in the right direction!
Surely a lot more could be said on the above, but that's not the aim of this post or thread.
I personally haven't encountered the ''failed loading skin' problem, but it appears to be common. Many folks have had success doing the following:
Obviously that represents the shotgun approach. But lets see if we can take some less extensive actions.
Any chance you might be able to give that a try?
Would be nice to know root cause - e.g.: a bad/corrupt file. If I were having the problem I would certainly be open to digging further.
If this post was helpful, please add kudos below!
I tried this and I am still getting the same rror - An internal exception occured (Address: 0x10b9f08) Please contact support@spotify.com...
Thanks for the guide, but unfortunately it did not work for my issue.
Thanks for the reply!
I am very curious and interested in understanding what may be happening, which may seem odd considering what I'm about to say.
I think this will be my last post on your specific issue because it seems to be a completely different issue than what the original post is about. Don't get me wrong, I DO want to get to the bottom of it, but this isn't the most appropriate place to do so. We did however learn something: the above doesn't fix the issue, at least not for you. Under normal circumstances I would say "start a new thread" but in researching that exact error I came across this familiar post:
If you're paying for Spotify, perhaps you're entitled to some sort of technial support? I would forego sending emails and creating new threads in the forums and instead go right for the phone. (Of course they may ask you to email them relevant information!) I believe there is an official place to request support but I'm not in the best position to dig deep at the moment. (I'm on my mobile.)
I'll leave you with some guidance that usually helps identify where the problem lies. I'll reply later today at a later date with this information.
If this post was helpful, please add kudos below!
Apologies for not responding sooner - have been incredibly busy. Augh!
First, have you made any progress and do you have any updates for us?
THE ORIGINAL CONTENT HAS BEEN MOVED TO ITS OWN THREAD:
BECAUSE THIS PROCESS COULD FIX A VARIETY OF ISSUES, I THOUGHT IT BEST TO HAVE ITS OWN THREAD.
If this post was helpful, please add kudos below!
Thank you so much! I have been having this problem for months and I've been stuck with the web player. I stumbled upon this guide and it worked! Great work man!
Hi there mwright0654!
Thanks for taking the time to update the post with your experience. I'm super thrilled this worked for you and I hope others will find it helpful as well.
If this post was helpful, please add kudos below!
Hey, I just wanted to say thank you for your helpful directions! I followed your instructions and they worked like a charm. This coming from the most computer illiterate person out there. so thanks a million!
Hi there rileyjanerobb and thanks for replying to the post!
I'm always pleased to know I was able to help someone and I think the community takes comfort in learning that the proposed solutions are helping others.
Don't be so hard on yourself 😉 I'm sure you do just fine!
If this post was helpful, please add kudos below!
Thank you Thank you Thank you!!!!
UNUSUAL CASE OF ERROR:17 SOLUTION: (change the .exe name)
okay so something just happened to me that baffled the living heck out of me.... i have been dealing with the error 17 for about a week now and non of the forums, "solutions" or advice's have helped me at all... i have tried everything from changing the location to installing in safe mode, changing permissions , using hidden admin and many more steps. i have asked spotify for help and got impatient of waiting.
my problem consisted of having the error 17 upon installing, here is where it gets kind of stupid. i tried to just open the 'spotify.exe' it self since it was "technically" installed. i would always get and error described as:
(windows cannot find "C:\Users\*username*\AppData\Spotify\spotify.exe")
This baffled me.... why cant a .exe not find it self?.. till this point i still do not know why this error kept popping up and i still do not understand it. i opened it with 3rd party software and i have done the most to my knowlege's power to troubleshoot the .exe itself. and had no luck. out of mere curiosity i renamed the 'spotify.exe' to just 'spot.exe' and what do you know, it opened up... it made absolutely no sense to me... but it works now so theres that...
can a program developer explain to me why the default Spotify.exe doesnt work for me?
Hey there pinguinlolatu thanks for posting!
Ohh this is indeed an interesting one! I have a suspicion there may be a 'System Policy' or a 'Localized Policy' in place that prevents you from running Spotify:
Its tough because it depends on what policy is in place, and how its configured.
I realize that what I've written below is a lot to take in. We can try to get right to the heart of the matter, and circumvent a lot of testing, by doing the following:
If no: We've eliminated the possibility of it being a location problem and an issue with the file name itself.
If yes: It was one of the above.
If you want to dig deep, here are some methods for testing this further to see what does and does not work:
STEP 1
If it does not work: A policy may be in place that "knows" that is the real spotify.exe and is preventing it from running. Try copying the entire Spotify folder elsewhere (e.g.: C:\Program Files or just C:\).
If it does work: A policy may be in place that prevents any file named spotify.exe from running in that specific location. Try renaming Spotify.exe to something else, or copying the entire Spotify folder elsewhere (e.g.: C:\Program Files or just C:\).
STEP 2 (continuing from the step above)
If it does not work: A policy may be in place that prevents any file named spotify.exe from running in that specific location. Try copying the entire Spotify folder elsewhere (e.g.: C:\Program Files or just C:\), or renaming the real spotify.exe to something else.
If it does work: A policy may be in place that "knows" that is not the "real" spotify.exe file so its letting it run. But because everything is still in "C:\Users\USERNAME\AppData\Spotify" we can't rule out the possibility that its a location specific problem. Try copying the entire Spotify folder elsewhere (e.g.: C:\Program Files or just C:\).
STEP 3 (continuing from the step above)
If it does not work: A policy may be in place that prevents anything named spotify.exe from running anywhere. Try renaming the real spotify.exe to something else.
It it does work: A policy may be in place that "knows" that is not the "real" spotify.exe file so its letting it run.
I'm interested in hearing back on this one, as time permits of course.
And again, thanks for taking the time to share your detailed experience!
If this post was helpful, please add kudos below!
Hey there CannWebster and many thanks for your post! Its very encouraging to know this has been helpful to quite a few people!
Happy Streaming!
If this post was helpful, please add kudos below!
Cannot say enough thanks for this excellent guide. Thank you!!! I was getting frustrated not being able to use my paid spotify subscription on my laptop except for using the dumb webplayer. Now i got it working thanks for your instruction.I have been looking for the fix almost more than a year now, and your excellent post is what i needed. Its ridiculous spotify cannot fix their installer to work universally on all platforms without all these workarounds.
i apologize for my long overdue response, life's been busy. to help better understand your theory Ive proceeded to do your processes and surprisingly everything works, the notepad, other .exe and pretty much anything i put in there. the only thing giving me trouble was that spotify i still do not get why till this day. hopefully this was helpful in eliminating some possibilities.
Hi there henucu!
Thanks for taking a moment to post on the thread. I'm bummed to hear you had this problem for so long, but on the other hand I'm really glad this was useful, allowing you to take full advantage of all that Spotify has to offer! 🙂
Perhaps someone at Spotify will see this post and maybe consider seeign what could be done to avoid things like this! *wink*wink*
If this post was helpful, please add kudos below!
Appreciate the reply pinguinlolatu, and please no need to apologize, I understand completely.
In re-reading my original response to you, I realize I left out a few steps so I updated it for clarity. Sorry about that.
Now its my turn to apologize as I'm not entirely sure I'm clear the outcome.
So if I'm understanding you correctly, nothing worked:
Apologies if I'm being dense.
If this post was helpful, please add kudos below!
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…