Deploying a Base Image Plus Addons
Since we work in a school environment with a number of different labs and a number of different applications, using ZENworks to create workstation image objects using a base image with addon images for each of the labs is the way to go for us. The problem is, to get all those addons to install requires the lab manager to first image the machine, log in and run NAL to install the addon apps, then reboot so the workstation will be ready for users.
本文引用自Novell迷网站
How about automating the entire process so that after imaging the workstation automatically reboots, logs in as the local admin, runs NAL to install any addon images or cached NAL objects, and then reboots once more to finally rest at the Novell login screen ready to go with all apps installed?
This can be done by combining cool tools found on this site with a batch file and registry settings into a single package. To go a step further, you can also include the option to clear any old zis information from the workstation and name it at the same time. We are using W2K, but the process should be the same. 内容来自Novell迷网站
Before sending an image up to your network, do the following: http://Novell.Me
- Create a ZMG folder under the Winnt folder and put the Runme.bat file and the two .reg files below in that folder. Also copy three other cool tools that can be found at this site, WSName, NCShtDwn, and ZisClearnt into this folder.
- Run InitialSetup.reg which will prepare the workstation by having the batch file run once after imaging, and will set it for autoadminlogon with the local administrator account. Be sure to edit this file before running, and put in your local administrator name and password.
What Will Happen
After imaging, the workstation will login locally as an admin user, run the batch file which will run NAL to install any addon images, remove the autoadminlogon feature from the registry, and then reboot. At this point, all addon images will have installed as NAL objects and the workstation will be ready to go. 版权所有,未经Novell迷允许,不得转载!
We have been using this technique for over a year now, and it saves a lot of tech time since they no longer have to manually login to each machine, run NAL to install apps and reboot before the machine is ready. The only pause in the process will occur if you wish to name the workstation.
以下为引用的内容: InitialSetup.reg Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Runonce] "runme"="c:\\winnt\\zmg\\RUNME.bat" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "DefaultUserName"="ADMINNAME" "AutoAdminLogon"="1" "DefaultPassword"="ADMINPASSWORD" "System"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Novell] [HKEY_LOCAL_MACHINE\SOFTWARE\Novell\login] "DefaultUserName"="ADMINNAME" 内容来自http://novell.me "AutoAdminLogon"="1" "DefaultPassword"="ADMINPASSWORD" "AutoAdminQueryNDS"=dword:00000000 "Workstation Only"=dword:00000001 Winlogon2.reg Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "DefaultUserName"="" "AutoAdminLogon"="0" "DefaultPassword"="" "DefaultDomainName"="" "System"="ziswin.exe" [HKEY_LOCAL_MACHINE\SOFTWARE\Novell\login] "DefaultUserName"="" "AutoAdminLogon"="0" "DefaultPassword"="" "AutoAdminQueryNDS"=dword:00000001 "Workstation Only"=dword:00000000 RUNME.bat REM###REMOVE THE rem FROM THE FOLLOWING THREE LINES TO CLEAR ANY OLD ZIS INFORMATION AND RENAME THE WORKSTATION## 内容来自Novell迷网站 rem "c:\Program Files\novell\zenworks\zwsreg.exe" -unreg rem c:\winnt\zmg\zisclearnt.exe rem c:\winnt\zmg\wsname.exe /noreboot rem ###The next line stops the Auto Admin Login.### c:\winnt\regedit.exe /s c:\winnt\zmg\winlogon2.reg rem###Run NAL and unload "c:\Program Files\Novell\Zenworks\nalwin32.exe" /u rem ###This forcibly reboots the PC.#### c:\winnt\zmg\ncshtdwn.exe /7 |
本文地址 http://novell.me/zenworks/2009/0501/Deploying-BaseImage-Addons.html
(责任编辑:Novell迷)