Comments

8 comments

  • Brandon Rewis

    Hi Martin,

    The full uninstall string to remove Spotify silently without any user interaction needed is: 

    C:\Users\UserName\AppData\Roaming\Spotify\spotify.exe /uninstall /silent

    In Inventory, open a machine that has Spotify installed and locate the Spotify app under the applications tab. Right click Spotify and select uninstall. Add the /silent to the uninstall string and the application will uninstall without issue as long as the user that the uninstall string references is logged in.  Again, the user that installed Spotify(referenced in the uninstall string) must be logged in for the uninstall to complete successfully since the application is in installed in the AppData\Roaming directory.

    Let me know if you have any other questions or concerns.

    -Brandon

    0
    Comment actions Permalink
  • Martin Larsen

    Thank you Brandon.

    I just bought both programs, and have a thing more. When I scan the PC in PDQ Inventory the program there a still is Java 6 installed, I have been personally on the machine and remove it. What to do

     

    0
    Comment actions Permalink
  • Sistemas IT

    Hello all, 

    I have the same problem uninstalling Spotify, and when trying to uninstall with /silent option, it doesn't work. I've checked that the user is logged and not blocked. (firewall, etc is correct, as I can uninstall other applications). Any idea? 

     

    Thank you very much

    0
    Comment actions Permalink
  • Dan Sadler

    "%appdata%\Spotify\Spotify.exe" /uninstall /silent      you could try to generalize the uninstall with running this from the CMD. 

    0
    Comment actions Permalink
  • Sistemas IT

    Hi dan, 

    This only work if you are in the local machine, but not from PDQ (as far as I tried). Remove it from the local machine is theoretically easy :) By the way, I appreciate much your help. Thank you!

    0
    Comment actions Permalink
  • Dan Sadler

    Hmm you could try making a BAT file with something like

    TASKKILL /f /im SpotifyWebHelper.exe
    TASKKILL /f /im SpotifyHelper.exe
    TASKKILL /f /im Spotify.exe
    DEL C:\Users\%username%\AppData\Roaming\Spotify\*.* /s /q
    DEL C:\Users\%username%\AppData\Roaming\Spotify\data\*.* /s /q
    DEL C:\Users\%username%\AppData\Local\Spotify\*.* /s /q
    DEL C:\Users\%username%\Desktop\Spotify.lnk
    RD C:\Users\%username%\AppData\Local\Spotify /s /q
    RD C:\Users\%username%\AppData\Roaming\Spotify /s /q

    0
    Comment actions Permalink
  • Sistemas IT

    Thank you Dan, it works, althought it only does it with the user logged on and on his session opened. However, it will be only a matter of time (not much) to uninstall from the machines we need :)

    Thank you again 

    0
    Comment actions Permalink
  • Chris French

    This Pissed me off enough to want to kill it with fire. This has been tested in win 7 [Version 6.1.7601]

    taskkill /im:spotify* /f /t
    dir c:\users /b /aD > users.txt
    for /f %%f in (users.txt) do (
    IF EXIST "C:\Users\%%f\AppData\Roaming\Spotify\Spotify.exe" (
    C:\Users\%%f\AppData\Roaming\Spotify\Spotify.exe /uninstall /silent
    rd /s /q "C:\Users\%%f\AppData\Roaming\Spotify"
    RD /s /q "C:\Users\USERNAME\AppData\Local\Spotify"
    del "C:\Users\%%f\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Spotify.lnk" /f /q
    Del "C:\users\%%f\Desktop\Spotify.lnk" /f /q
    ) ELSE (
    echo %%f doesn't have Spotify installed.
    )
    )

     

    It looks like this text box killed the tabs, they may be necessary for this to parse right.

    0
    Comment actions Permalink

Please sign in to leave a comment.