Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1101
  • Last Modified:

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.
0
ncht
Asked:
ncht
1 Solution
 
nchtAuthor 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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now