|
Post by strategic on Jun 12, 2019 8:28:37 GMT
Hi all, So, the challenge I have is to cater for both known and unknown computer deployment. I have one task sequence advertised to two collections (Unknown Computers and All Desktop Clients). Obviously this means two different advert IDs. I have UI++ configured to launch as a prestart command within my boot image. What I need is a method of checking whether the machine is known or unknown at this stage in order to set the correct %SMSTSPreferredAdvertID% - so as to avoid an engineer having to click through any of the standard SCCM interfaces. I was able to check for this when I was running UI++ in test as a step at the beginning of the task sequence using "Condition='Left("%_SMSTSMachineName%",6) <> "MININT"'/>", but running as a prestart command this variable doesn't appear to be set yet. Is there something else I can query for, or another method that I'm missing? Thanks
|
|
|
Post by Jason on Jun 15, 2019 22:37:04 GMT
During a prestart command, there is no direct way of knowing whether the system is known or unknown. Tthis limitation has nothing to do with UI++. The TS engine hasn't communicated with the site at all at this point so just doesn't know or have a way of knowing. A possible workaround here used by some is to call a web service that queries ConfigMgr to determine if the MAC Address or SMBIOS GUID of the system is in ConfigMgr or not (which is the same criteria that ConfigMgr uses once the TS engine actually does communicate with the site).
|
|