How to perform a Scripted installation of Windows 7 x86 with Symantec Ghost Solution Suite




Дата канвертавання28.04.2016
Памер59.66 Kb.

How to perform a Scripted installation of Windows 7 x86 with Symantec Ghost Solution Suite


Ghost Solution Suite is one of the industry's most widely used imaging and migration solution, however one of the features that the product is lacking from his big brother Deployment Solution 6.9 or 7.1, is the possibility to perform a Scripted OS Installation with predefined jobs.

Following this article you will be able to PXE boot up a bare metal machine and  kick off a scripted OS installation of Windows 7, simply applying a Task from the Symantec Ghost Console.

For a quick overview of the Scripted OS Install vs. Imaging process, you can watch this video on our forum:

http://www.symantec.com/connect/videos/scripted-os-install-vs-imaging-windows-7

Topics Covered:



  1. PXE services configuration

  2. Windows 7 source files with unattend.xml and Ghost client folder setup

  3. Creation of the WinPE "TCP/IP Network Ghost Client Boot Image"

  4. Configuration of the "Software and File Action" task

  5. Scripted OS install Task execution


  1. PXE services configuration


  1. This article does not include the procedure to create a PXE server to boot WinPE, as it is already documented in many other Knowledge base articles:

How to use the TFTPD32 TFTP Server with Symantec Ghost Solution Suite 2.5 to distribute Windows PE packages via PXE

or

How to use the 3Com Boot Services (and SolarWinds TFTP) with Symantec Ghost Solution Suite 2.5 using WinPE



  1. Windows 7 source file with unattend.xml and Ghost client folder setup


  1. Create a new folder (i.e. ScriptOS) share it and copy the sources folder from the Windows 7 x86 installation DVD. (Since the Ghost Boot Wizard creates only x86 WinPE you can’t deploy a 64 bit version of Windows, unless you build a 64 bit WinPE and add it to your PXE server).

  2. Under the sources folder create a $OEM$ and inside create $1 and $$ folders

  3. Under $1 copy the ClientInstall folder from C:\Program Files\Symantec\Ghost\

  4. Under the $$ folder create a Setup folder and under Setup create a Scripts folder



  1. Go to the Scripts folder and create a text file, copy and paste the following content:

“C:\ClientInstall\client.msi” /qn

  1. Save the text file and rename it setupcomplete.cmd

  2. Create a new text file, copy and paste the content below and rename it unattend.xml, then copy the answer file in the sources folder. Before using the text below please consider the following points:

  • Make sure to edit and modify the red sections in the answer file according your environment

  • The sample below will format disk 1 and create one System partition of 100 MB, the remaining space of the disk will be used for the Boot partition

  • If you need to customize the answer file or add drivers I recommend to install and use the Windows AIK











4

1









TYPEYOURDOMAINNAME

TYPEYOURPASSWORD




TYPEYOURUSERNAME



TYPEYOURDOMAINNAME












TYPEYOURPASSWORD

true


TYPEYOURDOMAINNAME

true

1

TYPEYOURUSERNAME







TYPEYOURADMINPASSWORD

true







ClearType







true

true

Work

1


true

true







0409:00000409

en-US

en-US

en-US

en-US











en-US



1

en-US

0409:00000409

en-US

en-US

en-US













2

Primary

true





1

100

Primary





true

0





false

false

NTFS

2

2




C





1

1


true

false

NTFS









OnError




OnError

TYPEYOURPRODUCTKEY
true

TYPEYOURNAME

TYPEYOURORGANIZATIONNAME











TYPEYOURDOMAINNAME

TYPEYOURPASSWORD




TYPEYOURUSERNAME


z:\sources\install.wim








0

2

















  1. Creation of WinPE "TCP/IP Network Ghost Client Boot Image"


  1. From the Ghost Console go to Tools and select Boot Wizard, select Windows PE [Default]



  1. Select "TCP/IP Network Ghost Client Boot Image" and click next



  1. Click next again



  1. Type Username, password and domain/workgroup name and assign a letter to the share you created before in point 2.a. The drive letter must match the letter contained in the unattend.xml file under “install path”



  1. Click next



  1. Click next

  2. Select the location of your TFTPBOOT folder (make sure to complete the PXE configuration as described in the KB article in point 1) Type a name for your boot image and click Next.



  1. Click next


  1. Configuration of the "Software and File Action" task


  1. Open the Ghost Console, go to Tasks, right-click and select New Task.

  2. Type a Task Name and check the Software and File Action Task box



  1. Click the Software and File Actions tab then click Add.., and select Execute Command

  2. Click next and type the following command: z:\sources\setup.exe /unattend:z:\sources\unatten.xml

  3. Select Execute command in the Ghost Partition and click Next



  1. Check the Wait for the command to finish executing fefore continuing the task box then click Finish



  1. Click save and close.


  1. Scripted OS install Task execution


    1. Now you are ready to PXE boot your client(s). When the Ghost client starts communicating with the Ghost server you should see the client’s MAC appearing in the Ghost Console.





    1. Right-click the Task configured on point 4 and Select Execute, on Target Machine Group/Machine click Browse… select your target machine or the folder where your machines are located if you want to run the task on multiple machines.

    2. Click OK then Save and Execute



    1. Now the Task will kick-off the Setup process on the client machine.



    1. The Windows setup will install the Ghost client on the machine and report back to the console when the task is completed







База данных защищена авторским правом ©shkola.of.by 2016
звярнуцца да адміністрацыі

    Галоўная старонка