Jump to content


  • 0
aazani

Auto create computername

Question

Hi Guys,

 

I'm trying my best to find a solution for this but I haven't found one yet (or i'm just not looking hard enough). My question is simple, i hope the solution is simple to haha

 

The complete TS is automated, it activates windows and so on except for the computer name. We want to have it like this

 

DEPT-01 and next will be DEPT-02 and so on. DEPT is just a sort code for the departement, for example finance departement would be something like FIN-01 and next will be FIN-02 and so on.

 

How can i automate this? Can someone help me out?

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

  • 0

Hi, depending on which tool you are using, this may be an example which will help you get further:

http://www.deploymentresearch.com/Research/tabid/62/EntryId/103/Generate-computer-names-in-MDT-2012-2013-based-on-prefix-and-a-sequence-number.aspx

 

It was already possible to store computernames in a database with MDT, just as it is with SCCM. But this blogpost explains how to achieve hostnames that are automatically followed-up by the previous/last given hostname.

 

Cheers!

Share this post


Link to post
Share on other sites

  • 0

also, take a look at the CM12 BitLocker Frontend HTA, it has way many more things than you need in the task sequence and associated scripts, however it also deals with auto computer naming and it might be worth your while taking a look at it

 

CM12 in a Lab - The CM12 BitLocker FrontEnd HTA

Share this post


Link to post
Share on other sites

  • 0

I'm sorry for the late reply was very busy with the implementation from test to production. I managed to figure this out. I have this powershell script that sets the OSDComputerName, but only for new computers. The others I just migrate and preserve the name. Sometimes we use the easy way if we do it only for 1 or 2 computers, by just deploying it to unknown computers as described by you.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.