locked
Reimage Machine with a SCCM 2012 Client RRS feed

  • Question

  • Is there a process/workaround for imaging machines that already have a client.   I know you can either delete the machine or clear required PXE deployments.  I would rather not give other users access to SCCM every time this needs doing.  Is there a better way to do this?
    Tuesday, July 22, 2014 6:34 PM

Answers

All replies

  • Not sure what you exactly mean... Are you currently only deploying unknown machines? If so, you can simply create another deployment collection, add the machine with the client and target the deployment to that collection.

    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

    Tuesday, July 22, 2014 6:39 PM
  • I am deploying to unknown machines and machines with a client already installed.
    Tuesday, July 22, 2014 6:51 PM
  • Well, you would always have to either delete the machine, clear required PXE deployments, or add the machine to a collection. Because those are the safety nets that prevent machines from being imaged automatically.

    What you could do is create a small script (including) form that performs one of those actions and that the form will be their entrance to ConfigMgr to do their action.

     

    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

    Tuesday, July 22, 2014 6:57 PM
  • When you say add the machine to a collection, what do you mean?
    Tuesday, July 22, 2014 6:59 PM
  • I've seen (and done) many deployments were at the end of the task sequence the machine is removed from the deployment collection and the required PXE deployments are cleared. That way a re-deployment is simply adding the machine back to the collection.

    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

    Tuesday, July 22, 2014 7:02 PM
  • Thanks do you have documents showing these steps? I am kind of new to this.  It would be helpful. 
    What about the machines we have previously imaged as far as clearing the required PXE deployments and removing the machines from its current collection?

    • Edited by noc1122 Tuesday, July 22, 2014 7:16 PM
    Tuesday, July 22, 2014 7:12 PM
  • This is a nice post of Jörgen Nilsson about removing a device from a collection and clearing the PXE flag: http://ccmexec.com/2012/07/remove-from-collection-and-clear-pxe-flag-vbscript-using-status-filter-rule/

    After that you can script the adding of the device to the collection by simply taking advantage of the cmdlets and use Add-CMDeviceCollectionDirectMembershipRule (http://technet.microsoft.com/library/jj850102(v=sc.20).aspx). Build a small form around it and you've got your entrance for your service desk.


    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

    Tuesday, July 22, 2014 7:19 PM
  • Thanks.  I see I have more work to do.  Thanks again.
    Tuesday, July 22, 2014 7:34 PM