Problem: If the computer name of a machine is used as part of the NDS workstation name in the Workstation Import policy, changes on the machine to the computer name are not automatically updated in the Workstation object's name. This will cause workstation registration to use an incorrect computer name to register the workstation.
However, the Workstation object that did not get its name updated will still be a valid object for ZfD. All ZfD components will still be able to access and use that object.
Possible Cause: Windows deals with computer names in a way that causes this problem. Consider the following scenario:
This leaves the tree with two Workstation objects for the workstation---one that it recognizes (the newer object) and one that is still valid to ZfD but is now orphaned.
Explanation: Some background on the two agents will explain why this scenario causes a problem. ZfD imaging delivers the image-safe data agent (ZISWIN.EXE) back to the Windows environment to facilitate the restoration of some vital configuration information following imaging operations. Another purpose of the agent is to pre-configure new machines with IP, workgroup, and computer name information.
Properly installed, ZISWIN.EXE runs during the Windows start-up process, but does not run early enough in the process that it can change the computer name of the machine before Windows reads and caches that name in memory. Therefore, although ZISWIN.EXE has changed the computer name, until the machine is rebooted any request to Windows for the computer name will return the older name.
The Workstation Registration agent is a component of the Workstation Manager Scheduler, which runs as an NT service. The Scheduler is loaded shortly after ZISWIN.EXE has run. In the case where ZISWIN.EXE has changed the computer name, when the registration agent runs and asks Windows for the computer name, Windows gives the agent the older name.
In the scenario where the computer already has a workstation object, or in the case where the computer name is not part of the name specified by the Workstation Import policy, then this should not cause any problems.
However, if this computer does not yet have a Workstation object and the Workstation Import policy specifies that the computer name should be used as part of the Workstation object's name, the import process will create a Workstation object using the older computer name. This could quickly become confusing in ConsoleOne® when all workstations would have similar names with only the MAC address to distinguish between them.
Action: There are two possible actions:
This will cause the workstation to be associated with only one valid Workstation object and not leave an orphaned Workstation object in the tree.