Non ti chiederò per quale motivo ti serve il pacchetto di installazione per Intune Management Extension, non ha importanza e potresti avere tutti i buoni motivi del mondo.
Ti dirò semplicemente come recuperarlo. Il tutto fermo restando che, almeno fino a oggi, lo puoi trovare all’indirizzo euprodimedatapri.azureedge.net/IntuneWindowsAgent.msi.
Scaricare Microsoft Intune Management Extension
Se, rispetto a oggi che sto scrivendo e pubblicando questo articolo, dovesse cambiare l’URL dove trovare il pacchetto più aggiornato di Microsoft Intune Management Extension, potrai ottenere l’URL adatto in maniera del tutto autonoma, passando da un client che ha già il prodotto installato a bordo, uno qualsiasi. Ti basterà infatti andare ad aprire il registro di sistema (regedit) e puntare a:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EnterpriseDesktopAppManagement\S-0-0-00-0000000000-0000000000-000000000-000\MSI\
Sotto questa chiave, troverai diverse altre sottochiavi (GUID). Ognuna di queste, conterrà URL del pacchetto MSI e versione. Cerca la versione più aggiornata, prendi l’URL e scarica il pacchetto MSI che tanto desideri.
Se la vuoi fare ancora più semplice, ti basta questo piccolo script e PowerShell:
<# | |
.SYNOPSIS | |
Finds the download URL for IntuneWindowsAgent. | |
.DESCRIPTION | |
This script retrieves the download URL for IntuneWindowsAgent from the registry. | |
It checks the registry path for the specified subkeys and retrieves the DownloadUrlList and ProductVersion properties. | |
.EXAMPLE | |
.\FindIMEDownloadURL.ps1 | |
This command runs the script to find the download URL for IntuneWindowsAgent. | |
.NOTES | |
Author: Giovanni Solone | |
Date: 2025/04/08 | |
Modification history: | |
- 2025/04/08: check if the base registry path exists and exit from the script if it doesn't. Same for the subkeys. | |
#> | |
$baseRegistryPath = "HKLM:\SOFTWARE\Microsoft\EnterpriseDesktopAppManagement\S-0-0-00-0000000000-0000000000-000000000-000\MSI" | |
try { | |
if (-not (Test-Path $baseRegistryPath)) { | |
Write-Error "Registry base path not found: $baseRegistryPath" | |
return | |
} | |
} catch { | |
Write-Error "Failed to access registry path: $_" | |
return | |
} | |
try { | |
$subKeys = Get-ChildItem -Path $baseRegistryPath | |
} catch { | |
Write-Error "Failed to retrieve subkeys from registry path: $_" | |
return | |
} | |
$results = @() | |
foreach ($subKey in $subKeys) { | |
$downloadUrlList = (Get-ItemProperty -Path $subKey.PSPath -Name "DownloadUrlList").DownloadUrlList | |
$productVersion = (Get-ItemProperty -Path $subKey.PSPath -Name "ProductVersion").ProductVersion | |
if ($downloadUrlList -is [array] -and $downloadUrlList.Length -eq 1) { | |
$downloadUrlList = $downloadUrlList[0] | |
} else { | |
$downloadUrlList = ($downloadUrlList -join ", ").TrimEnd(", ") | |
} | |
# if $downloadUrlList contains "IntuneWindowsAgent", then add to $results | |
if ($downloadUrlList -like "*IntuneWindowsAgent*") { | |
$results += [PSCustomObject]@{ | |
SubKey = $subKey.Name | |
DownloadUrlList = $downloadUrlList | |
ProductVersion = $productVersion | |
} | |
} | |
} | |
$results | Format-Table -Property DownloadUrlList, ProductVersion | Sort-Object ProductVersion |
L’ho scritto per cercare le versioni censite sul tuo PC (evidentemente installate e poi aggiornate nel corso del tempo), e restituirti una tabella ordinata che ti proponga URL di download del file (solo se questo contiene nel nome del file “IntuneWindowsAgent“) e relativa versione, mettendo poi i risultati ottenuti in ordine di versione così da restituirti al primo posto la più recente, lasciando poi spazio a quelle più vecchie.
Ti basterà lanciare lo script senza alcun parametro, otterrai immediatamente i risultati.
In caso di dubbi, l’area commenti è a tua disposizione poco più sotto.
#KeepItSimple
Grazie a: reddit.com/r/Intune/comments/17euilc/need_the_intune_management_extension_installer_msi/k68aea6
Pillole
Articoli rapidi e pratici. fai clic qui.