Skip to content

Computername in OSD

Featured Replies

Hello all,

 

I use this script during my OSD deployment for prompt the computer name :

 

 

set env = CreateObject("Microsoft.SMS.TSEnvironment")
env("OSDComputerName") = env("_SMSTSMachineName")
If InStr(1,env("OSDComputerName"),"MININT",1) then
Name = inputbox("Computername" ,"Computername:",env("OSDComputerName"),400,0)
env("OSDComputerName") = Name
env("ComputerName") = Name
env("HostName") = Name
End If
That's work perfectly but if the computer is already know in SCCM database, this script re-uses the name ... is there a way to modify that ?
I want the pop-up always appear ..
Thanks you

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.