/build/static/layout/Breadcrumb_cap_w.png

Need to change computer name in a specific way

Hey guys

I have read many articles on changing computer names but none really help us...

I need a K2000 script as such that allows me to change the computer name in a specific way as a postinstalation task or would it be better as a preinstallation task..?

We want the following...

For a laptop we want the letter L then the serial number of the laptop

For a desktop we want the letter D then the serial number of the desktop

For a tablet we want TAB the the serial number of the tablet

Can anyone assist please?


0 Comments   [ + ] Show comments

Answers (3)

Posted by: SMal.tmcc 10 years ago
Red Belt
3

you can do this with wsname

http://newstuff.clarke.co.nz/wsname


Comments:
  • be something like wsname /N:$CHASSIS-$SERIALNUM
    or create scripts for each type
    wsname /N:D-$SERIALNUM
    wsname /N:L-$SERIALNUM
    wsname /N:TAB-$SERIALNUM - SMal.tmcc 10 years ago
Posted by: twit 10 years ago
Fourth Degree Green Belt
0

Hi vjc,

Why not just use Get/Set Computer name? When you start a build it will prompt for what you want to call the computer and you just type it in and then the build completes as normal. Sure you have to type in the name manually but it's my preferred method.

Get/Set computer name is here:

http://www.kace.com/au/support/resources/kb/article/Get-Set-ComputerName?action=artikel&id=1137 

Cheers.

Posted by: vjc 10 years ago
Senior Yellow Belt
-1

thx guys

 

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