09-21-2021
08:55 AM
- last edited on
11-23-2023
11:23 AM
by
Mercedes_O
Hi,
The title says everything: I have installed some applications from Windows Store on my work computer, but LS cannot scan them.
i.e. iTunes, Spotify, HP Support Assistant, etc., are on my laptop, but they didn't appear in the software list.
Otherwise, if I install them outside the Store, they are displayed correctly.
Is there a way to scan all the installed software?
Thank you
08-03-2022 12:16 PM
Hello,
We recommend using Lansweeper v9.5 (or higher) to scan MS Store apps.
More info can be found here: https://www.lansweeper.com/knowledgebase/microsoft-store-apps/
11-17-2023 07:25 PM
11-20-2023 09:46 AM
Seems like either an access or credential issue for the assets where the MS apps aren't showing.
Could you verify the credentials have the same access on both machines? Specifically access to WMI class "Win32_InstalledStoreProgram" and registry path "SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Packages".
If they do, could you send a mail to support@lansweeper.com so we can get into a detailed analysis?
11-20-2023 03:24 PM
We are running LSAgent on every device. So, shouldn't this bypass this issue?
11-20-2023 03:34 PM
It should, can you validate scanning > scanned item intervals and see if softwaremssstoreapps is enabled for both scan server and lsagent and the wait days are set to 1. If you the lsagent brings in a recent scan, it should also include the ms store app data. If not, are all lsagents running on the same version? See "Scanning > LsAgent scanning: min version per group vs version provided by scan server". If there's a difference, best to enable auto-update here.
Not seeing any big changes for ms store apps since your version on https://www.lansweeper.com/changelog/ so it should be fine.
09-22-2021 05:23 PM
Get-WmiObject -Query "SELECT * FROM Win32_InstalledStoreProgram" | select-object name,version
##Variables - Choose your registry location. I just based it off of the wmi name.
##Setting IgnoreMS to 1 will ignore entries that start "Microsoft."
$RegLocation = 'HKLM:\SOFTWARE\Microsoft\Win32_InstalledStoreProgram'
$ignoreMS = 0
##Query
IF ( $ignoreMS -eq 1 ) {
$string = Get-WmiObject -Query "SELECT * FROM Win32_InstalledStoreProgram WHERE not NAME like 'Microsoft.%'" | select-object name,version
} ELSE {
$string = Get-WmiObject -Query "SELECT * FROM Win32_InstalledStoreProgram" | select-object name,version
}
##Cleanup (If you don't run this on some type of schedule, you'll just have static data)
IF (Test-Path $RegLocation) {
Remove-Item $RegLocation
}
##Add to registry
IF (!(Test-Path $RegLocation)) {
New-Item -Path $RegLocation
}
$string | ForEach-Object {
New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Win32_InstalledStoreProgram -Name $_.name -Value $_.version -PropertyType "String"
}
09-21-2021 09:06 PM
Get-WmiObject -Query "SELECT * FROM Win32_InstalledStoreProgram" | ft name,version
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now