Home Page Icon
Home Page
Table of Contents for
Cover
Close
Cover
by Brian Svidergol, Robbie Allen
Active Directory Cookbook, 4th Edition
Active Directory Cookbook
Preface
Who Should Read This Book?
What’s in This Book?
Conventions Used in This Book
Using Code Examples
Safari® Books Online
How to Contact Us
Acknowledgments
1. Getting Started
Approach to the Book
At Least Three Ways to Do It!
Windows Server 2008, Windows Server 2008 R2, and Windows Server 2012
Where to Find the Tools
Running Tools with Alternate Credentials
Targeting Specific Domain Controllers
Getting Familiar with LDIF
Replaceable Text
Where to Find More Information
Command-Line Tools
Microsoft Knowledge Base
Microsoft Developer Network
Websites
Mailing List
Additional Resources
2. Forests, Domains, and Trusts
Introduction
The Anatomy of a Forest
The Anatomy of a Domain
The Anatomy of a Trust
Creating a Forest
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
See Also
Removing a Forest
Problem
Solution
Discussion
See Also
Creating a Domain
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
See Also
Removing a Domain
Problem
Solution
Discussion
See Also
Removing an Orphaned Domain
Problem
Solution
Using a command-line interface
Discussion
See Also
Finding the Domains in a Forest
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
Using a graphical user interface
Using PowerShell
See Also
Finding the NetBIOS Name of a Domain
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Renaming a Domain
Problem
Solution
Discussion
See Also
Raising the Domain Functional Level to Windows Server 2012
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
See Also
Raising the Functional Level of a Windows Server 2008 or 2008 R2 Forest
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
See Also
Using AdPrep to Prepare a Domain or Forest for Windows Server 2012
Problem
Solution
Discussion
See Also
Determining Whether AdPrep Has Completed
Problem
Solution
Discussion
See Also
Checking Whether a Windows Domain Controller Can Be Upgraded to Windows Server 2003 or 2008
Problem
Solution
Using a graphical user interface
Discussion
See Also
Creating an External Trust
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
See Also
Creating a Transitive Trust Between Two AD Forests
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
Creating a Shortcut Trust Between Two AD Domains
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
Creating a Trust to a Kerberos Realm
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
See Also
Viewing the Trusts for a Domain
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
See Also
Verifying a Trust
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
Using a graphical user interface
Using a command-line interface
See Also
Resetting a Trust
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
Using a command-line interface
See Also
Removing a Trust
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
Enabling SID Filtering for a Trust
Problem
Solution
Using a command-line interface
Using PowerShell to view SID filtering settings
Discussion
See Also
Enabling Quarantine for a Trust
Problem
Solution
Using a command-line interface
Discussion
Managing Selective Authentication for a Trust
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
Finding Duplicate SIDs in a Domain
Problem
Solution
Using a command-line interface
Discussion
See Also
Adding Additional Fields to Active Directory Users and Computers
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
See Also
3. Domain Controllers, Global Catalogs, and FSMOs
Introduction
The Anatomy of a Domain Controller
Promoting a Server to a Domain Controller
Problem
Solution
Discussion
See Also
Promoting a Server to a Read-Only Domain Controller
Problem
Solution
Discussion
See Also
Performing a Two-Stage RODC Installation
Problem
Solution
Discussion
See Also
Modifying the Password Replication Policy
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
Using a command-line interface
See Also
Promoting a Server to a Windows Server 2012 Domain Controller from Media
Problem
Solution
Discussion
See Also
Demoting a Domain Controller
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
See Also
Automating the Promotion or Demotion of a Domain Controller
Problem
Solution
Discussion
See Also
Troubleshooting Domain Controller Promotion or Demotion Problems
Problem
Solution
Discussion
See Also
Verifying the Promotion of a Domain Controller
Problem
Solution
Using a command-line interface
Discussion
See Also
Removing an Unsuccessfully Demoted Domain Controller
Problem
Solution
Discussion
See Also
Renaming a Domain Controller
Problem
Solution
Discussion
Finding the Domain Controllers for a Domain
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
See Also
Finding the Closest Domain Controller
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
Using a command-line interface
Using PowerShell
Finding a Domain Controller’s Site
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
See Also
Moving a Domain Controller to a Different Site
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a command-line interface
See Also
Finding the Services a Domain Controller Is Advertising
Problem
Solution
Discussion
See Also
Restoring a Deleted Domain Controller in Windows Server 2012
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Resetting the TCP/IP Stack on a Domain Controller
Problem
Solution
Using a command-line interface
Discussion
Using a command-line interface
See Also
Configuring a Domain Controller to Use an External Time Source
Problem
Solution
Using the Registry
Using a command line
Discussion
See Also
Finding the Number of Logon Attempts Made Against a Domain Controller
Problem
Solution
Discussion
See Also
Enabling the /3GB Switch to Increase the LSASS Cache
Problem
Solution
Using a command-line interface
Discussion
Enabling and Disabling the Global Catalog
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Determining Whether Global Catalog Promotion Is Complete
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
See Also
Finding the Global Catalog Servers in a Forest
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
See Also
Finding the Domain Controllers or Global Catalog Servers in a Site
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
Finding Domain Controllers and Global Catalogs via DNS
Problem
Solution
Discussion
See Also
Changing the Preference for a Domain Controller
Problem
Solution
Discussion
See Also
Disabling the Global Catalog Requirement for User Logon
Problem
Solution
Finding the FSMO Role Holders
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Transferring a FSMO Role
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a command-line interface
Using PowerShell
See Also
Seizing a FSMO Role
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
See Also
Finding the PDC Emulator FSMO Role Owner via DNS
Problem
Solution
Using a command-line interface
Discussion
See Also
4. Searching and Manipulating Objects
Introduction
The Anatomy of an Object
Viewing the RootDSE
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Viewing the Attributes of an Object
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
See Also
Counting Objects in Active Directory
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
Using LDAP Controls
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Using a Fast or Concurrent Bind
Problem
Solution
Using a graphical user interface
Discussion
See Also
Connecting to an Object GUID
Problem
Solution
Using a graphical user interface
Discussion
See Also
Connecting to a Well-Known GUID
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Searching for Objects in a Domain
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
See Also
Searching the Global Catalog
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
See Also
Searching for a Large Number of Objects
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
See Also
Searching with an Attribute-Scoped Query
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Searching with a Bitwise Filter
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Creating an Object
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
See Also
Modifying an Object
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a command-line interface
See Also
Modifying a Bit-Flag Attribute
Problem
Solution
Using VBScript
Using PowerShell
Discussion
Using PowerShell
See Also
Dynamically Linking an Auxiliary Class
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Creating a Dynamic Object
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
See Also
Refreshing a Dynamic Object
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Modifying the Default TTL Settings for Dynamic Objects
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
Using a command-line interface
See Also
Moving an Object to a Different OU or Container
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a command-line interface
See Also
Moving an Object to a Different Domain
Problem
Solution
Using a graphical user interface (ADMT 3.2)
Using PowerShell
Discussion
See Also
Referencing an External Domain
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
See Also
Renaming an Object
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
See Also
Deleting an Object
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
See Also
Deleting a Container That Has Child Objects
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Viewing the Created and Last-Modified Timestamp of an Object
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Modifying the Default LDAP Query Policy
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
See Also
Exporting Objects to an LDIF File
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
Using a command-line interface
See Also
Importing Objects Using an LDIF File
Problem
Solution
Using a command-line interface
Discussion
Using a command-line interface
See Also
Exporting Objects to a CSV File
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
See Also
Importing Objects Using PowerShell and a CSV File
Problem
Solution
Using PowerShell
Discussion
See Also
5. Organizational Units
Introduction
The Anatomy of an Organizational Unit
Creating an OU
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Enumerating the OUs in a Domain
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
Finding an OU
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Enumerating the Objects in an OU
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
Using PowerShell
See Also
Deleting the Objects in an OU
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Deleting an OU
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Moving the Objects in an OU to a Different OU
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
See Also
Moving an OU
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Renaming an OU
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a command-line interface
See Also
Modifying an OU
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Determining Approximately How Many Child Objects an OU Has
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Delegating Control of an OU
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
See Also
Assigning or Removing a Manager for an OU
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Linking a GPO to an OU
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
See Also
Protecting an OU Against Accidental Deletion
Problem
Solution
Using a graphical user interface
Using a command-line interface (all versions)
Using PowerShell
Discussion
6. Users
Introduction
The Anatomy of a User
Modifying the Default Display Name Used When Creating Users in ADUC or ADAC
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Creating a User
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
Using PowerShell
See Also
Creating a Large Number of Users
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
Using a command-line interface
Using PowerShell
See Also
Creating an inetOrgPerson User
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Converting a user Object to an inetOrgPerson Object (or Vice Versa)
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Modifying an Attribute for Several Users at Once
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Deleting a User
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Setting a User’s Profile Attributes
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Moving a User
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Redirecting Users to an Alternative OU
Problem
Solution
Using a graphical user interface
Using the command-line interface
Discussion
See Also
Renaming a User
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Copying a User
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
Using a graphical user interface
See Also
Finding Locked-Out Users
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
See Also
Unlocking a User
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Troubleshooting Account Lockout Problems
Problem
Solution
Using a graphical user interface
Discussion
See Also
Viewing the Domain-Wide Account Lockout and Password Policies
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
Using a graphical user interface
Using PowerShell
See Also
Applying a Fine-Grained Password Policy to a User Object
Problem
Solution
Using a graphical user interface (steps specific to Windows Server 2012)
Using a command-line interface
Using PowerShell
Discussion
See Also
Viewing the Fine-Grained Password Policy That Is in Effect for a User Account
Problem
Solution
Using a graphical user interface
Using a command prompt
Using PowerShell
Discussion
See Also
Enabling and Disabling a User
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Finding Disabled Users
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Viewing a User’s Group Membership
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Removing All Group Memberships from a User
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Changing a User’s Primary Group
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
See Also
Copying a User’s Group Membership to Another User
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Setting a User’s Password
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Preventing a User from Changing a Password
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
See Also
Requiring a User to Change a Password at Next Logon
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Preventing a User’s Password from Expiring
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Finding Users Whose Passwords Are About to Expire
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
Using a command-line interface
See Also
Viewing the RODCs That Have Cached a User’s Password
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Setting a User’s Account Options (userAccountControl)
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Setting a User’s Account to Expire
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Determining a User’s Last Logon Time
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
See Also
Finding Users Who Have Not Logged On Recently
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Viewing and Modifying a User’s Permitted Logon Hours
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
Using PowerShell
See Also
Viewing a User’s Managed Objects
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Creating a UPN Suffix for a Forest
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Restoring a Deleted User
Problem
Solution
Using a graphical user interface (steps specific to Windows Server 2012)
Discussion
See Also
Protecting a User Against Accidental Deletion
Problem
Solution
Using a graphical user interface
Using a command-line interface (all versions)
Using PowerShell
Discussion
7. Groups
Introduction
The Anatomy of a Group
Creating a Group
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
See Also
Viewing the Permissions of a Group
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Viewing the Direct Members of a Group
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Viewing the Nested Members of a Group
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Adding and Removing Members of a Group
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Moving a Group Within a Domain
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a command-line interface
See Also
Moving a Group to Another Domain
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Changing the Scope or Type of a Group
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Modifying Group Attributes
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
Using PowerShell
See Also
Delegating Control for Managing Membership of a Group
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Resolving a Primary Group ID
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
Using PowerShell
See Also
Enabling Universal Group Membership Caching
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Restoring a Deleted Group
Problem
Solution
Using a graphical user interface (steps specific to Windows Server 2012)
Using PowerShell
Discussion
See Also
Protecting a Group Against Accidental Deletion
Problem
Solution
Using a graphical user interface
Using a command-line interface (all versions)
Using PowerShell (all versions)
Discussion
Applying a Fine-Grained Password Policy to a Group Object
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
8. Computer Objects
Introduction
The Anatomy of a Computer
Creating a Computer
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Creating a Computer for a Specific User or Group
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
Using a graphical user interface
Using a command-line interface
See Also
Deleting a Computer
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Joining a Computer to a Domain
Problem
Solution
Using a graphical user interface (steps specific to Windows 7, Windows 8, and Windows Server 2012)
Using a command-line interface
Using a command-line interface with PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
See Also
Moving a Computer Within the Same Domain
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Moving a Computer to a New Domain
Problem
Solution
Using a graphical user interface (ADMT 3.2)
Using a command-line interface
Discussion
See Also
Renaming a Computer
Problem
Solution
Using a graphical user interface (steps specific to Windows 7, Windows 8, and Windows Server 2012)
Using a command-line interface
Using PowerShell
Discussion
Using a graphical user interface
Using a command-line interface
See Also
Adding or Removing a Computer Account from a Group
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Testing the Secure Channel for a Computer
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Resetting a Computer Account
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Finding Inactive or Unused Computers
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
Using a command-line interface
See Also
Changing the Maximum Number of Computers a User Can Join to the Domain
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Modifying the Attributes of a computer Object
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Finding Computers with a Particular OS
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Binding to the Default Container for Computers
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Changing the Default Container for Computers
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
See Also
Listing All the Computer Accounts in a Domain
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Identifying a Computer Role
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a command-line interface
Protecting a Computer Against Accidental Deletion
Problem
Solution
Using a graphical user interface (steps specific to Windows Server 2008 and later)
Using a command-line interface (all versions)
Using PowerShell (all versions)
Discussion
Viewing the RODCs That Have Cached a Computer’s Password
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
9. Group Policy Objects
Introduction
Managing GPOs
Finding the GPOs in a Domain
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Creating a GPO
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Copying a GPO
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Deleting a GPO
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Viewing the Settings of a GPO
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Modifying the Settings of a GPO
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
See Also
Importing Settings into a GPO
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Creating a Migration Table
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
Using a command-line interface
See Also
Creating Custom Group Policy Settings
Problem
Solution
Discussion
See Also
Assigning Logon/Logoff and Startup/Shutdown Scripts in a GPO
Problem
Solution
Using a graphical user interface (steps specific to Windows Server 2008 and later)
Discussion
Installing Applications with a GPO
Problem
Solution
Using a graphical user interface
Discussion
Disabling the User or Computer Settings in a GPO
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
Using PowerShell
See Also
Listing the Links for a GPO
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Creating a GPO Link to an OU
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
Using PowerShell
See Also
Blocking Inheritance of GPOs on an OU
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
See Also
Enforcing the Settings of a GPO Link
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
See Also
Applying a Security Filter to a GPO
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Delegating Administration of GPOs
Problem
Solution
Using a graphical user interface
Discussion
See Also
Importing a Security Template
Problem
Solution
Using a graphical user interface
Discussion
Creating a WMI Filter
Problem
Solution
Using a graphical user interface
Discussion
See Also
Applying a WMI Filter to a GPO
Problem
Solution
Using a graphical user interface
Discussion
Configuring Loopback Processing for a GPO
Problem
Solution
Using a graphical user interface
Discussion
See Also
Backing Up a GPO
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Restoring a GPO
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Simulating the RSoP
Problem
Solution
Using a graphical user interface
Discussion
See Also
Viewing the RSoP
Problem
Solution
Using a command-line interface
Discussion
See Also
Refreshing GPO Settings on a Computer
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Restoring a Default GPO
Problem
Solution
Using a command-line interface
Discussion
Creating a Fine-Grained Password Policy
Problem
Solution
Using a graphical user interface (steps specific to Windows 7, Windows 8, and Windows Server 2012)
Using PowerShell
Discussion
See Also
Editing a Fine-Grained Password Policy
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Viewing the Effective PSO for a User
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
10. Schema
Introduction
The Anatomy of Schema Objects
Registering the Active Directory Schema MMC Snap-in
Problem
Solution
Discussion
Generating an OID to Use for a New Class or Attribute
Problem
Solution
Discussion
Extending the Schema
Problem
Solution
Discussion
See Also
Preparing the Schema for an Active Directory Upgrade
Problem
Solution
From a graphical user interface
Discussion
See Also
Documenting Schema Extensions
Problem
Solution
Discussion
See Also
Adding a New Attribute
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Viewing an Attribute
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Adding a New Class
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Viewing a Class
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Indexing an Attribute
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Modifying the Attributes That Are Copied When Duplicating a User
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Modifying the Attributes Included with ANR
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Modifying the Set of Attributes Stored on a Global Catalog
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Finding Nonreplicated and Constructed Attributes
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Finding the Linked Attributes
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Finding the Structural, Auxiliary, Abstract, and 88 Classes
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Finding the Mandatory and Optional Attributes of a Class
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Modifying the Default Security of a Class
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using a command-line interface
See Also
Managing the Confidentiality Bit
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
See Also
Adding an Attribute to the Read-Only Filtered Attribute Set (RO-FAS)
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
See Also
Deactivating Classes and Attributes
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Redefining Classes and Attributes
Problem
Solution
Discussion
See Also
Reloading the Schema Cache
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Managing the Schema Master FSMO
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
11. Site Topology
Introduction
The Anatomy of Site Topology Objects
Creating a Site
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Listing Sites in a Domain
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Renaming a Site
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Deleting a Site
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Delegating Control of a Site
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
Using a graphical user interface
Configuring Universal Group Caching for a Site
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Creating a Subnet
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Listing the Subnets
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Finding Missing Subnets
Problem
Solution
Using PowerShell
See Also
Deleting a Subnet
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Changing a Subnet’s Site Assignment
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Creating a Site Link
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Finding the Site Links for a Site
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
Modifying the Sites That Are Part of a Site Link
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Modifying the Cost for a Site Link
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Enabling Change Notification for a Site Link
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Modifying Replication Schedules
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Disabling Site Link Transitivity or Site Link Schedules
Problem
Solution
Using a graphical user interface
Using PowerShell
Discussion
Using PowerShell
See Also
Creating a Site Link Bridge
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Finding the Bridgehead Servers for a Site
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Setting a Preferred Bridgehead Server for a Site
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Listing the Servers
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Moving a Domain Controller to a Different Site
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Configuring a Domain Controller to Cover Multiple Sites
Problem
Solution
Using a graphical user interface
Discussion
Viewing the Site Coverage for a Domain Controller
Problem
Solution
Using a command-line interface
Discussion
See Also
Disabling Automatic Site Coverage for a Domain Controller
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Finding the Site for a Client
Problem
Solution
Using a command-line interface
Discussion
See Also
Forcing a Host into a Particular Site
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Creating a connection Object
Problem
Solution
Using a graphical user interface
Using a command-line interface
Discussion
See Also
Listing the connection Objects for a Server
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Finding the ISTG for a Site
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Transferring the ISTG to Another Server
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Triggering the KCC
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Determining Whether the KCC Is Completing Successfully
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Disabling the KCC for a Site
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Using PowerShell
Discussion
See Also
Changing the Interval at Which the KCC Runs
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
12. Replication
Introduction
Determining Whether Two Domain Controllers Are in Sync
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
See Also
Viewing the Replication Status of Several Domain Controllers
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
See Also
Viewing Unreplicated Changes Between Two Domain Controllers
Problem
Solution
Using a command-line interface
Discussion
See Also
Forcing Replication from One Domain Controller to Another
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
Using PowerShell
See Also
Enabling and Disabling Replication
Problem
Solution
Using a command-line interface
Discussion
See Also
Changing the Intra-Site Replication Notification Interval
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Changing the Inter-Site Replication Interval
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Disabling Inter-Site Compression of Replication Traffic
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Checking for Potential Replication Problems
Problem
Solution
Using a command-line interface
Using PowerShell
Discussion
See Also
Enabling Enhanced Logging of Replication Events
Problem
Solution
Discussion
See Also
Enabling Strict or Loose Replication Consistency
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Finding conflict Objects
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Finding Orphaned Objects
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Listing the Replication Partners for a DC
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Discussion
See Also
Viewing Object Metadata
Problem
Solution
Using a graphical user interface
Using a command-line interface
Using PowerShell
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Active Directory Cookbook
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset