Value for OSDCOMPUTERNAME is already set to XXXX so database value of YYYY will be ignored in smsts.log?
Thursday, March 29, 2012 10:45 AM
Hi. We need to deploy more than a thousand computers via SCCM/MDT. I've created a hta which asks the end user to choose a department, and that hta creates a "department" variable and Identifycomputer stored procedure is executed with that variable and generates a new name in MDT database. During testing I recognized that an already existing computer in SCCM and active directory gets its old name during OSD ignoring whatever department I change in my custom hta. In smsts.log those line below were logged. What could be wrong here? (In mdt database there was no record about the computer I tested before installation, but a new name was generated after selecting a department in the custom hta)
Successfully queried the database.
Records returned from SQL=1
Value for OSDCOMPUTERNAME is already set to GGN0004 so database value of GGN0016 will be ignored.
ggn0016 is the newly generated name for the computer after executing hta.
Thursday, March 29, 2012 1:20 PMModerator
Thursday, March 29, 2012 1:51 PMNo webservice is installed. Just MDT db configured with a stored procedure to generate the names. CS.ini is set to connect to the db and actually a new name is generated on the sql side. But that name is somehow ignored by the client?? The computer was in AD and has a record in SCCM also. It was put into a collection so that it receives the osd advert. But it always get its older name. I have no idea why this happens :-/
Thursday, March 29, 2012 2:06 PMModerator
Thursday, March 29, 2012 2:20 PM
The first gather step in TS is used to get MAC address and IP address of the machine and to display it in my custom hta where end user selects the appropriate department.
The second gather step is used to get the new computer name. After that another hta displays the new assigned computer name for 10 seconds and the TS continues. But the old name is always assigned though the computer's mac was not in the mdt database before, it's inserted into the db after the hta runs of course. I also asked for help at deploymentresearch.com. Still I have no clue :-/
Btw the MDT TS I use is for testing, it doesn't have any steps relating backup/ install os etc. just to see that if the computer gets its proper name from the sql.
- Edited by discontinuity Friday, March 30, 2012 6:09 AM
Tuesday, April 03, 2012 5:48 AM
Sorry for bothering but I've been waiting for an answer for days. Any clues what is causing the error?