Top
Systemwalker Software Configuration Manager Reference Guide
FUJITSU Software

1.2.12 swcfmg_register_repsv (Connection Destination Repository Server Registration Command)

Description

This command registers the repository server to which the server where this command is executed will connect.

Synopsis

[Windows]

swcfmg_register_repsv.bat wsus -to <Connection destination IP address> [-p <Connection destination port>] [-f]

Options

wsus -to <Connection destination IP address> -p <Connection destination port>

This option can only be used with Windows. Specify this option when WSUS is used. Specify the IP address and port number for the connection destination WSUS server.

The system must be restarted if this option is specified when the command is executed.

In environments where WSUS agents have already been set up by executing this command, the following prompt will be displayed when this command is executed.

Overwrite the setting of WUA (Y/N)?

Entering "Y" sets up the WSUS agent again. Entering a character other than "Y" does not set up the WSUS agent again.

If this option is specified, registry keys will be set up using the data shown in the following table.

Path

Key

Value

Description

Remarks

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate

WUServer

http://<Connection destination IP address>[:<Port number>]/

Specifies the HTTP URL for the WSUS server.

The "port number" is set only if the "-p" option has been specified.

WUStatusServer

http://<Connection destination IP address>[:<Port number>]/

Specifies the HTTP URL for the WSUS server to which report information relating to the business server will be sent.

This key is set to the same value as the "WUServer" key.

The "port number" is set only if the "-p" option has been specified.

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU

AUOptions

3: Automatically download and make installation notifications.

Sets up the behavior for automatic updates.

The value for this key will not be changed if it has been set already.

Moreover, the value will not be changed even if the user responds with "Y" to the prompt "Overwrite the setting of WUA (Y/N)?".

UseWUServer

1: Use a WSUS server.

Enables patch management by WSUS.

The value for this key will not be changed if it has been set already.

Moreover, if this key exists, the value will not be changed even if the user responds with "Y" to the prompt "Overwrite the setting of WUA (Y/N)?".

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate

SusClientId (*1)

Must be reallocated

Identifies WSUS clients in the WSUS system.

*1: The "SusClientId" is a key for identifying WSUS clients in the WSUS system, and must be unique among all WSUS clients. However, there are cases where multiple WSUS clients share a single SusClientId, so reallocate the ID in such a way that it is unique.

-f

This option is used to suppress prompts and configure WSUS agent settings forcibly.

Return value

Return value

Meaning

0

The command has terminated normally.

1

The command has terminated abnormally.

2

Processing was terminated by the user.

This value is returned when a character other than "Y" is entered in response to the "Overwrite the setting of WUA (Y/N)?" prompt.

Command location

Admin server

[Windows]

<Systemwalker Software Configuration Manager installation directory>\SWCFMGM\tools

[Linux]

/opt/FJSVcfmgm/tools

Privilege required/execution environment

[Windows]

Cautions

Example

[Windows]