Enable administrator updates
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
Allows administrator updates to be visible to and applied to the client computer.
If set to 1 (enabled for WSUS/SCCM), then administrator updates delivered through WSUS and SCCM will be available to Active Direcotry (AD) joined client machines.
If set to 2 (enabled for WSUS/SCCM and Microsoft Updates/Intune), then administrator updates delivered through either WSUS/SCCM or Microsoft Updates/Intune will be available to either Active Directory (AD) or Azure Active Directory (Azure AD) joined machines that are enrolled in Windows Update for Business (WUfB). Note that the WUfB AllowMUUpdateServicePolicy must be turned on too.
If set to 0 (disabled) or missing entirely, then administrator updates will not be available to the machine.
For more information, see https://aka.ms/vs/setup/policies.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\VisualStudio\Setup- Nom de la valeur
AdministratorUpdatesEnabled
| État | Valeur écrite | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Activé |
| |||||||||
| Désactivé |
|
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : VisualStudio/AdministratorUpdatesEnabled
$k = 'HKLM:\Software\Policies\Microsoft\VisualStudio\Setup'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AdministratorUpdatesEnabled' -Value 1 -Type DWord
Set-ItemProperty -Path $k -Name 'AdministratorUpdatesEnabled' -Value 2 -Type DWord
#
# Options possibles :
# WSUS/SCCM = 1
# WSUS/SCCM and Microsoft Updates/Intune = 2
Set-ItemProperty -Path $k -Name 'AdministratorUpdatesEnabled' -Value 1 -Type DWordDésactiver
# Désactiver : VisualStudio/AdministratorUpdatesEnabled
$k = 'HKLM:\Software\Policies\Microsoft\VisualStudio\Setup'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AdministratorUpdatesEnabled' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : VisualStudio/AdministratorUpdatesEnabled
$k = 'HKLM:\Software\Policies\Microsoft\VisualStudio\Setup'
Remove-ItemProperty -Path $k -Name 'AdministratorUpdatesEnabled' -ErrorAction SilentlyContinueOptions (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| AdministratorUpdatesEnabledDropID | Liste déroulanteenum | AdministratorUpdatesEnabled | REG_DWORD | Choix par défaut (interface) : n° 0
|
Application
Visual Studio (+ Dev Tunnels) (Microsoft) — modèles d'octobre 2026
Modèles d'octobre 2026 issus de pl4nty/web-admx-tool.