/build/static/layout/Breadcrumb_cap_w.png

Set computer name to the Hostname field on K2000

Good morning,

Kace2000 has a Hostname field on the Boot Action menu.

For Windows XP we are using a script that deploys a MySQL client, querries the Kace Database, and create a MAC - Hostname file on the fly and than uses wsname.exe to use this name. This process is very complex but works on XP, but it will not work on Windows 7.

I would like to use the hostname stored on the Kace databse to be the MachineName of the machine I am deplying. How can I achieve that on Windows 7?

Do not send me to the Get/Set ComputerName - Knowledge Base it is not what I am looking for.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: mpace 11 years ago
Red Belt
0

Using the KBE Manipulator (https://downloads.kace.com/Login.aspx?returnUrl=/Download.aspx&filename=support/downloads/k2000/add-ons/kbe_manipulator_installer.exe) you can add ODBC to a boot environment and query the K2 database from within KBE. You could probably pipe that output to a file and have it interact with your current solution using wsname and its data file and Unattend options.

WSNAME can also do reverse DNS lookups and apply the name from the DNS record (if that's what your goal is): wsname /N:$DNS:DNS_IP_ADDRESS

 

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