Export list of members of a Group from SAM (NT Domain) and Import them into AD Domain.

Posted on 2006-05-15
Last Modified: 2012-08-13
Users are member of these groups from any domain (NT or AD Domain).
Please let me know if export is possible.

Need a script.


Question by:Nick Sui
    LVL 48

    Expert Comment

    Hi SystmProg,

    have you played with the Active Directory Migration Tool - think i am reading your question right......

    sorry its not a script!
    LVL 35

    Author Comment

    by:Nick Sui
    Well, I need to run a script.

    Finally it found the way using Showmbrs.exe in Resource Kit.

    How I did this to export user accounts from local database (SAM):

    1. I create a group named "Temp"
    2. Make all local users member of this group.
    3. Then run showmbrs.exe to see member of Temp group.
    4. This way you have a list of users in Local SAM database.
    5. I use Net localgroup and other LDIFDE commands to import those users using a Clone ID in AD.

    I hope this is clear!
    LVL 48

    Expert Comment


    well done

    Accepted Solution

    PAQed with points refunded (500)

    Community Support Moderator

    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

    Join & Write a Comment

    Suggested Solutions

    So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
    I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
    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.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    729 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

    18 Experts available now in Live!

    Get 1:1 Help Now