Jump to content


MaceUK

Changing Naming Convention and applying during OSD

Recommended Posts

Hi

 

Im having a few issues with changing the name of an existing machine of SCCM during the OS deployment.

 

Our current OS deployment is fully automated and setup quite intelligently.

 

Any unknown devices are prompted via the OSDComputerName variable.

 

Any existing machine known to SCCM we want to change the Computer name from the old to the new convention...

 

Old: SHG-ASSET-LOCATION

 

New: LOCATION-ASSET-HARDWARE

 

At present we run the MDT gather step, this can then query the default gateway (DefaultGateway001) for its location and also utilise the IsLaptop/IsDesktop variable for hardware (LA/PC).

 

The problem we are having is trying to pull the numerical part of the old name in to the new. Every old name has a numerical part for the asset tag. If you review the OSDComputerName variable in the BDD.log or the SMSTS.log it shows correctly the SCCM Client Name. If you run a VB script after the gather step while in support mode (F8) and echo the OSDComputerName variable it appears as blank. However if you echo another variable such as HostName it appears correctly.

 

Am i missing something?

 

Any help would be greatly appreciated especially as this is the last step to make our TS a fully automated process for old and new machines.

The end result is to get everyone on to Windows 7 with the omputer name changed, and the computer account moved in to a new OU structure. I have completed all the other necessary tasks to make this possible but struggling on this last step.

 

HELP!

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
Reply to this topic...

×   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.