KACE Product Support Question

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

03/19/2012 23667 views

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,
Answer Summary:
0 Comments   [ + ] Show comments


Community Chosen Answer

  • Rocco,

    Thank you !
    I'll take a look at it !
  • This content is currently hidden from public view.
    Reason: Removed by member request For more information, visit our FAQ's.

All Answers

Does anyone know how i can get the strComputerName set, after shell cctk.exe --asset= ?
Answered 03/21/2012 by: Mesjoggah
Orange Belt

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.
Answered 03/21/2012 by: ckubaska
Fourth Degree Brown Belt

  • 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 ;-)
  • 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.
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.
Answered 03/19/2012 by: dchristian
Red Belt

  • 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 !
  • Set wshShell = WScript.CreateObject( "WScript.Shell" )
    strComputerName = wshShell.ExpandEnvironmentStrings( "%COMPUTERNAME%" )

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

    shell "cctk.exe --asset="& strComputerName""
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