Open in the explorer

Save copies of transform files in a secure location on workstation

Enregistrer des copies des fichiers de transformation dans un emplacement sécurisé sur la station de travail

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
At least Windows 2000 FR: Au minimum Windows 2000
ADMX file
MSI.admx
Internal name
MSI/TransformsSecure

Explanation

This policy setting saves copies of transform files in a secure location on the local computer.

Transform files consist of instructions to modify or customize a program during installation.

If you enable this policy setting, the transform file is saved in a secure location on the user's computer.

If you do not configure this policy setting on Windows Server 2003, Windows Installer requires the transform file in order to repeat an installation in which the transform file was used, therefore, the user must be using the same computer or be connected to the original or identical media to reinstall, remove, or repair the installation.

This policy setting is designed for enterprises to prevent unauthorized or malicious editing of transform files.

If you disable this policy setting, Windows Installer stores transform files in the Application Data directory in the user's profile.

If you do not configure this policy setting on Windows 2000 Professional, Windows XP Professional and Windows Vista, when a user reinstalls, removes, or repairs an installation, the transform file is available, even if the user is on a different computer or is not connected to the network.

French text from Windows 11 26H2

Ce paramètre de stratégie enregistre des copies des fichiers de transformation dans un emplacement sécurisé sur l’ordinateur local.

Les fichiers de transformation sont constitués d’instructions permettant de modifier ou de personnaliser un programme au cours de l’installation.

Si vous activez ce paramètre de stratégie, le fichier de transformation est enregistré dans un emplacement sécurisé sur l’ordinateur de l’utilisateur.

Si vous ne configurez pas ce paramètre de stratégie sur Windows Server 2003, Windows Installer a besoin du fichier de transformation pour répéter une installation dans laquelle celui-ci était utilisé. Par conséquent, l’utilisateur doit utiliser le même ordinateur ou être connecté au même média ou à celui d’origine, pour réinstaller, supprimer ou réparer l’installation.

Ce paramètre de stratégie est destiné aux entreprises qui souhaitent empêcher toute modification non autorisée ou malveillante des fichiers de transformation.

Si vous désactivez ce paramètre de stratégie, Windows Installer stocke les fichiers de transformation dans le répertoire Application Data du profil de l’utilisateur.

Si vous ne configurez pas ce paramètre de stratégie sur Windows 2000 Professionnel, Windows XP Professionnel et Windows Vista, lorsqu’un utilisateur réinstalle, supprime ou répare une installation, le fichier de transformation est disponible, même si l’utilisateur se trouve sur un autre ordinateur ou s’il est déconnecté du réseau.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
Value name
TransformsSecure
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

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/TransformsSecure
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Installer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'TransformsSecure' -Value 1 -Type DWord

Disable

# Disable: MSI/TransformsSecure
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Installer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'TransformsSecure' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability