Job Management Partner 1/Software Distribution Administrator's Guide Volume 2
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.
This command includes three functions.
dcmwsus.exe SYNCHRONIZE /w URL-of-WSUS-server /o full-path-of-execution-result-output-file [/u user-name][/p password] [/LC {ON|OFF}]
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}]
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}]
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:
|
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:
|
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.
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.
dcmwsus.exe SYNCHRONIZE /w http://wssrv001:80/netmWS /o C:\temp\wsussync.txt
dcmwsus.exe GROUP_CREATE /w http://wssrv001:80/netmWS /g Group1 /o C:\temp\wsuscreate.txt
dcmwsus.exe CLIENT_LIST /w http://wssrv001:80/netmWS /o C:\temp\wsuscltlist.txt
All Rights Reserved. Copyright (C) 2009, 2013, Hitachi, Ltd.
Copyright, patent, trademark, and other intellectual property rights related to the "TMEng.dll" file are owned exclusively by Trend Micro Incorporated.