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
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.
discussion Filed Under:
Comments
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.
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.
Read my blog on dedupe https://www-secure.symantec.com/connect/blogs/garys-dedupe-experiences
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:
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.
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.
Read my blog on dedupe https://www-secure.symantec.com/connect/blogs/garys-dedupe-experiences
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:
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.
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?
Read my blog on dedupe https://www-secure.symantec.com/connect/blogs/garys-dedupe-experiences
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.
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?
Read my blog on dedupe https://www-secure.symantec.com/connect/blogs/garys-dedupe-experiences
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.
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.
Read my blog on dedupe https://www-secure.symantec.com/connect/blogs/garys-dedupe-experiences
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.
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.
Read my blog on dedupe https://www-secure.symantec.com/connect/blogs/garys-dedupe-experiences
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.
Would you like to reply?
Login or Register to post your comment.