Jump to content

Naming from RIS...


Recommended Posts

Posted

OK -

I've been setting everything up for my company to move to using SMS 2003 OS deployment instead of RIS... and so far so good. My only problem is finding a way to continue using the naming feature of RIS (OSD Feature Pack doesnt have a built in solution for naming). Anyways, Im wondering if any of you know of a way for me to grab the name RIS assigns to PE when it boots. What I would like to do is grab the name that RIS assigns to PE and have it modify the OSDNEWMACHINENAME value to the name that was given to PE when it first started... any ideas or points in the right direction would be greatly appreciated!

Thanks - Geoff


Posted

I believe it was Mike who introduced me to this tool in one of his posts;

Compname.exe is a utility to dynamically generate and set the computer name, optionally pulling in data including the asset tag/serial number from the chassis, motherboard and system, System UUID/GUID, mac address, IP address octets, date, hostname determined by reverse DNS lookup, and a random element.

The program also has uses in prestaging RIS installations, as it can read both the GUID and generate a psuedo-GUID from the MAC address if there is no valid GUID.

The program should run fine on all Windows platforms since Windows 95, including Windows NT. If available (i.e 2000, XP, .net) the program will call SetComputerNameExA from kernel32.dll. If this function is not available, it calls SetComputerNameA from the same DLL. This ensures that, for 2000 and above, the DNS host name and the NetBIOS name both get set properly.

Type "compname.exe /?" to get the syntax. It's pretty easy.

Compname.exe was written using the excellent Mitec SysInfo by Michal Mutl (see www.mitec.d2.cz) and Indy.

http://www.willowhayes.co.uk/

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...