Solved

How to Automate the initial configuration of a ghosted Windows XP client

Posted on 2012-03-30
2
453 Views
Last Modified: 2012-04-05
Hi,

Our current WinXP client deployment process is as follows:

1.) Attach USB pen drive with standard WinXP SP3 ghost image to new PC/laptop
2.) Boot new workstation/laptop with bootable ghost disk, browse to .GHO image and restore to disk
3.) Boot machine up, let sysprep complete
4.) Enter TCP/IP info (IP address, mask, gateway, DNS, WINS)
5.) Rename PC and join to domain
6.) Reboot PC
7.) Log in with user account
8) Configure Outlook 2007 client wizard
9) Configure Internet Explorer setup wizard

Process completed.

Is there anyway of automating any/all of the boot steps?

e.g. Getting ghost to use an unattend file/startup script to run the above tasks?

HELP!

Thanks,
Fin
0
Comment
Question by:cpadm
2 Comments
 
LVL 12

Accepted Solution

by:
Daz_1234 earned 500 total points
ID: 37790997
The short answer is 'yes', most of the steps can be automated.  The trouble is that in a short question you have actually asked for a large amount of work.  Normally questions on this site are either, 'help me adapt my script / script part' or 'please show the method to do this single thing'.

You are asking for a complete automated solution, which could easily be split into many questions:
1. how to automate the ghost command line
2. automate the configuration of static ip information
3. rename a PC and join to a domain
4. automate Outlook 2007 configuration
5. automate IE configuration.

I'll try to give you a few pointers, then when you have something, if you need further help you can ask another question.  

When the ghost disk boots, what is the OS?  DOS? WinPE?  Does it automatically run the ghost program?  If it does then it is automatically firing a batch file.  Whatever the batch file is, you should be able to edit it to amend the ghost.exe command line.

This raises the next question: Is the flash drive you insert always assigned the same drive letter?  If it is then the ghost command line is easier to set up.  This link is to a list of command line switches for Ghost:

http://www.symantec.com/business/support/index?page=content&id=TECH130961&locale=en_US

This batch snippet will show you how, in batch, work out which letter the flash drive is, if it is not consistent:
for %%a in (G H I J K L M N O P Q R S T U V W X Y Z) do (
  if exist "%%a:\yourfilename.gho" (
    set FLASH_DRIVE=%%a
  )
  ghost.exe  -CLONE,MODE=LOAD,SRC="%FLASH_DRIVE%:\yourfilename.gho", .... .... .... ... ... etc.

Open in new window


How to execute tasks automatically after a sysprep:

http://technet.microsoft.com/en-us/library/cc780201(v=ws.10).aspx

Set IP Address via a batch file:

http://samanathon.com/set-your-ip-address-via-batch-file/

VBscript to rename computer and join domain:

http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_23741845.html

For IE I recommend that you either create an installation using the IEAK, or install it via Windows Update or WSUS and use GPO to set the defaults.

For automating Outlook, there are many dedicated Outlook experts on here (I am not one of them) that would be more than happy to give you detailed answers.

Good Luck!
Daz.
0
 
LVL 1

Author Comment

by:cpadm
ID: 37794123
Cheers for that Daz.

I found an article about Outlook autoconfiguration:

http://www.msexchange.org/tutorials/uncovering-new-outlook-2007-discover-service.html
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
RoboCopy to Changing External Drives 2 39
Windows XP on domain not allowing domain admins to RDP in 10 70
regedit.exe REG ADD problems 2 37
ASP CDO - Limiting Connections 2 41
I have published numerous articles here at Experts Exchange that present programs/scripts written in a language called AutoHotkey. Each of those articles has a brief paragraph describing where to download the product and how to install it. I have al…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now