Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Once a new computer is imaged can a job be run immediately to put the agent on it as part?

Updated: 22 May 2010 | 13 comments
macpiano's picture
0 0 Votes
Login to vote

Now that I can image from the console can a job be run as part of that to put the agent on that computer or do I have to a login script etc. I want it to be automatic.

Comments

bhawver's picture
29
Sep
2009
0 Votes 0
Login to vote

Sysprep

If you are using sysprep for your images, you can set it up to install the AClient/DAgent to install as a run once type option directly after the "mini-setup".

Otherwise you can use a login script or group policy.

Brian Hawver
Systems Engineer
Yaskawa America, Inc.

Connect Etiquette: "Mark as Solution" those posts which resolve your problem, and give a thumbs up to useful comments, articles and downloads.

macpiano's picture
29
Sep
2009
0 Votes 0
Login to vote

This is the syntax that I have under the run once.

I didn't know if this would work or not. The 10.228 etc. is the name of the DS server.

Command1="\\10.228.4.10\eXpress\Agents\AClient\altiris-aclient-6.9.164.X86.exe \\10.228.4.10\eXpress\Agents\AClient\aclient.inp -install"
bhawver's picture
29
Sep
2009
0 Votes 0
Login to vote

Authentication

Only thing that may or may not be a problem (depending on how the rights are set up on your express share) is whether or not the command will be able to connect to the server.  I would suggest creating a batch file that would be in the run once that would authenticate with a service account that has no other rights other than "READ" to the share.  The code would be something like this:

net use \\10.228.4.10\express /user:DOMAIN\ALTIRISSERVICEACCOUNT password
"\\10.228.4.10\express\Agents\Aclient\altiris-aclient-6.9.164.x86.exe \\10.228.4.10\express\agents\aclient\aclient.inp -install"
net use \\10.228.4.10\express /delete

Brian Hawver
Systems Engineer
Yaskawa America, Inc.

Connect Etiquette: "Mark as Solution" those posts which resolve your problem, and give a thumbs up to useful comments, articles and downloads.

macpiano's picture
29
Sep
2009
0 Votes 0
Login to vote

I get Security Warning when it tries to install aclient

When I first log in I get an open file security warning about the client being an unknown publisher and I have to hit the run button to install. How do I get rid of that. I did use your script with my username.

bhawver's picture
29
Sep
2009
0 Votes 0
Login to vote

Try this instead

This is probably due to the server/network not being a trusted source.  If you copy the file locally you may get better results.

Modify your bat file:

net use \\10.228.4.10\express /user:DOMAIN\ALTIRISSERVICEACCOUNT password
copy "\\10.228.4.10\express\agents\aclient\altiris-aclient-6.9.164.x86.exe" c:\temp\*.*
copy "\\10.228.4.10\express\agents\aclient\aclient.inp" c:\temp\*.*
c:\temp\altiris-aclient-6.9.164.x86.exe c:\temp\aclient.inp -install
net use \\10.228.4.10\express /delete
del c:\temp\altiris-aclient-6.9.164.x86.exe
del c:\temp\aclient.inp

Brian Hawver
Systems Engineer
Yaskawa America, Inc.

Connect Etiquette: "Mark as Solution" those posts which resolve your problem, and give a thumbs up to useful comments, articles and downloads.

macpiano's picture
29
Sep
2009
0 Votes 0
Login to vote

I was just adding the above into sysprep as but doesn't work

It copies the aclient to the local computer but not the install of the client.
Do I create an actual bat file and how would I make that work? Obviously sysprep would have to make a call to it?

bhawver's picture
29
Sep
2009
0 Votes 0
Login to vote

BAT or CMD file

Create the .BAT or .CMD file with the script to copy and install the AClient files.  Place the file in your image (preferably in the c:\temp location).  Then modify your sysprep.inf file to reference the .BAT or .CMD file that you created in the [GuiRunOnce] area.

The reason I would have you copy the install files rather than include them in the image would be in case you upgrade or update your Altiris installation you would not need to redo your image just for that.

Brian Hawver
Systems Engineer
Yaskawa America, Inc.

Connect Etiquette: "Mark as Solution" those posts which resolve your problem, and give a thumbs up to useful comments, articles and downloads.

macpiano's picture
30
Sep
2009
0 Votes 0
Login to vote

Agent still won't install.

This is my syntax in sysprep to make a call  to the aclient.bat

[GuiRunOnce]

 Command0=c:\temp\aclient.bat

[Networking]
    InstallDefaultComponents=Yes

[sysprepcleanup]

this is my syntax of the bat file
net use \\10.228.4.10\express /user:nccvt\gary 0ffice
copy "\\10.228.4.10\express\agents\aclient\altiris-aclient-6.9.164.x86.exe" c:\temp\*.*
copy "\\10.228.4.10\express\agents\aclient\aclient.inp" c:\temp\*.*
c:\temp\altiris-aclient-6.9.164.x86.exe c:\temp\aclient.inp -install
net use \\10.228.4.10\express /delete
del c:\temp\altiris-aclient-6.9.164.x86.exe
del c:\temp\aclient.inp
There is a aclient.cfg in the C drive but nothing else.
Any ideas? Maybe it's not really running the command?

bhawver's picture
30
Sep
2009
0 Votes 0
Login to vote

Altiris directory in program files?

Did you check to see if c:\program files\altiris\aclient exists?

Brian Hawver
Systems Engineer
Yaskawa America, Inc.

Connect Etiquette: "Mark as Solution" those posts which resolve your problem, and give a thumbs up to useful comments, articles and downloads.

macpiano's picture
30
Sep
2009
0 Votes 0
Login to vote

There is no Altiris folder on the drive.

That is what is the weird part. I did click that bat file on the imaged computer and it installs fine.

dfnkt_'s picture
30
Sep
2009
0 Votes 0
Login to vote

 I have removed the GUID from

 I have removed the GUID from the agent and packed the agent into an older image, this worked well.

Since I have resorted to installing it as part of the guirunonce section of sysprep, this is also functioning well.

Macpiano's sysprep and aclient.bat are similar to what I use.

macpiano's picture
01
Oct
2009
0 Votes 0
Login to vote

I know it is hitting the bat file

I changed sysprep to make a call to a bogus file and when windows came back up it said it couldn't find that file on the hard drive. That means there is something wrong with the bat file itself.

bhawver's picture
01
Oct
2009
0 Votes 0
Login to vote

Give this link a look

Give this link a look.  It may help.

http://www.symantec.com/connect/blogs/installing-aclient-part-sysprep

Brian Hawver
Systems Engineer
Yaskawa America, Inc.

Connect Etiquette: "Mark as Solution" those posts which resolve your problem, and give a thumbs up to useful comments, articles and downloads.