Enable Migration Mode
Activer le mode de migration
Explanation
Migration mode allows the App-V client to modify shortcuts and FTA's for packages created using a previous version of App-V.
Le mode de migration permet à App-V Client de modifier des raccourcis et des associations type-fichier pour des packages créés à l'aide d'une version précédente d'App-V.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppV\Client\Coexistence- Value name
MigrationMode
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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: appv/Client_Coexistence_Enable_Migration_mode
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Coexistence'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'MigrationMode' -Value 1 -Type DWordDisable
# Disable: appv/Client_Coexistence_Enable_Migration_mode
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Coexistence'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'MigrationMode' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": appv/Client_Coexistence_Enable_Migration_mode
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Coexistence'
Remove-ItemProperty -Path $k -Name 'MigrationMode' -ErrorAction SilentlyContinue