SCCM OSD Computer Naming Policy
Hi! We use SCCM 2007 with SP1 beta. We installed the Beta release primarily to support PXE for new unknown computers. With RIS and WDS it was easy to configure a Computer Naming Policy for your new computers, like Client%03# (Client001, Client002 and so on). Is there a similar easy way to do this in SCCM? Now all my computers are named MININT-XXX, which is not good! Thanks for any help!
March 27th, 2008 8:15am

You need to do it with a script (we used VBScript) that ran using the following task: Type: Run Command LineName: Set Computer NameCommand Line: cscript.exe "NameMyComputer.vbs" (copy this into one of the packages that you are using and reference the package in the task)We build our computer names dynamically from the office location, type (desktop or laptop) and the serial number of the computer, but you can do whatever you'd like. I've pulled the snippet of the VBScript out here that you can start with. You just need to set the special SCCM environment variable (not the same as a regular Windows environment variable) OSDComputerName to whatever you want the computer to be named. set SmsEnv = CreateObject("Microsoft.SMS.TSEnvironment")'Set SCCM environment variable to the new computer nameSmsEnv("OSDComputerName") = strComputerNameWe are using SCCM in conjunction with Microsoft Deployment Toolkit to do the unknown computer name provisioning, and I believe there was information in the toolkit that discussed the scripting required to name computers.Hope that helps get you started.Matthew EvansKraft & Kennedy, Inc.360 Lexington Ave.New York, NY 10017Direct: 212.692.5608email: evans@kraftkennedy.com
Free Windows Admin Tool Kit Click here and download it now
March 27th, 2008 9:44am

Thanks for your reply! I will start testing it. I was affraid I had to do some scripting...So much easeier the old way with RIS or WDS. It would be nice if Microsoft could implement this as a fixed option in the Task Sequenser Editor. Frode Ersland DSBNorway
March 27th, 2008 10:07am

Hey , Its a bit old post - but I have just developed the RIS style naming console extension for SCCM 2007 you may find the solution in http://itxsolutions.codeplex.com Blog at http://www.itx-solutions.nl Codeplex at http://itxsolutions.codeplex.com/ Email me: PS:> [string]$email="";"82;97;102;97;108;46;80;105;101;110;105;97;122;101;107;64;73;84;88;45;83;111;108;117;116;105;111;110;115;46;110;108;0".Split(";")|%{$email+=[char][int]$_};$email
Free Windows Admin Tool Kit Click here and download it now
November 22nd, 2012 11:57am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics