How do I circumvent Spotify's updater for my regular users in Windows?

3

1

I run a Windows Vista machine where I have Spotify installed. My account is the only account with administrator rights on the machine, which means only I can update Spotify. This means that any other user on the machine won't be able to run Spotify if there is an update that I haven't installed.

Is there any way to circumvent this?

EDIT: I tried setting up a task in the Task Scheduler to start spotify.exe with administrative rights any time someone logged in, which I hoped would allow an update, but it didn't, so I'm open to new suggestions.

EDIT 2: This is now irrelevant. Since a couple of updates ago Spotify has moved to an inline update model allowing all users to update the client.

cros

Posted 2009-11-19T10:19:08.247

Reputation: 170

Why Task Scheduler? Just use the property page under Compatibility and set it to run as admin for all users. That doesn't really give anyone any additional privileges (unless it has a file manager or something since I don't use it) except to update. – Abraxas – 2011-07-23T10:56:41.283

I'm thinking that maybe I could schedule a Task in windows that starts Spotify with administrator privileges any time some other user logs on. Might that work? – cros – 2009-11-19T10:20:27.073

Nope, that failed horribly. – cros – 2009-12-11T12:04:02.463

You should post a bug report to spotify. The application should try to see if it has the rights to update itself before trying to. In the meantime, I don't know how to do. – Loïc Wolff – 2010-01-10T13:29:32.953

Answers

2

Apparently it's the official position of Spotify to allow only the latest version. This is probably because copyright concerns require the immediately blocking of any new hacks of their software.

There's apparently no solution - only an administrator can run it when a new update comes out.

The only solution is maybe to create a virtual machine for Spotify, where anyone could have administrator rights without running a risk. You can freely download ready-made Linux VMs, and this article explains how to install Spotify on Linux.

harrymc

Posted 2009-11-19T10:19:08.247

Reputation: 306 093

1

Spotify consists of a single .exe file, which can be run from anywhere, like the desktop. It does write to %APPDATA% once run, so it is not portable as such, but there is no need to have it in Program Files.

So if you just have the most up to date spotify.exe somewhere on the network, you can distribute shortcuts pointing to it for your users, or you can just email them the .exe in a .zip file.

Anybody can extract the .exe from the installer using something like Universal Extractor, if needed.

paradroid

Posted 2009-11-19T10:19:08.247

Reputation: 20 970

1

Yes i agree you can set a task to update spotify, and can set what privileges it runs with

admintech

Posted 2009-11-19T10:19:08.247

Reputation: 6 970

0

Try setting %ProgramFileS%/Spotify and everything below as writable by users. This should work. New versions just overwrite the old executable.

Johan Dahl

Posted 2009-11-19T10:19:08.247

Reputation:

1Do you think removing permissions from those is really safe? There are good reasons why 7 has new security on Program Files. And some users may quickly discover their new abilities. – Abraxas – 2011-07-23T10:26:53.593

0

If you run the updater (which may be a separate executable named "update.exe" or similar) from a startup script, it will run whenever the machine starts regardless of who logs on later. That can be done in the policy editor from your administrative account. Perhaps, even if you need to run the full application that way, it should still work and the users will simply find it running when they log in. However, it will be running under your credentials.

An an alternative, don't even use the program's updater, but just copy the new files into the program's folder from an updated version. Just be sure that files containing user settings are not copied by mistake: just exe's and dll's.

Of course, practically speaking, setting Spotify to always run under admin privileges would not give users any additional rights except that they could then update.

Abraxas

Posted 2009-11-19T10:19:08.247

Reputation: 1 269

0

If you've got Windows Vista or Windows 7 you could select use the Run as Administrator option in Compatibility Mode.

Dave Webb

Posted 2009-11-19T10:19:08.247

Reputation: 10 126

Not if it is set to always run as admin. But there is absolutely no need for any compatibility mode. – Abraxas – 2011-07-23T10:39:31.590

No you can't, not for a non-admin user... can I? A non-admin user will be prompted for a admin password to do this, won't they? – cros – 2009-12-11T12:03:22.790