Registered member login:
Register Now
Altirigos » Homepage2

» Current Poll
Do you leave the Aclient enabled?
YES - 83.05%
196 Votes
NO - 16.95%
40 Votes
Total Votes: 236
You may not vote on this poll.
» Stats
Members: 9,948
Threads: 12,158
Posts: 56,984
Top Poster: Nick (4,991)
Welcome our newest member, rmerrill
» Online Users: 36
0 members and 36 guests
No Members online
Most users online at once 294, 06-30-2007 at 12:24 PM.
» July 2010
S M T W T F S
27282930 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
View Single Post
Old 06-11-2009, 09:58 AM   #3 (permalink)
Gibson99
 
Status: Altiris Admin
Join Date: 05-14-2009
Location: Houston Area, TX, USA
Posts: 59


please forgive me if my green is showing. we're still in the pilot phase of altiris here, and my lack of training probably shows. I also have limited experience with VB and SQL, so go easy on me.

when you mentioned tokens, the first thing that came to mind was to give our techs write access to a batch file somewhere that simply contains:

Code:
set %printername%=PRINTERNAME
the tech would change PRINTERNAME to AHS-100-P01 or BHS-123-P02 or whatever the printer is shared as on the server. then the job in ds would be simple and static.

Code:
REM Add Printer on Printer Server PS01
start /wait rundll32 printui.dll,PrintUIEntry /ga /n \\PS01\%printername%
sleep 10
net stop spooler
net start spooler
the problem with this method is if there happens to be 2 techs adding printers at the same time or even one tech adding multiple printers, or if a job doesn't run immediately on a machine, or if someone forgets to change the batch file that sets the token... basically the same reasons we don't want the techs to be able to edit the job directly in DS.

I'm interested to see what you have, but at this point we're starting to think that we may just have to put one person in charge of deploying printers, and have that person just edit the printername variable directly in DS... that way there's no stepping on toes or other conflicts.

either that or just create 900 jobs for all those printers... *shudder*

Last edited by Gibson99; 06-11-2009 at 11:43 AM..
Gibson99 is offline   Reply With Quote
 
Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 05:55 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
vB.Sponsors
Altirigos