Auto registration failure after initial deployment

  • 7002277
  • 31-Dec-2008
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management with Support Pack 1 - 10.1

Situation

After deployment and reboot, workstations do not automatically register into the zone.  Only a manual zac reg will allow the sucessful registration.

Resolution

As a workaround, you can use the deployment scripting task to create a run once task to explicitly register with zac reg:
 
  1. Configure a deployment task with the options you wish.
  2. In the Pre/Post Deployment tab add a post deployment task that will run the following:
    c:\windows\regedit.exe and the arguments /s test.reg
  3. The registry key is applied to the workstation at the end of the agent installation.
  4. The workstation is rebooted and when the user logs in, the key is processed and the rereg.bat is run.
  5. Registration will complete successufully.

content of test.reg :

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
"rereg"="
\\\\shareserver\\path\reReg.bat "

content of reReg.bat :

rem @echo off
"c:\program files\novell\zenworks\bin\zac.exe" reg -u {user}-p {user_pwd}  https://{zenserver_name} >> c:\zac2.txt
 

Additional Information

In the case of this failure, the reason was that the workstation had been migrated using the ZEN migration tool, then deleted from the ZCC.  Since deleted objects won't re-register automatically, explict registration was required.