Ouvrir dans l'explorateur

Disable update notifications in Visual Studio

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Visual Studio › Install and Update Settings EN : Computer Configuration › Policies › Administrative Templates › Visual Studio › Install and Update Settings
Pris en charge sur
Visual Studio 2022, 17.12 and higher.
Fichier ADMX
VisualStudio.admx
Nom interne
VisualStudio/UpdateNotificationsOptOut

Explication

Allows an administrator to control the update notification in the Visual Studio IDE in specific situations.

If set to 0 (blocked) or missing entirely, update notifications will appear in the Visual Studio IDE whenever an update is detected.

If set to a 1, the update notification in the Visual Studio IDE will be suppressed for the Enterprise and Professional editions on the Release or LTSC channels, only if they are either receiving updates from a layout or if they are enrolled to receive Visual Studio Administrator Updates.

For more information, see https://aka.ms/vs/setup/policies.

Registre

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\VisualStudio\Setup
Nom de la valeur
UpdateNotificationsOptOut
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

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/UpdateNotificationsOptOut
$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 'UpdateNotificationsOptOut' -Value 1 -Type DWord

Désactiver

# Désactiver : VisualStudio/UpdateNotificationsOptOut
$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 'UpdateNotificationsOptOut' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : VisualStudio/UpdateNotificationsOptOut
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\VisualStudio\Setup'
Remove-ItemProperty -Path $k -Name 'UpdateNotificationsOptOut' -ErrorAction SilentlyContinue

Application

Visual Studio (+ Dev Tunnels) (Microsoft) — modèles d'octobre 2026

Modèles d'octobre 2026 issus de pl4nty/web-admx-tool.