Registered member login:
Register Now
Altirigos » Deployment Solution » Imaging - Bootworks/Rdeploy » HII and Lenovo model designations

» Current Poll
Do you leave the Aclient enabled?
YES - 82.81%
106 Votes
NO - 17.19%
22 Votes
Total Votes: 128
You may not vote on this poll.
» Stats
Members: 9,488
Threads: 11,748
Posts: 55,277
Top Poster: Nick (4,981)
Welcome our newest member, johno
» Online Users: 45
4 members and 41 guests
donald.noah, ejesperson, globalweeble, MarkWarmack
Most users online at once 294, 06-30-2007 at 12:24 PM.
» March 2010
S M T W T F S
28 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 123
Reply
Old 02-29-2008, 05:14 PM   #1 (permalink)
 
Status: Junior Altiris Admin
Join Date: 02-20-2008
Location: Everett WA
Posts: 14


HII and Lenovo model designations

Hello All,

I'm posting this thread to see if it help anyone else out there that is working on hardware independent imaging and Lenovo desktops. I work at a community college and we have traditionally been a Dell shop. About a year ago, we changed vendors and went with Lenovo. We have been fairly happy with the computers themselves, but it has created some issues with our HII process.

When we started our Altiris environment (about 2 years ago), I setup our hardware independent imaging process using WinPE, FIRM scripting, and tokens that will automatically pull the correct driver files off the server by using the %#!computer@model_num% variable token. For the Dell systems, this has worked great since it would pull a unique designation like "0H1105". Once we started working with the Lenovo systems, the %#!computer@model_num% token would be returned with just "LENOVO". When we had just one Lenovo model on our campus, this was fine. But, now we are getting the latest desktop model and since that also returns the token with "LENOVO", our HII process doesn't work as before.

To resolve this issue, I started by changing our FIRM script so that it prompted the user to type in the correct model number, but then imaging is held up until you respond. We wanted to get back to point where you launch the image job and the rest is automatic.

After searching the forums here and elsewhere, I didn't find much that helped. So, after some guesswork and testing I have found a fix. In the FIRM script, instead of using the %#!computer@model_num% token, use the %#!computer@prod_name% token. For Lenovo desktops, this will pull the unique model number (like "8808VN*).

The following is a copy of the FIRM script I use for WinPE to pull the correct drivers off of our Altiris express share onto the local drive.
________________________
@echo off
REM Driver Injection Script using FIRM

REM Get rid of the old aclient.cfg file
f:\firm delete OS:C:\aclient.cfg
REM This section is devoted to injecting model specific drivers

ECHO Hardware Model number is %#!computer@model_num%
ECHO Hardware Product Name is %#!computer@prod_name%

REM Dell Systems
if "%#!computer@model_num%" =="OptiPlex GX240" goto GX240
if "%#!computer@model_num%" =="00T606" goto GX260
if "%#!computer@model_num%" =="0H1105" goto GX270
if "%#!computer@model_num%" =="0H8164" goto GX280
if "%#!computer@model_num%" =="0ND237" goto GX620
if "%#!computer@model_num%" =="0H2049" goto D505
if "%#!computer@model_num%" =="0TD761" goto D620
if "%#!computer@model_num%" =="0F3553" goto I1150

REM Lenovo Systems
if "%#!computer@prod_name%" =="8808VN8" goto M55P
if "%#!computer@prod_name%" =="6072A5U" goto M57P

REM If we didn't find a match, just exit
ECHO No matching model number.
Pause
goto Exit

:GX240
f:\firm -recurse copy .\drivers\OptiplexGX240 OS:C:\drivers
goto Exit
:GX260
f:\firm -recurse copy .\drivers\OptiplexGX260 OS:C:\drivers
goto Exit
:GX270
f:\firm -recurse copy .\drivers\OptiplexGX270 OS:C:\drivers
goto Exit
:GX280
f:\firm -recurse copy .\drivers\OptiplexGX280 OS:C:\drivers
goto Exit
:GX620
f:\firm -recurse copy .\drivers\OptiplexGX620 OS:C:\drivers
goto Exit
:D505
f:\firm -recurse copy .\drivers\LatD505 OS:C:\drivers
goto Exit
:D620
f:\firm -recurse copy .\drivers\LatD620 OS:C:\drivers
goto Exit
:M55P
f:\firm -recurse copy .\drivers\LenovoM55p OS:C:\drivers
goto Exit
:M57P
f:\firm -recurse copy .\drivers\LenovoM57p OS:C:\drivers
goto Exit
:I1150
f:\firm -recurse copy .\drivers\Inspiron1150 OS:C:\drivers
goto Exit

:Exit
exit

