9.3 Using Zwsreg.exe

In previous versions of ZENworks for Desktops, wsreg32.exe and unreg32.exe handled workstation import and removal functions. In ZENworks Desktop Management 4.x or later, zwsreg.exe replaces both files.

The syntax for zwsreg is as follows:

zwsreg option

You can use the following options with zwsreg:

Table 9-1 Zwsreg.exe Startup Options

Option

Explanation

-importserver server_ip_address

Specifies the IP address of the import server. If you specify None or 0 for the import server, you can import workstations without setting up an import server. To do this, however, the user must have sufficient rights and the Novell Clientâ„¢ must be installed on the workstation.

-importpolicy policy_DN

Specifies the DN of the effective Workstation Import policy.

-importws new_workstation_DN

Specifies the DN of the workstation to be imported. You can specify a custom workstation DN to override the effective Workstation Import policy.

-version 3_or_4

Specifies whether the workstation to be imported is a ZENworks for Desktops 3 or a ZENworks for Desktops 4 workstation. The 4 setting is the default and works for ZENworks for Desktops 4 and newer.

-unreg

Clears the registry.