TrabalhosGratuitos.com - Trabalhos, Monografias, Artigos, Exames, Resumos de livros, Dissertações
Pesquisar

Create User With User Templates

Casos: Create User With User Templates. Pesquise 860.000+ trabalhos acadêmicos

Por:   •  20/11/2013  •  877 Palavras (4 Páginas)  •  365 Visualizações

Página 1 de 4

CREATE USERS WITH A USER ACCOUNT TEMPLATE

Exercise 1 Create Users with a User Account Template

In this exercise, you will create a user account template that is prepopulated with properties for sales representatives. You will then create a user account for a new sales representative by copying the user account template.

1. Log on to SERVER01 as Administrator.

2. Open the Active Directory Users And Computers snap-in and expand the domain.

3. Right-click the People OU, choose New, and then select User.

4. In the First Name box, type _Sales, including the underscore character.

5. In the Last Name box, type Template.

6. In the User Logon Name box, type _salestemplate, including the underscore character.

Click Next.

7. Type a complex password in the Password and Confirm Password boxes.

8. Select the Account Is Disabled check box. Click Next. Click Finish.

Notice that the underscore character at the beginning of the account’s name ensures that

the template appears at the top of the list of users in the People OU. Notice also that the

icon of the user object includes a down arrow, indicating that the account is disabled.

9. Double-click the template account to open its Properties dialog box.

10. Click the Organization tab.

11. In the Department box, type Sales.

12. In the Company box, type Contoso, Ltd.

13. Click the Member Of tab.

14. Click the Add button.

15. Type Sales, and then click OK.

16. Click the Profile tab.

17. In the Profile Path box, type \\server01\profiles\%username%.

18. Click OK.

You have now created a template account that can be copied to generate new user

accounts for sales representatives. Next, you will create an account based on the user

account template.

19. Right-click _Sales Template and choose Copy.

The Copy Object – User dialog box appears.

20. In the First Name box, type Jeff.

21. In the Last Name box, type Ford.

22. In the User Logon Name box, type jeff.ford. Click Next.

23. Type a complex password in the Password and Confirm Password boxes.

24. Clear the Account Is Disabled check box.

25. Click Next, and then click Finish.

26. Open the properties of the Jeff Ford account and confirm that the attributes you configured in the template were copied to the new account.

Exercise 2 Create a User with the Dsadd Command

In this exercise, you will use the Dsadd command to create a user account for Mike Fitzmaurice in the People OU.

1. Open a command prompt.

2. Type the following command on one line, and then press Enter:

dsadd user "cn=Mike Fitzmaurice,ou=People,dc=contoso,dc=com"

-samid mike.fitz -pwd * -mustchpwd yes -hmdir

\\server01\users\%username%\documents -hmdrv U:

*make sure domain name is correct

3. You will be prompted to enter a password for the user twice. Type a password that is complex and at least seven characters long.

4. Open the Active Directory Users And Computers snap-in and open the properties of

Mike’s user account. Confirm that the properties you entered on the command line

appear in the account.

Exercise 3 Import Users with CSVDE

In the previous two exercises, you created users one at a time. In this exercise, you will use a comma-delimited text file to import two users.

1. Open Notepad and enter the following three lines. Each of the following bullets represents one line of text. Do not include the bullets in the Notepad document.

❑ DN,objectClass,sAMAccountName,sn,givenName,userPrincipalName

❑ "cn=Lisa Andrews,ou=People,dc=contoso,dc=com",user,lisa.andrews,

Lisa,Andrews,lisa.andrews@contoso.com

❑ "cn=David Jones,ou=People,dc=contoso,dc=com",user,david.jones,

David,Jones,david.jones@contoso.com

2. Save the file to your Documents folder with the name Newusers.txt.

3. Open a command prompt.

4. Type cd %userprofile%\Documents and press Enter.

5. Type csvde -i -f newusers.txt -k and press Enter.

The three users are imported. If you encounter any errors, examine

...

Baixar como (para membros premium)  txt (6.5 Kb)  
Continuar por mais 3 páginas »
Disponível apenas no TrabalhosGratuitos.com