Using WUA From a Remote Computer

The Windows Update Agent (WUA) API can be used by a user on a remote computer or by an application that is running on a remote computer. However, the remote user or application must have administrator privileges.

The following list contains interfaces that are available to remote users and applications:

The following list contains interfaces and properties that are not available to remote users and applications:

The following ports and exceptions must be added to the Windows firewall settings for Windows Vista and Windows Server 2008 for the WUA API to be called remotely.

Exception 1

Local port: 135
Remote port: ALL
Protocol number: 6
Executable: %windir%\\system32\\svchost.exe
Service: rpcss
Remote privilege: Administrator

Exception 2

Local port: Dynamic RPC
Remote port: ALL
Protocol number: 6
Executable: %windir%\\system32\\dllhost.exe
Remote privilege: Administrator

The following list contains tools that can be used to configure Windows Firewall settings:

  • Windows Firewall with Advanced Security snap-in
  • Group Policy
  • Netsh advfirewall command-line tool

For more information about how to use tools to configure Windows Firewall settings, see Getting Started with Windows Firewall with Advanced Security.