I’ve been trying to find a way to uninstall Spotify on user systems. Spotify installs itself to the user profile AppData section (C:\Users\USERNAME\AppData\Roaming\Spotify). The only uninstall method from commandline I’ve found is “C:\Users\USERNAME\AppData\Roaming\Spotify\spotify.exe /uninstall /silent”.
My big problem is that I don’t know what user profiles this will live on from machine to machine. I’ve gotten my relevance working with this:
exists files of folders “\AppData\Roaming\Spotify” of folders whose (exists folder “\AppData\Roaming\Spotify” of it) of folder “C:\Users”
I just have no idea where to begin on an action script. I’m still fairly new to BigFix and not huge into scripting so I’m still trying to learn. I tried modifying some other action scripts I found out there using .vbs and .bat files to just delete the folder but I had no luck. Ideally, i would use the uninstall method so the shortcuts get removed too. Any help would be greatly appreciated.