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
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:
Please log in to answer
Posted by:
ronco
12 years ago
Comments:
Posted by:
Mesjoggah
12 years ago
Posted by:
ckubaska
12 years ago
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
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