Skip to content

Changing Naming Convention and applying during OSD

Featured Replies

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!

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.