Display administrator update notifications
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
This setting enables Visual Studio to provide administrator update prompts and status information to end users via the Windows toast notification feature.
If set to a 1 (enabled), then Visual Studio will display administrator update notifications.
The Visual Studio administrator update notifications will report administrator update success or failure. In the case of administrator update failure, these notifications will provide information as to what the problem is, which should help facilitate diagnosis and resolution. One common reason that Visual Studio administrator updates fail to apply is because Visual Studio is open and in use. In this situation, the administrator update notifications will also prompt the user to close Visual Studio so that the administrator update can then be applied.
The administrator update notifications are governed by the settings that control Windows toast notifications on the client machine.
For more information, see https://aka.ms/vs/admin/updates/control.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\VisualStudio\Setup- Nom de la valeur
AdministratorUpdatesNotifications
| État | Valeur é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/AdministratorUpdatesNotifications
$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 'AdministratorUpdatesNotifications' -Value 1 -Type DWordDésactiver
# Désactiver : VisualStudio/AdministratorUpdatesNotifications
$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 'AdministratorUpdatesNotifications' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : VisualStudio/AdministratorUpdatesNotifications
$k = 'HKLM:\Software\Policies\Microsoft\VisualStudio\Setup'
Remove-ItemProperty -Path $k -Name 'AdministratorUpdatesNotifications' -ErrorAction SilentlyContinueApplication
Visual Studio (+ Dev Tunnels) (Microsoft) — modèles d'octobre 2026
Modèles d'octobre 2026 issus de pl4nty/web-admx-tool.