Welcome to Argon Technology's forum. You will need to register in order to post articles in this forum and or to download any software from this website.

You must register with your proper name and email address. Any registrations that lack proper user information will be deleted from our system.

All previous users must register again, since we have changed the format of our forum with the current website update.


Guest
Guest
useravatar
User Info

CDS and Images

    When I select a menu item that loads WinPE image, it stays assigned to that client until I manually remove the assignment.  Is it possible to have it automatically remove it?  Otherwise, the next time that client boots, it doesn

basat
useravatar
User Info

Re: CDS and Images

You should assign your clients the default.ldr file or a  non-destructive menu file by default.  Then use temporary assignment to assign to a deployment boot image or configuration option.  You should also modify the deploy.cmd  (or ghost.cmd) so that the SETTAG is executed in the :END section.  Play the attached AVI files from the cds.zip file for a demonstration.

In order for CDS to fully supported Vista, you must use WinPE v2.0.  The current version of CDS uses WinPE v1.5.   In the meantime,  you can coax CDS to support Vista by  copying the WinPE 2.0 files to the appropriate  directory and tweaking the clients.xml file.  Read on..

Unlike WinPE v1.50, network booting WinPE 2.0 uses the new Windows Image (.wim) instead an .ISO image file.  As a result, the tools and process for building a .wim differs drastically as well.   The new imageX utility is used to mount the wim image file  with read and write access.  The PEimg utility is used to add drivers to the mounted wim file.

Microsoft provides all the required in tools and files to fine tune the default winpe.wim file to suite your needs.  Unfortunately, the accompanying document provides inaccurate instructions.  To better automate the process of integrating WinPE 2.0 with CDS, I have written 2 batch scripts: Make_WinPE.cmd and UpdateCDS.cmd

Make_WinPe.cmd adds 3rd party network drivers and vmware drivers to the default winpe.wim image.  UpdateCDS.cmd copies the necessary files to ClientDeployment\Boot directory.    The files in this directory will be used exclusively for PXE booting WinPE 2.0.  Additional files and batch scripts are injected in the winpe.wim so that it behaves similarly to the standard CDS winpe.iso image at boot time.  The customized files and scripts are found in the ClientDeployment\CDS directory.  Note that the Windows Automated Installations Kit (WAIK) must be installed to run these scripts successfully.

CDS must be configured to start the Boot\pxeboot.n12 boot loader.  The pxeboot.n12 loader will in turn load the additional files required to complete a successful PXE boot.  To do this you must modify the ClientDeployment\clients.xml file using your favorite text editor and change the Image value to Boot\pxeboot.n12.   Example,

<Clients>
<Client Name="client1" Address="000C2911F109" Image="Boot\pxeboot.n12" />
<Client Name="default" Address="????????????" Image="Boot\pxeboot.n12" />
</Clients>

You must also copy the bootmgr.exe file to the ClientDeployment directory.

References
http://www.microsoft.com/downloads/deta … laylang=en
http://www.msfn.org/board/index.php?act … mp;t=81802
ClientDeployment.zip
cds.zip


basat
useravatar
User Info

Re: CDS and Images

Good question.  Normally CDS uses a single ISO image for all OS deployments - scripted or disk imaging.  Since all deployments are initiated the same way, we focus on changing the "worker"  scripts not the ISO itself.  When WinPE starts, it executes the startnet.cmd script which in turn executes the startnet2.cmd script.  The startnet2.cmd script uses tftp download the worker script (deploy.cmd or ghost.cmd) from the server then execute said worker script as shown below.

----startnet2.cmd----

x:tftp %script% %serverip% %localip%
if errorlevel 1 goto error
x:getconfiginfo %script%
if errorlevel 1 goto error
%script%

:error
echo There was an error.

------------------------------

