Changing name on cloned computer and add it to Active Drectory

Posted on 2009-04-22
Last Modified: 2013-12-12
I'm using Acronis Snap Deploy to administer a bunch of computer for educational use. They have to be cloned whenever new software is installed, but they also have to be reset once in a while in between major changes.

To make this happen, I have to let cloned pc get a new SID after cloning. Snap Deploy can handle the renaming after all pc has been cloned, but not when 'resetting' them. And when the pc gets a new SID, I have to re-add it to Active Directory.

How do I solve this?

Oh, I forgot to mention: it has to be done automatic...
The students don't have the knowledge to do anything, so it's has to be an automatic initiated batch job.
Question by:ellegaarddk
    LVL 25

    Expert Comment

    by:Fred Marshall
    Sounds like you're using one clone for all.
    How about a clone for each with the right names, etc?
    Then just use a longer script to cover all the computers one at a time.

    Author Comment

    Yes, I'm using one image for all. That is what seemed the easiest solution at the time, but now I'm not so sure.

    But it is getting even trickier: I can't rename them! They have to have the same name or I'll ruin some other services running and registering the computers by name.

    So I'll have to get the current name from the pc, remove it from AD, renew SID, rename with old name, add to AD.
    And since I'm doing the cloning as well, I have now way to know the original name of pc after the cloning is done. So it'll have to be: get name, remove from AD, clone, new SID, rename, add to AD.

    Why haven't they thought of that when they made this program??? Guess I'll have to check out Symantecs solution as well, cause this isn't doing the job I need it to do.

    Author Comment

    I can do an image of each pc and using that, but then it will be much more work to add new programs?
    The admin would have reset to pc, install new program and save the new image for each pc. That wouldn't help much.

    The alternative would be to make one new image and distribute this before making the individual images. But then each individual pc would have to go through the procedure, described above anyway. I have to renew the SID, and that means remove from AD, rename and add to AD again. Sigh!
    LVL 25

    Accepted Solution

    Well, it seems to me that you can either:
    - do what you're doing now .. but that's what you want to avoid
    - do what was suggested .. but that has the limitation that you point out

    How about a hybrid:
    - do what was suggested most of the time.  That seems to solve the stated problem.
    - do what you're doing now once in a while when a new program is introduced.
    of course, this will entail creating new images as well but it's infrequent (?) in relative terms.

    The fundamental question is whether it's worth it and that seems to hinge on how often new apps appear.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    Video by: Kyle
    After watching the Introduction to GIMP and additional tools to use in GIMP we are shown how to utilize multiple tools to create a 3D effect image.
    Introduction to GIMP:  GNU Image Manipulation Program. It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now