WolleXPC Posted November 15, 2012 Report post Posted November 15, 2012 Hello, in my task sequence I use a variable "OSDcomputername" with the value "%_SMSTSMachineName%" to update the computername automatically. The computer information are imported under "devices". I tested the ts variable/ step after "partition disk" and after "Apply operating system" but the computer ask for the computername. Where is the problem? Edit: Only when I activate the step "apply windows settings", the client get the imported name of the sccm database. Because we use OEM Keys, I must disable this step. Thanks for your help. Wolfgang Quote Share this post Link to post Share on other sites More sharing options...
0 Peter van der Woude Posted November 15, 2012 Report post Posted November 15, 2012 What is it that you are trying to do? Because OSDcomputername can be used to change the value of _SMSTSMachineName, so by doing this you're not changing anything... Quote Share this post Link to post Share on other sites More sharing options...
0 WolleXPC Posted November 16, 2012 Report post Posted November 16, 2012 What is it that you are trying to do? Because OSDcomputername can be used to change the value of _SMSTSMachineName, so by doing this you're not changing anything... Hi Peter, thanks for your answer. With the OSDComputer variable I am supposed to set the client name automatically through sccm. The client should get the name of the imported device-object with the corresponding MAC address. How can I implement this step? Quote Share this post Link to post Share on other sites More sharing options...
0 WolleXPC Posted November 22, 2012 Report post Posted November 22, 2012 Hi, can someone help me and tell me how I can solve the problem? The client should get the computername of the sccm DB Thanks for your help Quote Share this post Link to post Share on other sites More sharing options...
0 ersatyle Posted November 22, 2012 Report post Posted November 22, 2012 hello, did you uncheck "use media hook" when creating your boot image if you used mdt integration? For me I fill the OSDcomputername variable only for the new computers, if the computer already exist in the sccm database it will keep the existing name. now I use the Apply Windows Settings step also, but don't have a key as we use a key management server how do you manage your key after that?maybe could you post some screenshot to give a more clearer idea of what your doing and what's wrong. good luck Quote Share this post Link to post Share on other sites More sharing options...
0 WolleXPC Posted November 23, 2012 Report post Posted November 23, 2012 hello, did you uncheck "use media hook" when creating your boot image if you used mdt integration? For me I fill the OSDcomputername variable only for the new computers, if the computer already exist in the sccm database it will keep the existing name. now I use the Apply Windows Settings step also, but don't have a key as we use a key management server how do you manage your key after that?maybe could you post some screenshot to give a more clearer idea of what your doing and what's wrong. good luck Where in SCCM/ MDT can I configure "use media hook"? I couldn't find this options in the creation of a TS. In the screenshot you see that the TS step "Apply Windows Settings" is disabled because we use OEM keys. When I activate this step the client get the correct name which is listed in the sccm device collection. The problem is that than the client will ask for a serial key. I hope you can undestand my problem. Thanks for your help Wolfgang Quote Share this post Link to post Share on other sites More sharing options...
0 Peter van der Woude Posted November 23, 2012 Report post Posted November 23, 2012 You need to use the Apply Windows Settings -step, because that's the moment it will write things like the computername to the answerfile... See also threads like this: http://social.technet.microsoft.com/Forums/en-US/configmgrgeneral/thread/af5a8b11-3fe2-4603-b87f-9f0e914357e8 Quote Share this post Link to post Share on other sites More sharing options...
Hello,
in my task sequence I use a variable "OSDcomputername" with the value "%_SMSTSMachineName%" to update the computername automatically.
The computer information are imported under "devices".
I tested the ts variable/ step after "partition disk" and after "Apply operating system" but the computer ask for the computername.
Where is the problem?
Edit: Only when I activate the step "apply windows settings", the client get the imported name of the sccm database.
Because we use OEM Keys, I must disable this step.
Thanks for your help.
Wolfgang
Share this post
Link to post
Share on other sites