Jump to content


baramine44

Computername in OSD

Recommended Posts

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

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.