Prohibit installing or uninstalling color profiles
Interdire l’installation ou la désinstallation de profils de couleurs
Explanation
This policy setting affects the ability of users to install or uninstall color profiles.
If you enable this policy setting, users cannot install new color profiles or uninstall previously installed color profiles.
If you disable or do not configure this policy setting, all users can install new color profiles. Standard users can uninstall color profiles that they previously installed. Administrators will be able to uninstall all color profiles.
Ce paramètre de stratégie affecte la capacité des utilisateurs à installer ou à désinstaller des profils de couleurs.
Si vous activez ce paramètre de stratégie, les utilisateurs ne peuvent ni installer de nouveaux profils de couleurs ni désinstaller des profils de couleurs préalablement installés.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, tous les utilisateurs peuvent installer de nouveaux profils de couleurs. Les utilisateurs standard peuvent désinstaller les profils de couleurs préalablement installés. Les administrateurs peuvent désinstaller tous les profils de couleurs.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsColorSystem- Value name
ProhibitInstallUninstall
| 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: WindowsColorSystem/ProhibitChangingInstalledProfileList_1
$k = 'HKCU:\Software\Policies\Microsoft\Windows\WindowsColorSystem'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ProhibitInstallUninstall' -Value 1 -Type DWordDisable
# Disable: WindowsColorSystem/ProhibitChangingInstalledProfileList_1
$k = 'HKCU:\Software\Policies\Microsoft\Windows\WindowsColorSystem'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ProhibitInstallUninstall' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsColorSystem/ProhibitChangingInstalledProfileList_1
$k = 'HKCU:\Software\Policies\Microsoft\Windows\WindowsColorSystem'
Remove-ItemProperty -Path $k -Name 'ProhibitInstallUninstall' -ErrorAction SilentlyContinue