Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade

How to Configure SetPolicyDrivenUpdateSourceForQualityUpdates in Windows

In today's fast-paced IT environments, ensuring that your Windows systems are up-to-date with the latest quality updates is crucial for maintaining security and stability. The SetPolicyDrivenUpdateSourceForQualityUpdates is a policy setting that allows administrators to specify the source from which Windows should obtain quality updates. This can be particularly useful in enterprise environments where updates need to be managed and controlled centrally.

Understanding how to configure this policy can help you streamline your update management processes, reduce bandwidth usage, and ensure that all systems comply with organizational policies. This article will guide you through the steps to configure SetPolicyDrivenUpdateSourceForQualityUpdates using both Group Policy and the Windows Registry.

Examples:

Using Group Policy

  1. Open Group Policy Management Console (GPMC):

    • Press Win + R, type gpmc.msc, and press Enter.
  2. Navigate to the Policy:

    • In the GPMC, navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update.
  3. Configure the Policy:

    • Find the policy named "Set the intranet update service for detecting updates".
    • Double-click the policy to open its settings.
    • Set the policy to "Enabled" and specify the URL of your WSUS server or other update source.
  4. Apply and Close:

    • Click "Apply" and then "OK" to save the changes.

Using Windows Registry

  1. Open Registry Editor:

    • Press Win + R, type regedit, and press Enter.
  2. Navigate to the Key:

    • Go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate.
  3. Create or Modify Values:

    • Create or modify the following DWORD values:
      • WUServer - Set this to the URL of your update server.
      • WUStatusServer - Set this to the URL of your status server.
  4. Example Registry Script:

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
    "WUServer"="http://your-wsus-server"
    "WUStatusServer"="http://your-wsus-server"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
    "UseWUServer"=dword:00000001
  5. Apply Changes:

    • Save the script as a .reg file and double-click it to apply the changes to the registry.

Using PowerShell

  1. Open PowerShell as Administrator:

    • Right-click the Start button and select "Windows PowerShell (Admin)".
  2. Set the Update Source:

    • Use the following PowerShell commands to set the update source:
      Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUServer" -Value "http://your-wsus-server"
      Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUStatusServer" -Value "http://your-wsus-server"
      Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" -Value 1
  3. Verify the Changes:

    • You can verify that the changes have been applied by checking the registry values or using the Get-ItemProperty cmdlet:
      Get-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate"

By following these steps, you can effectively configure the SetPolicyDrivenUpdateSourceForQualityUpdates policy to ensure that your Windows systems receive quality updates from your specified source, thereby maintaining control over the update process within your organization.

To share Download PDF

Gostou do artigo? Deixe sua avaliação!
Sua opinião é muito importante para nós. Clique em um dos botões abaixo para nos dizer o que achou deste conteúdo.