• No results found

WORKING WITH COMPUTER ACCOUNTS

N/A
N/A
Protected

Academic year: 2021

Share "WORKING WITH COMPUTER ACCOUNTS"

Copied!
10
0
0

Loading.... (view fulltext now)

Full text

(1)

WORKING WITH

COMPUTER ACCOUNTS

Chapter 8

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 2

CHAPTER OVERVIEW

• Describe the process of adding a computer to an Active Directory domain

• Create and manage computer objects • Troubleshoot computer accounts

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 3

UNDERSTANDING COMPUTER OBJECTS

• Logical representation in Active Directory of the physical computer object

• A mean to track computers belonging to the domain • User cannot log on to the domain from a computer

(2)

CREATING COMPUTER OBJECTS

• Computer object must exist in Active Directory before computer can be joined to the domain. • Computer object can be created using Active

Directory Users and Computers or a command-line tool such as Dsadd.

• Computer account can also be created during the domain joining process.

• Computer account SID is stored in Active Directory computer account object

• Prevent a rogue computer from accessing the network

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 5

COMPUTER ACCOUNT AUTHENTICATION • Computer authenticate before user account is

authenticated

• Client computer and Domain Controller mutual authentication

• Authenticate using computer account and password

• Account name

• Up to 63 characters

• Pre-Windows 2000 the first 15 characters

• Password is generated automatically and kept hidden • Account name up to 63 characters

• Pre-Windows 2000 the first 15 characters

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 6

CREATING COMPUTER OBJECTS USING ACTIVE DIRECTORY USERS AND COMPUTERS

(3)

CREATING COMPUTER OBJECTS USING DSADD.EXE • Allows computer account creation to be scripted • Provides a mechanism to create large amounts of

computer accounts at one time

Example: DSAdd computer

“CN=MyComputer,CN=Computers,DC=MyCompany,DC=Com”

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 8

CREATING COMPUTER OBJECTS USING NETDOM.EXE • Command-line utility

• Simpler to use than Dsadd

• Must be extracted from the support.cab archive in the \Support\Tools folder on the Windows Server 2003 installation CD or install by running suptools.msi

Example:

Netdom add MyComputer /Domain:Contoso.com /UserD:Admin /PasswordD:Secret /OU:Organization

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 9

(4)

JOINING A DOMAIN USING NETDOM.EXE

• Allows computers to be joined to the domain from a command line

• Allows scripts to be developed to streamline the process of joining a computer to a domain • Netdom join …..

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 11

CREATING COMPUTER OBJECTS WHILE JOINING THE DOMAIN

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 12

JOINING A DOMAIN DURING OPERATING SYSTEM INSTALLATION

(5)

LOCATING COMPUTER OBJECTS • The Computers container • The Domain Controllers OU

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 14

LOCATING DC COMPUTER OBJECTS

• Computer accounts for domain controllers are placed in the system-created domain controllers OU by default.

• The Default Domain Controllers Policy GPO is applied to the container.

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 15

LOCATING OTHER COMPUTER OBJECTS

• Non–domain-controller computer accounts are placed in the Computers system-created container by default.

(6)

REDIRECTING COMPUTER OBJECTS

• Allows an alternative default location for computer accounts to be specified.

• Use the Redircmp.exe command-line utility. • Works only on Windows Server 2003 domain

functional level.

• Automatically redirects all computer accounts • Can be overridden by explicit computer account

creation commands.

Example: Redircmp ou=Workstations,DC=contoso,DC=com

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 17

MANAGING COMPUTER OBJECTS • Computer objects have properties.

• Can be viewed and configured through Active Directory Users and Computers

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 18

(7)

DELETING, DISABLING, AND RESETTING COMPUTER OBJECTS

Deleting

• Removes the computer account from Active Directory

Disabling

• Prevents the computer from being used to log on to the domain

Resetting

• Reestablishes relationship between a computer and Active Directory

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 20

DELETING COMPUTER OBJECTS

• Manually through Active Directory Users and Computers

• Automatically by changing the domain membership on the computer

• Using a command-line tool such as Dsrm

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 21

(8)

RESETTING A COMPUTER OBJECT

• Necessary when replacing or upgrading a computer system

• Allows an appropriately named new system to use an existing computer account

• Allows computer account password on the computer to be synchronized with computer account password stored on the domain controller

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 23

MANAGING REMOTE COMPUTERS

• Allows you to perform management tasks across the network

• Actually a shortcut to the Computer Management MMC snap-in

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 24

MANAGING COMPUTER OBJECTS FROM THE COMMAND LINE

(9)

MANAGING COMPUTER OBJECT PROPERTIES WITH DSMOD.EXE

• Can be used to modify properties of existing computer account objects

• Useful for creating scripts and batch files to automate changes

• Cannot be used to create or delete computer account objects

Example:

DSMod computer CN=MyComp,CN=Computers,DC=Contoso,DC=com –reset

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 26

DELETING COMPUTER OBJECT PROPERTIES WITH DSRM.EXE

• Can be used to delete computer account objects from the command line

• Requires confirmation of deletion unless the -noprompt switch is used

Example:

DSrm CN=MyComp,CN=Computers,DC=Contoso,DC=com

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 27

TROUBLESHOOTING COMPUTER ACCOUNTS: PROBLEMS

• Messages at logon indicate that a domain controller cannot be contacted, that the computer account might be missing, or that the trust between the computer and the domain has been lost. • Error messages or entries in an event log indicate

(10)

TROUBLESHOOTING COMPUTER ACCOUNTS: SOLUTIONS

• Reset the computer account in Active Directory. • If the computer account is missing, create a

computer account.

• If the computer still belongs to the domain, you must remove it from the domain by changing its membership to a workgroup.

• Rejoin the computer to the domain.

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 29

SUMMARY

• A computer object represents a specific system on the network.

• To add a computer to a domain, you must create a computer object for it in Active Directory and then join the physical computer to the object.

• To create computer objects, you can use the Active Directory Users and Computers console, the Dsadd utility, or the Netdom utility.

Chapter 8: WORKING WITH COMPUTER ACCOUNTS 30

References

Related documents

If you start Active Direc- tory Users And Computers and no objects are available, you can connect to a domain controller to access user, group, and computer objects in the

a new type of taxonomy seeks to more closely reflect these phylogenetic relationships in the naming of a species. propose renaming many species to

We can also observe that in some medium ship populated regions as the west North America coast or the East South America coast where the channel load in a conventional LEO

Tools covered in this part of the chapter include Task Manager, System Configuration Utility (commonly called MSconfig), Services console, Computer Management console,

101 Reflections on Tai Chi Chuan 108 Insights into Tai Chi Chuan—A String of Pearls 6 Healing Movements—Qigong for Health, Strength, & Longevity A Woman’s Qigong

In the console, you can select multiple computer accounts, right-click the selection, click Properties, and then modify properties of all the selected accounts collectively via

computer that is configured to use Directory Access's Active Directory plug-in. Users with mobile accounts can log in using their Active Directory credentials while the computer is

Antitrust intervention over market forces threatens consumer welfare, especially is fast moving markets, and pro- posed remedies, such as limiting the collection and