Jump to content

Murat Demirkiran

SCCM SPOTIFY Installed Computers

Recommended Posts

Hi All,

I have a question for software metering or asset intelligence to determine which computer has Spotify installed. As I have checked it seems under "C:\Program Files\WindowsApps\SpotifyAB.SpotifyMusic_1.89.313.0_x86__zpdnekdrzrea0" and no one has read permission about that folder. What should be the way to inspect spotify.exe?

Thanks in advance. 

Share this post

Link to post
Share on other sites

Hi Garth,

Yes i have checked. It does not show any information reports about spotify also  i have added software metering. 

Windows can not read exe files under c:\program Files\WindowsApp. I think therefore can not collect any information about that. 

Also I had checked Jeff solution below link. It does not show any information



I would be appreciated for any suggestions. 



Edited by Murat Demirkiran
Add information

Share this post

Link to post
Share on other sites

Did you create a SWM rule for spotify? When did you create this rule? Is the Software listed in Installed Programs in resource explorer? Is the SW installed under the user content? if it is installed under the user context then you will need a 3rd party tool to collected this information with SCCM. 

Share this post

Link to post
Share on other sites

Spotify and Google Earth and I'm sure many others are a real pain in the backside as they "hide" in users appdata - also means the users can install without admin rights which is a nightmare for IT guys.

The way I get around it is to use the Software Inventory Client Settings, then add spotify.exe (or any other prog.exe) to the inventory collection. Then once the inventories come flying into the SCCM database, query that data then create SSRS, Power BI or collections based on it.

This is the query I use for the Spotify installations:

     COMP.UserName0 AS [User],
     COMP.Manufacturer0 AS [Make],
     COMP.Model0 AS [Model],
     COMP.Name0 AS [Computer],
     SYS.SystemType0 AS [Architecture],
     SWI.ModifiedDate AS [Install Date],
     SWF.FileName AS [Filename],
     SWF.FileDescription AS [Product],
     SWF.FileVersion AS [Version]
     INNER JOIN SoftwareInventory SWI
          on SYS.ResourceID = SWI.ClientId
     INNER JOIN SoftwareFile SWF
          on SWF.ProductId = SWI.ProductId
	  on SYS.ResourceID = COMP.ResourceID
     WHERE SWF.FileName = 'spotify.exe'

I put these into Power BI and then add scheduled reports to my business managers that want such information - all automated and delivered by email and I look like a decent employee for a few minutes!

I've written a full guide on all of this here if you want to take a look.

Share this post

Link to post
Share on other sites

I see that you posted this everywhere. 

To be honest with you, I would not recommend using SW inventory to do this. Particularly without defining a path for the exe. 

Here are several blog on the topic. 





Just be aware that even if you are scanning just two files. Like I show in this blog. https://www.enhansoft.com/how-do-you-determine-the-length-of-a-software-inventory-scan-cycle/ it can take about an hour or longer to complete.

Heck in this blog it took over 4 hours https://www.enhansoft.com/slow-software-inventory-cycle-in-sccm-2012/ SW inventory now is a low priority process and can take days to complete as just about everythign preempt it. While SW inv is running it will BLOCK both Hardware Inventory and Heartbeat discovery from running. 

Honestly if you goal is to uninstall this SW, then I would use a CI to do this as it will happen a lot faster than SW inventory. You can even use the remediation part of a CI to uninstall the SW. You can even use Appblocker to prevent the software for installing/running in the first place too. 

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...