| Turning on the ZWSREG.LOG File |
| ZENworks Cool Solutions Article |
ZWSREG.EXE is the replacement for the ZFD3.x WSREG32.EXE. To use the executable, here are the command line options:
Usage: zwsreg [options]
Options:
-importserver
-importpolicy
-importws
-unreg
Examples
One feature is the ability to import without setting up an import server or resolving ZENWSIMPORT through DNS or Hosts:
zwsreg -importserver none -importws mywsDN.novell
The logged in user must have create rights in ORDER to create the workstation without using an Import Server. If you want to unregister a workstation:
zwsreg -unreg
The registry can also be populated instead of using command line. The location would be HKLM\\Software\\Novell\\ZENworks\\ZENWSREG. You will have to create the ZENWSREG as this key is not there by default. Then, create String Values for one or more of the following:
- ImportServer (value is either "none" or the IP-or-DNS name of your Import Server. If set to none, the ImportWS key must exist and be populated)
- ImportWS (value is the DN of the workstation object that you want to create. The user will have to have rights to create the object in the desired location)
- ImportPolicy (value is the DN of the desired Import Policy)
- To enable the Automatic Workstation Import advanced output to the Program Files\\Novell\\ZENworks\\ZWSREG.LOG file, create the following registry key:
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Novell\\zenworks\\zenwsreg] "LogLevel"=dword:00000002
Acceptable values are 0-2, 2 being advanced output. The Agent side Automatic Workstation Import debugging is not enabled by default.
- To obtain the Automatic Workstation Import advanced output of the Server side SYS:\\ZENWORKS\\ZENWSIMP.LOG file or SYS:\\ZENWORKS\\ZENWSREM.LOG, edit the SYS:\\SYSTEM\\ZENWSIMP.NCF OR SYS:\\SYSTEM\\ZENWSREM.NCF with these values:
-Dlogfilelevel=3 -Dloglevel=3
Dlogfilelevel is how verbose the logging is to SYS:\\ZENworks\\ZENWSIMP.LOG and Dloglevel is how verbose the output is to the Import Screen on the server.