25
Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

Embed Size (px)

Citation preview

Page 1: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

Office of Education Technology (OET)

Active Directory Bulk ImportSaturday March 11, 2006 /8:30 – 10:30 AM

Page 2: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

2KTLC 2006

Office of Education Technology (OET)

Before you proceed…

• Some slides contain notes that are viewable from the Notes Page layout– Select View Notes Page from the menu

toolbar to view additional notes

Page 3: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

3KTLC 2006

Office of Education Technology (OET)

• Open District Workstation and logon• Select Utilities, Export, Export Manager• Select New and type the name of the export

(AD_Export) and click OK• In the Export File Name box, type

AD_Export.txt• Change the export path to the location

where you want the exported information to be placed (e:\ad_export)

STI Export

Page 4: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

4KTLC 2006

Office of Education Technology (OET)

STI Export

• Select Edit Query• On the Query Builder Design page, select

qryStudent Demographics from the left pane and drag it to the right pane

• Select the checkboxes for the following:– First_Name– Last_Name– Grade_Level– School_Number

Page 5: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

5KTLC 2006

Office of Education Technology (OET)

• Click on the disk icon at the top of the page to save the query

• Name the query (All Students Export)

• For the category, select General

• For the description, type “This query is used to export students….)

• Click OK

STI Export

Page 6: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

6KTLC 2006

Office of Education Technology (OET)

STI Export

• Click the traffic light at the top of the page to run the test the query

• If the results are what you expected, click the Red X to close the Query Builder page

• On the Export Builder page, select your query from the Query dropdown list and click OK

• Click Save

Page 7: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

7KTLC 2006

Office of Education Technology (OET)

STI Export

• On the Export Specifications page, you should see the AD_Export object in the list

• Select it and click Start

• Once the export is complete, a dialogue box will appear. Click OK

• You can exit the District Workstation by clicking on the X in the upper right hand corner of each screen

Page 8: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

8KTLC 2006

Office of Education Technology (OET)

STI Export

• Go to the newly created e:\ad_export folder and share it to DIST Support Admins

• Go to your AD management workstation and retrieve the exported file (place it near the root of a drive letter for ease of use such as c:\ad_exports\ad_export.txt)

Page 9: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

9KTLC 2006

Office of Education Technology (OET)

STI Export

Page 10: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

10KTLC 2006

Office of Education Technology (OET)

Change text to columns

Page 11: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

11KTLC 2006

Office of Education Technology (OET)

Left, Concatenate, Find and Replace

• Use Left to create user name

• Use the concatenate function to create user names

Page 12: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

12KTLC 2006

Office of Education Technology (OET)

Find and Replace• Click to highlight the column containing the grade level• Click on Edit, then Find• Click on the Replace tab and click on the options button• Be sure to check the Match entire cell contents box• In the Find text box, enter a grade level. In the replace with

text box enter the graduation year.• Click Replace All• You will need to do the same process to replace school

numbers with School Names if you prefer.

Page 13: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

13KTLC 2006

Office of Education Technology (OET)

What we have at this point

• Your file should look similar to the example below. You have a column containing first names, last names, graduation year, school name, and the columns used to create a user name.

Page 14: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

14KTLC 2006

Office of Education Technology (OET)

Before adding anything else…

• Be sure that your spreadsheet looks like below:

Page 15: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

15KTLC 2006

Office of Education Technology (OET)

Add Canonical Name

• MORE CONCATENATE!

• CN=username,OU=High,OU=Students,DC=District,DC=KETSDS,DC=NET

Page 16: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

16KTLC 2006

Office of Education Technology (OET)

Finish manipulating file• Add dsadd user to the first column• Highlight the entire worksheet, select Format then cells.

Choose text and click OK• Add –fn in the column before the first name• Add –ln in the column before the last name• Add –desc in the column before the graduation year

Page 17: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

17KTLC 2006

Office of Education Technology (OET)

Highlight and Paste• Highlight only the text that you want to import. (be sure that the

“work” cells that were used to configure the username are not included)

• Copy the contents and open a new spreadsheet.• Right click in cell A1 and click Paste Special• Bullet Values and click OK

Page 18: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

18KTLC 2006

Office of Education Technology (OET)

Save!!!

• Click on File and Save As

• Change the Save as type to Text (Tab-delimited) file, name your file and click SAVE

• You will be prompted with a couple of windows…click OK and YES

Page 19: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

19KTLC 2006

Office of Education Technology (OET)

Open File using Notepad

Page 20: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

20KTLC 2006

Office of Education Technology (OET)

Remove Tabs

• Highlight the space between dsadd user and the “CN…” on the first row

• Press Ctrl+C or select edit,copy

• Select Edit, then replace

• In the Find What text box, press Ctrl+v or select edit, paste

• In the Replace with text box, press the space bar one time and click Replace All.

Page 21: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

21KTLC 2006

Office of Education Technology (OET)

Save as a Batch File

• The tabs have been removed from your text file and it is ready to go. Click on File, click the Save as Type: and change to All Files. Rename your file to filename.bat and click Save.

Page 22: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

22KTLC 2006

Office of Education Technology (OET)

Run your import

• From an Administrative workstation that has Windows Server 2003 support tools installed, double click on the file to run it. If you would like to monitor the progress of the file, run it from a command prompt rather than double clicking on it.

Page 23: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

23KTLC 2006

Office of Education Technology (OET)

Page 24: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

24KTLC 2006

Office of Education Technology (OET)

View Success

• Open Active Directory Users and Computers to view your newly created accounts

Page 25: Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM

25KTLC 2006

Office of Education Technology (OET)

Additional Items

• DSAdd user has many options that can be manipulated

• DSMod uses similar command functions and can be used for existing users