________________________________________

Thanks - This site has helped me a lot, I hope this makes someone else's day a little easier.
evcced is offline   Reply With Quote
Old 02-29-2008, 08:02 PM   #2 (permalink)
 
Nick's Avatar
 
Status: Altiris Architect (Site Founder)
Join Date: 01-01-2005
Location: RDU, North Carolina, USA
Posts: 4,981


Thanks for taking the time to share. I have no doubt this will come in handy for someone else in the future!

__________________
Scire potentia est (knowledge is power)
Nick is offline   Reply With Quote
Old 03-03-2008, 08:10 AM   #3 (permalink)
 
Status: Junior Altiris Admin
Join Date: 01-05-2006
Location: Michigan
Age: 29
Posts: 28


We are searching for the product id. The syntax I am using is:
'IF "%prodid%"=="1706K8J" GOTO 2623D6U'.
__________________
Trevor Bowman
trevorbowman@gmail.com
tbowman is offline   Reply With Quote
Old 03-05-2008, 02:59 PM   #4 (permalink)
 
Status: Junior Altiris Admin
Join Date: 02-20-2008
Location: Everett WA
Posts: 14


Update

Thanks for the information. I'll have to try that variable. How did you happen to come up with that?
evcced is offline   Reply With Quote
Old 03-13-2009, 09:51 AM   #5 (permalink)
 
JeffreyJRiggs's Avatar
 
Status: Super Altiris Admin
Join Date: 02-22-2006
Location: Williamstown, NJ
Age: 37
Posts: 504


thought id chime in here..
we are using linux to boot and this works for our dell and hp machines.... but im trying to get the lenovo machines to work...

i use

# Set MODEL variable to product name
MODEL="%#!computer@prod_name%"
echo The Computer model for this machine is "$MODEL" > /dev/tty1
sleep 3

im echoing it as im still testing and trying to get everything working... for the dells it replies back like
OptiPlex 745 or OptiPlex 755

for the hp it is a bit of a pain as it returns a line that can be different as we have multiple 6510b with a different tag in the ( ) ...
HP Compaq 6510b (RM333UT#ABA)


for the Lenovo it doesnt do ANYTHING... just drops the image then reboots... never echos anything...


now the top of my script firms in the sysprep file, firms files for aclient and some other items we have and they all echo back when done on the other models but the lenovo doesnt even reply back to these... so I know my main problem is more of the models and not the model section.....

so far
T500
T60
X60
all dont work...
__________________
SQL Fundamentals 101:
SELECT * FROM dbo.User WHERE Clue > '0'
Query batch completed, 0 rows
JeffreyJRiggs is offline   Reply With Quote
Old 03-13-2009, 11:22 AM   #6 (permalink)
 
Status: Super Altiris Admin
Join Date: 10-27-2006
Location: Kansas City, MO
Posts: 106


Sorry Jeffrey, I'm somewhat confused on your issue.

But, when I looked at our DC to see the model numbers reported back.

Our Laptops all appear to report back the model number that is on the bottom of the chasis.

IE:
x200s = 2046A12
W500 = 40612KU or 406A12
T60P = 8744C9U
T61P = 6457AM1 or 6457D21

The reason some models have two.. is because of a model change mid-year.

Now... at the same time.. we have a M58P ThinkCenter Demo, that is showing "Model: LENOVO" and "Product name: 7484AEU"
Setral is offline   Reply With Quote
Old 03-13-2009, 12:05 PM   #7 (permalink)
 
JeffreyJRiggs's Avatar
 
Status: Super Altiris Admin
Join Date: 02-22-2006
Location: Williamstown, NJ
Age: 37
Posts: 504


Quote:
Originally Posted by Setral View Post
Sorry Jeffrey, I'm somewhat confused on your issue.

But, when I looked at our DC to see the model numbers reported back.

Our Laptops all appear to report back the model number that is on the bottom of the chasis.

IE:
x200s = 2046A12
W500 = 40612KU or 406A12
T60P = 8744C9U
T61P = 6457AM1 or 6457D21

The reason some models have two.. is because of a model change mid-year.

Now... at the same time.. we have a M58P ThinkCenter Demo, that is showing "Model: LENOVO" and "Product name: 7484AEU"

sorry for confusing you on that...

yes the product name for the lenovo are just not going..... not sure why....

so im expecting a return of 17097HU for a ibm X60 but instead im getting nothing....

im not even getting my sysprep.ini renamed to %COMPNAME%.ini in the temp directory....
__________________
SQL Fundamentals 101:
SELECT * FROM dbo.User WHERE Clue > '0'
Query batch completed, 0 rows
JeffreyJRiggs is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 03:56 PM.


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