/build/static/layout/Breadcrumb_cap_w.png

Changing Asset Tag in BIOS to current hostname, using Dell CCTK

Hi,

I know that it's quite easy to change the name of the computer to the asset tag, that is set in BIOS.
Can this action be doen, the other way around ? Can I change the asset tag, to the hostname ?

Let me explain,
In our company, we have a few hundred workstations (all Dell), with hostnames like c00001, c00002 etc.
Since a few weeks, the company bought a kbox 1000, and a kbox 2000.
On the kbox 2000, we have a script that extracts the asset tag from BIOS. After that, it turnes the hostname into this asset tag and joins it to

the domain. For new pc's it's not a big deal to change the asset tag by hand, but for the excisting pc's, it would be very handy, for future

deployment, to change the asset tag.
For new pc's we are using Dell Client Configuration Tool Kit, to set boot order and also asset tag.

Is there a way to use the hostname of an excisting pc and use Dell CCTK (and K1000) to set the asset tag ?

Any help on this, would be very appreciated !

Thanks is advance,
Mesjoggah

0 Comments   [ + ] Show comments

Answers (4)

Answer Summary:
Posted by: ronco 12 years ago
Posted by: Mesjoggah 12 years ago
Orange Belt
0
Does anyone know how i can get the strComputerName set, after shell cctk.exe --asset= ?
Posted by: ckubaska 12 years ago
Fourth Degree Brown Belt
0
FYI on changing the bios service tag to the host name. The K1000 uses the bios service tag to show you warranty information and takes you right to the warranty page for RMA's. If you change this to the host name that link is gone.

Comments:
  • Chubaska, i am not changing the servicetag, but the assettag ! The assettag does not serve any warranty or support purpose. The assettag is a blank value in BIOS, that can be filled with whatever someone needs ;-) - Mesjoggah 12 years ago
  • Thanks a bunch for that. I missed that, will start populating with host name as well.
    I believe this can be populated with the new kbe that uses cctk but would have to verify for sure. - ckubaska 12 years ago
Posted by: dchristian 12 years ago
Red Belt
0
What i would do is create a script that generates the command line for you. It would figure out the name of the machine and then call the asset tag update command with the unique name.

Comments:
  • Hi dchristian,

    I'm almost there, i think...
    I've got this script but it does not work because of the part where it executes cctk.exe. Do you know the right syntax to get the strComputer included behind --asset ?
    Thank in advance ! - Mesjoggah 12 years ago
  • Set wshShell = WScript.CreateObject( "WScript.Shell" )
    strComputerName = wshShell.ExpandEnvironmentStrings( "%COMPUTERNAME%" )

    sub shell(cmd)
    dim objShell
    Set objShell = WScript.CreateObject( "WScript.Shell" )
    objShell.Run(cmd)
    Set objShell = Nothing
    end sub

    shell "cctk.exe --asset="& strComputerName"" - Mesjoggah 12 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