Open in the explorer

Prohibit use of Restart Manager

Interdire l’utilisation du Gestionnaire de redémarrage

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Installer FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows Installer
Supported on
Windows Installer v4.0 FR: Windows Installer version 4.0
ADMX file
MSI.admx
Internal name
MSI/DisableAutomaticApplicationShutdown

Explanation

This policy setting controls Windows Installer's interaction with the Restart Manager. The Restart Manager API can eliminate or reduce the number of system restarts that are required to complete an installation or update.

If you enable this policy setting, you can use the options in the Prohibit Use of Restart Manager box to control file in use detection behavior.

-- The "Restart Manager On" option instructs Windows Installer to use Restart Manager to detect files in use and mitigate a system restart, when possible.

-- The "Restart Manager Off" option turns off Restart Manager for file in use detection and the legacy file in use behavior is used.

-- The "Restart Manager Off for Legacy App Setup" option applies to packages that were created for Windows Installer versions lesser than 4.0. This option lets those packages display the legacy files in use UI while still using Restart Manager for detection.

If you disable or do not configure this policy setting, Windows Installer will use Restart Manager to detect files in use and mitigate a system restart, when possible.

French text from Windows 11 26H2

Ce paramètre de stratégie contrôle l’interaction de Windows Installer avec le Gestionnaire de redémarrage. L’API Gestionnaire de redémarrage élimine ou réduit le nombre de redémarrages du système nécessaires à une installation ou une mise à jour.

Si vous activez ce paramètre de stratégie, vous pouvez utiliser les options de la zone Empêcher l’utilisation du Gestionnaire de redémarrage pour contrôler le comportement de détection des fichiers en cours d’utilisation.

-- L’option « Gestionnaire de redémarrage activé » demande à Windows Installer d’utiliser le Gestionnaire de redémarrage pour détecter les fichiers en cours d’utilisation et réduire les redémarrages système, si possible.

-- L’option « Gestionnaire de redémarrage désactivé » désactive le Gestionnaire de redémarrage pour la détection des fichiers en cours d’utilisation et le comportement des fichiers d’ancienne génération en cours d’utilisation est utilisé.

-- L’option « Gestionnaire de redémarrage désactivé pour l’installation des applications d’ancienne génération » s’applique aux packages créés pour les versions de Windows Installer antérieures à la version 4.0. Cette option permet à ces packages d’afficher l’interface utilisateur en cours d’utilisation des fichiers d’ancienne génération tout en utilisant le Gestionnaire de redémarrage pour la détection.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, Windows Installer utilise le Gestionnaire de redémarrage pour détecter les fichiers en cours d’utilisation et réduire les redémarrages système, si possible.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: MSI/DisableAutomaticApplicationShutdown
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Installer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Prohibit Usage of Restart Manager
# Possible options:
#   Restart Manager On = 0
#   Restart Manager Off = 1
#   Restart Manager Off for Legacy App Setup = 2
Set-ItemProperty -Path $k -Name 'DisableAutomaticApplicationShutdown' -Value 1 -Type DWord

Disable

# Disable: MSI/DisableAutomaticApplicationShutdown
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": MSI/DisableAutomaticApplicationShutdown
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Installer'
Remove-ItemProperty -Path $k -Name 'DisableAutomaticApplicationShutdown' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Prohibit Usage of Restart ManagerEmpêcher l’utilisation du Gestionnaire de redémarrageDisableAutomaticApplicationShutdownDrop-down listenumDisableAutomaticApplicationShutdownREG_DWORD
Required · Default choice (UI): #1
LabelValue
Restart Manager OnREG_DWORD = 0
Restart Manager OffREG_DWORD = 1
Restart Manager Off for Legacy App SetupREG_DWORD = 2

Availability