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 UpdateServiceUrlAlternate in Windows

The UpdateServiceUrlAlternate setting is crucial for managing how Windows clients receive updates from a specific update service URL, such as a WSUS (Windows Server Update Services) server. This configuration is particularly important in enterprise environments where updates need to be managed centrally to ensure compliance, security, and stability. By configuring UpdateServiceUrlAlternate, administrators can redirect Windows Update traffic to an internal server, reducing bandwidth usage and providing more control over the update process.

In a Windows environment, this setting can be adjusted via Group Policy, the Windows Registry, or using command-line tools like PowerShell. This article will guide you through the various methods to configure the UpdateServiceUrlAlternate setting.

Examples:

Method 1: Using Group Policy

  1. Open the Group Policy Management Console (GPMC) by typing gpmc.msc in the Run dialog (Win + R).
  2. Navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update.
  3. Find the policy named "Specify intranet Microsoft update service location".
  4. Enable the policy and set the UpdateServiceUrlAlternate to your desired URL, such as http://your-wsus-server.

Method 2: Using the Windows Registry

  1. Open the Registry Editor by typing regedit in the Run dialog (Win + R).
  2. Navigate to the following key:
    HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate
  3. Create a new String Value named WUServer and set its value to your WSUS server URL.
  4. Create another String Value named WUStatusServer and set its value to the same URL.

Method 3: Using PowerShell

  1. Open PowerShell with administrative privileges.
  2. Run the following commands to set the WSUS server URL:
    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"

Method 4: Using Command Prompt

  1. Open Command Prompt with administrative privileges.
  2. Run the following commands to set the WSUS server URL:
    reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v WUServer /t REG_SZ /d "http://your-wsus-server" /f
    reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v WUStatusServer /t REG_SZ /d "http://your-wsus-server" /f

By following these methods, you can successfully configure the UpdateServiceUrlAlternate setting, ensuring that your Windows clients receive updates from a designated update service URL.

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.