Hide the Available tab shown in the Visual Studio Installer
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 policy determines whether the Available tab in the installer is visible or not. The Available tab contains suggested products that can be installed by the Visual Studio Installer.
If set to 1 (enabled), then users will be prevented from seeing the Available Tab, and thus will not have an ability to install new products from the Available Tab using the installer UI. Users will still be able to install products from the command line or directly through the bootstrapper.
If set to 0 (disabled) or missing entirely, users will be able to see the Available Tab and freely install new products that are advertised on the installer UI. Note: This is the default behavior.
This functionality requires the Visual Studio 2022 version 17.6 installer to be installed on the client machine.
For more information, see https://aka.ms/vs/setup/policies.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\VisualStudio\Setup- Nom de la valeur
HideAvailableTab
| É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/HideAvailableTab
$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 'HideAvailableTab' -Value 1 -Type DWordDésactiver
# Désactiver : VisualStudio/HideAvailableTab
$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 'HideAvailableTab' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : VisualStudio/HideAvailableTab
$k = 'HKLM:\Software\Policies\Microsoft\VisualStudio\Setup'
Remove-ItemProperty -Path $k -Name 'HideAvailableTab' -ErrorAction SilentlyContinueApplication
Visual Studio (+ Dev Tunnels) (Microsoft) — modèles d'octobre 2026
Modèles d'octobre 2026 issus de pl4nty/web-admx-tool.