Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • Last Modified:

RIS: Automatic computer naming?

Hello Experts!

I'm trying to amend our RIS server install, as it has only ever been used to run a standard CD install off the network, never been configured for pre-configured images, automated installs, etc.

What I want to do, is assign computer name (C-XXX-YYY###; where XXX = company initals, YYY = department, and ### = incremental zero filled number).

Now, I can do this company wide from the "remote install" tab in the ADUC, but that would name all the computers the same name, irrelevant of department image (for example, setting the naming convention in ADUC to C-IBM-CUS%03# would get me C-IBM-CUS001, ...CUS002, ...CUS003 and so on). So setting this globally isn't really an option, as then all machines are labled as customer service.

Is there a way of tying this (and computer OU placement) at an IMAGE level rather than at server level? So that if a user who only has permission to install a Customer Services image gets name C-IBM-CUS012, but a Warehouse guy installing the Warehouse image gets C-IBM-WHS034?

Can this be done in the SIF file? Or elsewhere?

  • 2
1 Solution
paradigitalAuthor Commented:
Well, this place is worth the membership fee.
Guess I won't continue after the trial then...
No, there isn't a method via RIS/WDS that can differentiate machines like that.

You'd have to rely on a script to do this and it can be quite complicated if you start using WMI.  Your IT could add an asset tag in the BIOS that could be read by a script and a computer name built from the result, but that's something that could be accomplished after the image is installed and mini-setup is finished.

paradigitalAuthor Commented:
In the end I decided the easiest way was to generate the computer name from the user name, and create a user (C-XXX-YYY) for each department.

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now