Allow signed updates from an intranet Microsoft update service location
Autoriser les mises à jour signées provenant d’un emplacement intranet du service de Mise à jour Microsoft
Explanation
This policy setting allows you to manage whether Automatic Updates accepts updates signed by entities other than Microsoft when the update is found on an intranet Microsoft update service location.
If you enable this policy setting, Automatic Updates accepts updates received through an intranet Microsoft update service location, if they are signed by a certificate found in the "Trusted Publishers" certificate store of the local computer.
If you disable or do not configure this policy setting, updates from an intranet Microsoft update service location must be signed by Microsoft.
Note: Updates from a service other than an intranet Microsoft update service must always be signed by Microsoft and are not affected by this policy setting.
Note: This policy is not supported on Windows RT. Setting this policy will not have any effect on Windows RT PCs.
Ce paramètre de stratégie permet de définir si le service Mises à jour automatiques accepte les mises à jour signées par des entités autres que Microsoft lorsqu’elles proviennent d’un emplacement intranet du service de Mise à jour Microsoft.
Si vous activez ce paramètre de stratégie, le service Mises à jour automatiques accepte les mises à jour reçues d’un emplacement intranet du service de Mise à jour Microsoft dès lors qu’elles sont signées par un certificat figurant dans le magasin de certificats « Éditeurs approuvés » de l’ordinateur local.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les mises à jour provenant d’un emplacement intranet du service de Mise à jour Microsoft doivent être signées par Microsoft.
Remarque : les mises à jour provenant d’un service autre qu’un service intranet de Mise à jour Microsoft doivent toujours être signées par Microsoft et ne sont pas concernées par ce paramètre de stratégie.
Remarque : cette stratégie n’est pas prise en charge sur Windows RT. La définition de cette stratégie n’aura aucun effet sur les ordinateurs Windows RT.
Use cases
Lets machines accept updates signed by a certificate in the local Trusted Publishers store, not just by Microsoft. It is needed when you publish your own updates (internal patches, third-party catalogue) through WSUS.
Without it, updates must be signed by Microsoft, so the certificate has to be deployed to the machines beforehand.
Microsoft source: Step 4: Configure Group Policy settings for automatic updates
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate- Value name
AcceptTrustedPublisherCerts
| 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: WindowsUpdate/TrustedPublisher_Title
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AcceptTrustedPublisherCerts' -Value 1 -Type DWordDisable
# Disable: WindowsUpdate/TrustedPublisher_Title
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AcceptTrustedPublisherCerts' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsUpdate/TrustedPublisher_Title
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
Remove-ItemProperty -Path $k -Name 'AcceptTrustedPublisherCerts' -ErrorAction SilentlyContinue