Job Management Partner 1/Software Distribution Administrator's Guide Volume 2

[Contents][Glossary][Index][Back][Next]

4.25 dcmwsus.exe (executing WSUS synchronization)

This section explains the dcmwsus command, which synchronizes a downstream WSUS server with the top-level WSUS server when linked in a chained WSUS server environment. You can execute this command on the managing server for JP1/Software Distribution Manager. This command does not use a parameter file.

Organization of this section
(1) Function
(2) Format
(3) Arguments
(4) Notes
(5) Return codes
(6) Examples

(1) Function

This command includes three functions.

(2) Format

Performing WSUS synchronization
dcmwsus.exe SYNCHRONIZE /w URL-of-WSUS-server
                        /o full-path-of-execution-result-output-file
                        [/u user-name][/p password]
                        [/LC {ON|OFF}]

Registering clients into a WSUS computer group
dcmwsus.exe GROUP_CREATE /w URL-of-WSUS-server
                         /g name-of-host-group
                         /o full-path-of-execution-result-output-file
                         [/u user-name][/p password]
                         [/LC {ON|OFF}]

Output of a list of clients registered in a WSUS computer group
dcmwsus.exe CLIENT_LIST   /w URL-of-WSUS-server
                          /g name-of-WSUS-computer-group
                          /o full-path-of-execution-result-output-file
                          [/u user-name][/p password]
                          [/LC {ON|OFF}]

(3) Arguments

(4) Notes

(5) Return codes

The following explains the return codes that the dcmwsus command may return:

Code Meaning Action
0 The command terminated normally. None.
2 Invalid value in command argument. Check the values specified in the command arguments.
3 A connection to the specified WSUS server (WSUS Linkage) could not be established. Check for the following to determine if there is a problem with the WSUS server or WSUS Linkage:
  • Invalid URL for the WSUS server
  • Problem with the startup status of the WSUS server
  • Error at the WSUS server
  • WSUS Linkage not installed
  • Incorrect Microsoft .Net Frameworks configuration
  • Incorrect Microsoft .Net Frameworks version
  • Abnormality in the network between WSUS servers
4 Unable to open the result output file. Check the result output file specification.
5 A communication error at a WSUS server (WSUS Linkage) occurred while processing was underway. Check for the following to determine if there is a problem with a WSUS server:
  • Problem with the startup status of a WSUS server
  • Error at a WSUS server
  • Abnormality in the network between WSUS servers
6 The specified group does not exist, an invalid character was specified, or too many characters were specified. Check the group name specified in the arguments.
7 No computer group was created. Check if a WSUS computer group was created for the top-level WSUS server. If one was created, perform synchronization. If one was not created, create a WSUS computer group for the top-level WSUS, and then execute synchronization.
Wait a while, then re-execute the command.
8 An error occurred at a WSUS server. Check the result output file.
12 Some other error occurred. Check the event log.
13 The user name or password is invalid. Check the specification of the user name and password.
15 Another process is currently performing processing targeting the WSUS server. Wait a while, and then re-execute the command.

If JP1/Base is linked to manage JP1/Software Distribution users, see 1.3.3 Setting for executing commands.

(6) Examples

The following are examples of performing WSUS synchronization, of registering clients into a WSUS computer group, and of output of a list of clients registered in a WSUS computer group.

To perform WSUS synchronization:
dcmwsus.exe SYNCHRONIZE /w http://wssrv001:80/netmWS /o C:\temp\wsussync.txt

To register clients into a WSUS computer group:
dcmwsus.exe GROUP_CREATE /w http://wssrv001:80/netmWS /g Group1 /o C:\temp\wsuscreate.txt

To output a list of clients registered in a WSUS computer group:
dcmwsus.exe CLIENT_LIST /w http://wssrv001:80/netmWS /o C:\temp\wsuscltlist.txt