In the case of  WinPE 2.0, we use the same method.    A single .wim image but multiple worker scripts.  You can create as many worker scripts as you need.  Just change the Script value in the clients.xml file as needed.  In the example below, you will notice that the Vista configurations all use the same image, pxeboot.n12, but different scripts.  The startnet2.cmd within the .wim image is responsible for downloading the script assigned to each Configuration.  I created a menu called default.mnu that lists all the Configurations. The T154 variable stores the name of the unattended.xml file to use for each Vista configuration.


<CDS>
<Clients> 
  <Client Name="pcsales1" Address="00164154E78D" Image="default.ldr" />
  <Client Name="pcsales2" Address="000C29B48BEA" Image=" default.ldr" />
  <Client Name="lamktg8" Address="0015582E7BDC" Image="default.ldr" />
  <Client Name="lamktg11" Address="0013D4D46F67" Image=" default.mnu" />
  <Client Name="default" Address="????????????" Image="default.mnu" />
</Clients>
<Deployment Options="T140='\\fs1\deploy':T141='argon\deployer InstallM3'">   
  <Config Name="Join GhostCast Session" Image="winpe.iso" Script="ghost.cmd" Options="T150='Join GhostCast Session':T160='\ghost\':T161='GhostCast':T162='deploy'" />
  <Config Name="Ghost - Dump 2 FS1" Image="winpe.iso" Script="ghost.cmd" Options="T150='Ghost - Dump 2 FS1':T160='\ghost\':T161='Create':T162='glenda.gho '" />
  <Config Name="Install Windows Vista-Sales" Image="pxeboot.n12" Script="sales-vista.cmd" Options="T150='Windows Vista for Sales':T153='\vista':T151='size=60000':T152='NTFS':T154='scripts\sales.xml'" />
  <Config Name="Install Windows Vista-Marketing" Image="pxeboot.n12" Script="marketing.cmd" Options="T150='Vista for Marketing Group':T153='\vista':T151='size=60000':T152='NTFS':T154='scripts\mktg.xml'" />
  <Config Name="Install Windows Vista-Default" Image="pxeboot.n12" Script="vista.cmd" Options="T150='Install Windows Vista':T153='\vista':T151='size=40000':T152='NTFS':T154='scripts\vista.xml'" />
</Deployment>
</CDS>


Guest
Guest
useravatar
User Info

Re: CDS and Images

I

Guest
Guest
useravatar
User Info

Re: CDS and Images

Hi all,

I was wondering if this issue regarding the manual removal of the client from its assignment has been resolved on the server side?

We've been base testing this and have also noted that it is an extra step to have to go into the console to manually delete each entry once its been completed.

Also, has anyone had any success using WINPE 2.0 with CDS?


Any assistance on this would greatly be appreciated.[em01]

Guest
Guest
useravatar
User Info

Re: CDS and Images

See my solution here:

http://www.argontechnology.com/forum/ShowPost.aspx?ThreadId=610

Guest
Guest
useravatar
User Info

Re: CDS and Images

I have to agree Jonathan. We here are going to wait for Argon to upgrade CDS instead doing all of these work arounds for something that should already be incorporated into it. We're looking for WinPE 2.0 out of box functionality, the removal of the client from the database automatically (even if client fails before it has a chance to remove itself). There are just too many modifications that need to be made right now. We understand from Argon that an upgrade is in the works and should be released within the next month or so. However, we don't know what this actual upgrade will include, enhance or even fix. Lets cross our fingers.

RB  [em04]

Board Info

Board Stats:   Total Users: 963  Total Topics: 333  Total Polls: 0  Total Posts: 1058  Dormant
User Info:   Newest User :  purchasing@hdwn.com   Members Online: 0   Guests Online: 37
Online  There are no members online
Topic
New
Locked
Topic
New
Locked
Sticky
Active
New/Active
Sticky
Active
New/Active
New/Closed
New Sticky
Closed/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky Active Locked
Active/Sticky
Sticky/Locked
Sticky/Active/Locked