KenHarrison Posted October 24, 2006 Posted October 24, 2006 Hello AllI am working on a Universal Build at the moment using a seried of add-on images through Novell ZenWorks.I am 90% complete but for a curly problem.I have the base image that will build on any machince regardless of hardware. This is an image of a Sysprep'ed machine including scripts to install drivers, network cards, Novell network client and ZenWorks agent.I use the cmdlines.txt and the runonce setting to perform the tasks I need performed.Novell ZenWorks provides us with the ability to automate our application deployment to the desktop using policies. It is a wonderful product.The Agent that is installed on the desktop to provide this functionality is also responsible for registering the workstation into E-Directory (no we dont use Active Directory as there is no need) by creating an object of the workstation and it stores information of the workstation in a linux partition on the local hdd. this is known as the Zen Information Safe Data (ZISD) store ; it is in fact the workstations identity.The ZISD enables us to, for instance if we were to rebuild the workstation, recover the original NetBIOS name (and other things) so the user is returned to the exact state prior to the rebuild. A number of other things happen behind the scene, but for the purpose of this post, that should do it.Heres how it goes:Base Image and Driver Download1. The base scripted image is downloaded from a PXE server2. The driver add-on images are also downloaded from the same PXE serverThe workstation reboots.The Windows scripted install startsCmdline.txt starts3. the workstation is names or its existing name is extracted from the ZISD partition4. the drivers are installed5. the Novell Client is installedThe workstation automatically logs into windowsRunOnce is executed6. The autologon command is executed7. The ZisWin.exe is added to the workstation load8. Next Runonce command added to registry9. The Zen Agent is installedThe machine rebootsWindows loads10.a. At this point the ZisWin.exe the imaging agent of Zenworks searches for the linux partition. If it finds the linux partition, and information, it refreshes the information (amongst other things). This takes about 15 - 60 seconds.10.b. If a ZISD partition is found the workstation is rebooted after the refresh is performed otherwise it continues11. The workstation automatically logs into E-Directory12. The workstation is registered or re-registered depending on the existence of the ZISD partition13. The Novell client and agents are updatedThe workstation is rebootedThe workstation automatically restarts and logs back into the network14. Hotfixes are applied15. The applications are automatically deployed to the workstation16. Policies are applied17. Registry entries reveresed for autologonThe workstation is rebootedThe workstation is ready to be delivered to the client.So what is the problem?Well. Steps 10.a. and 10.b. are the problem. Everythign else works perfectly.You see the step where the Imaging Agent (ZisWin.exe) looks for and finds a linux partition with ZISD infromation needs to complete before the autologon takes place. If the machine logs on before the refreshing has finished it screws up the registration process and the applications will not automatically deploy later on because the ZenWorks caches has been screwed.I cant think of a way to get the agent to perform its task and delay the autologon process long enough that it either reboots at the completion of the refresh and then autologs on, or it simply continues on if no ZISD partition is found.Maybe instead of loading the ZisWin.exe in the registry I could have it called from a batch file along with a wait command. But this wont work because the logon process will not wait for the job to finish.I would be much appreciative if someone could help me out.Cheers
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now