SCCM 2012 OSD Retain Computer Name on re-image rebuild

Is there a way to set a condition on a step that looks to see if the machine is already known to SCCM / Active Directory?

I have a step that names the PC using ITX Solutions AutoName function. I want to say only use this step if the machine is not known.
LVL 1
nchtAsked:
Who is Participating?
 
nchtConnect With a Mentor Author Commented:
It turns out it was the AutoNameControl. It creates a new name regardless.

I set a TS variable called ExisitngClient as the first step of my TS - but put a condition on it, to check for the existence of CcmExec.exe on the client. If it exists then I set the variable to TRUE.

Then later on when the AutoNameControl runs, I put a condition of    IF ExistingCient not equals TRUE.

Meaning it only runs if it didn't have Config Manager on before the format.

It seems to work.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.