2ez24get Posted October 25, 2010 Report post Posted October 25, 2010 I have a working Online Windows 7 OSD with the Unknown Computers Collection in SCCM 2007 SP2. I want to make a Offline USB deployment. I want a script to prompt for a Hostname before the Applying Operating System in the TS. If someone can post step by step procedure. I tried the MDT computername.vbs but it did not work. Do I need to add a TS Variables? Thanks. Quote Share this post Link to post Share on other sites More sharing options...
DizzleSizzle Posted October 25, 2010 Report post Posted October 25, 2010 Not sure if this will help, but this is what i use for unknown computer support and works like a charm. http://blogs.catapultsystems.com/javery/archive/2009/01/23/have-os-deployment-ask-for-a-computer-name.aspx Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted October 26, 2010 Report post Posted October 26, 2010 Or create a collection/ computer variable called OSDComputerName and don't give it a value. At the beginning of your TS it will ask you then for a value Quote Share this post Link to post Share on other sites More sharing options...
2ez24get Posted October 26, 2010 Report post Posted October 26, 2010 Not sure if this will help, but this is what i use for unknown computer support and works like a charm. http://blogs.catapultsystems.com/javery/archive/2009/01/23/have-os-deployment-ask-for-a-computer-name.aspx I do have a VBS script in a package and run it from the TS via a run command line like the tech article say's to do. I have tried the following script computername.vbs from MDT 2010 and it fails to run in the task sequence. I get an error that the oEnvironment variable has not been defined. Option Explicit Dim numCount Dim strComputerName Dim objOSD Dim mname strComputerName = InputBox ("Please enter a name for the new computer:" ,"New Computer Name",mname,10,10) if strComputerName = "" Then Wscript.Echo "You must enter a computer name." Else oEnvironment.Item("OSDNEWMACHINENAME") = strComputerName oEnvironment.Item("OSDCOMPUTERNAME") = strComputerName End If Quote Share this post Link to post Share on other sites More sharing options...