Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Location sysprep.inf after task "Prepare for Image capture"

Created: 03 Oct 2012 • Updated: 04 Oct 2012 | 13 comments

Hello,

I'm new to Symantec Deployment Solution and starting to build a new image.

I want to use a custom sysprep file but I can not find the sysprep.inf after the "Prepare for Image capture" task.

Where can I find the sysprep.inf file?

The job I created:

First boot to Automation then:

1. "Prepare for Image capture"

2. "Create Image"

3. "Reboot to Production"

We are using version 7.1.

Comments 13 CommentsJump to latest comment

andykn101's picture

The process is that you create your own sysprep.inf file and call that in the "Deploy Image" task.

If you don't use your own, Altiris will create one and copy it down to the image after it is deployed but before the PC is rebooted, I think it uses the one here as a template:

E:\Program Files\Altiris\Notification Server\NSCap\bin\Win32\X86\Deployment

So you might be able to edit that for post imaging sysprep tasks, but I'd create my own and call that.

If you want to use a custom sysprep.inf file at the -reseal stage I think you just copy it down before the "Prepare for image capture task".

Authorised Symantec Consultant (ASC) with Endpoint Management Limited, an Authorised Symantec Delivery Provider based in the UK.

Connect Etiquette: Please "Mark as Solution" posts that fix your problem.

Mr. V's picture

Andy,

Thank you for your answer!

Should I include the Altiris Agent in the newly build image?

andykn101's picture

Yes, see the sticky post "The SMP agent CAN and SHOULD be cloned" at the top of this forum:

http://www.symantec.com/connect/forums/smp-agent-can-and-should-be-cloned-thomas-baird

Authorised Symantec Consultant (ASC) with Endpoint Management Limited, an Authorised Symantec Delivery Provider based in the UK.

Connect Etiquette: Please "Mark as Solution" posts that fix your problem.

Mr. V's picture

If you see my steps:

First boot to Automation then:

1. "Prepare for Image capture"

2. "Create Image"

3. "Reboot to Production"

Do I have to use first Sysprep? I still get the same SID!

andykn101's picture

Assuming you are using XP have you installed the XP sysprep files to the NS?

I think you need to deploy the image to a new PC to get a new SID.

I usually:

  1. Get my image ready
  2. Take a backup image (in case sysprep fails)
  3. Prepare for image capture
  4. Create image
  5. Shutdown.

Then I test the image by deploying it to another PC.

Authorised Symantec Consultant (ASC) with Endpoint Management Limited, an Authorised Symantec Delivery Provider based in the UK.

Connect Etiquette: Please "Mark as Solution" posts that fix your problem.

shailesh_mali@symantec.com's picture

I am not sure, if you are running prepare for image capture task from production or automation, But it should be ideally run from Production for sysprep to work.

As you described your steps As

First boot to Automation then:

1. "Prepare for Image capture"

which I think should not work.

andykn101's picture

Good point, I missed that. You should have the Symantec Management Agent in the image and start from Windows. Then run the "Prepare for image" Task in windows, this wil reboot to the Automation method you select in the Task for you after it has run sysprep -reseal for you.

Authorised Symantec Consultant (ASC) with Endpoint Management Limited, an Authorised Symantec Delivery Provider based in the UK.

Connect Etiquette: Please "Mark as Solution" posts that fix your problem.

Mr. V's picture

I'm really lost right now!

Which agents and mandatory plug-ins do I have to install for using "Prepare for Image Capture"?

andykn101's picture

If you are imaging XP you have to add the XP sysprep files to the NS as part of the setup of the Deployment Solution on the NS.

You then should install the Symantec Management Agent and the Deployment plug-in to your build as a minimum. You can install all the other plug-ins too if you wish.

Authorised Symantec Consultant (ASC) with Endpoint Management Limited, an Authorised Symantec Delivery Provider based in the UK.

Connect Etiquette: Please "Mark as Solution" posts that fix your problem.

shailesh_mali@symantec.com's picture

Could you please let us know, How did you boot your machine to preboot/automation?

That could help us .

Mr. V's picture

No, I did not!

The "Prepare for Image Capture" taks works now!

Is it normal behaviour that the client needs to reboot and then the sysprep continuous?

After the reboot the Windows Installation pops up and askes for a serial key...

Is this normal behaviour?

andykn101's picture

On your source PC

The prepare for image capture task will run sysprep in windows then reboot so the image can be taken. Once the image is taken the process on that PC is finished.

On your Target PCs

When you deploy that image to a new PC Altiris should also copy down a sysprep.inf file that has the serial key in it and other information like compute name etc. This information comes either from the database if you use the default sysprep.inf or your own custom sysprep.inf file with the correct tokens in it for computer name etc.

Authorised Symantec Consultant (ASC) with Endpoint Management Limited, an Authorised Symantec Delivery Provider based in the UK.

Connect Etiquette: Please "Mark as Solution" posts that fix your problem.