You are previewing Windows Server® 2008 R2 Administration: Instant Reference.
O'Reilly logo
Windows Server® 2008 R2 Administration: Instant Reference

Book Description

All your Windows Server 2008 R2 questions answered—on the spot!

Get up to speed on the new features of Windows Server 2008 R2 with this indispensableguide. Designed for busy IT professionals, it's the perfect go-to resource for quick answers and real-world solutions as you administer the new server OS. You'll find easy-to-read lists, quick-reference tables, helpful thumb tabs, and much more in a handy, compact format that puts the information you need at your fingertips.

Topics include:

  • Getting started and adding roles and functionality

  • Automating tasks

  • Managing users, groups, directories, and the centralized desktop

  • Handling folder security, disk management, storage, backup, and recovery

  • Monitoring and maintaining web servers

  • Troubleshooting IP and managing remote access

  • Doing performance tuning and maintaining virtual servers

Table of Contents

  1. copyright
  2. Dear Reader,
  3. Acknowledgments
  4. About the Authors
  5. Introduction
    1. Who Should Read This Book
    2. How to Contact the Authors
  6. I. Getting Started
    1. 1. Getting Started with Windows Server 2008 R2
      1. 1.1. Plan for Windows Server 2008 R2
        1. 1.1.1. Understand Hardware Requirements
        2. 1.1.2. Understand Windows Server 2008 R2 Editions and Roles
          1. 1.1.2.1. Understand Server Core
        3. 1.1.3. Consider Your Licensing Options
      2. 1.2. Install Windows Server 2008 R2
        1. 1.2.1. Perform a Windows Server 2008 R2 Full Installation
        2. 1.2.2. Perform a Windows Server 2008 R2 Server Core Installation
          1. 1.2.2.1. Use Sconfig to Configure Your Windows Server 2008 R2 Server Core
        3. 1.2.3. Upgrade to Windows Server 2008 R2
        4. 1.2.4. Install Windows Server 2008 R2 Server Unattended
          1. 1.2.4.1. Install the WAIK
          2. 1.2.4.2. Create an Answer File
          3. 1.2.4.3. Install Windows Server 2008 R2 Unattended
      3. 1.3. Migrate to Windows Server 2008 R2
        1. 1.3.1. Install Windows Server 2008 R2 Migration Tools
        2. 1.3.2. Migrate to Windows Server 2008 R2
    2. 2. Adding Server Roles and Functionality
      1. 2.1. Plan for Windows Server 2008 R2 Roles
        1. 2.1.1. Plan for Active Directory
        2. 2.1.2. Plan for Hyper-V
        3. 2.1.3. Understand Remote Desktop Services
        4. 2.1.4. Understand Windows Server 2008 R2 Features
      2. 2.2. Install Windows Server 2008 R2 Roles
        1. 2.2.1. Install Roles on a Windows Server 2008 R2 Full Server Installation
          1. 2.2.1.1. Install the Active Directory Role
          2. 2.2.1.2. Install Hyper-V
          3. 2.2.1.3. Install Remote Desktop Services
        2. 2.2.2. Install Roles on a Windows Server 2008 R2 Server Core Installation
          1. 2.2.2.1. Install Active Directory on Windows Server 2008 R2 on Server Core
          2. 2.2.2.2. Install Other Roles and Features on Windows Server 2008 R2 Server Core
      3. 2.3. Migrate Roles to Windows Server 2008 R2
        1. 2.3.1. Migrate Active Directory and DNS
        2. 2.3.2. Migrate DHCP Services
        3. 2.3.3. Utilize the Server Migration Tools
    3. 3. Automating Administrative Tasks with Windows Server 2008 R2
      1. 3.1. Learn the Basics of Windows PowerShell v2
        1. 3.1.1. Understand Windows PowerShell v2 Terminology and Structure
        2. 3.1.2. Enable Windows PowerShell v2
        3. 3.1.3. Install Windows PowerShell on Windows Server 2008 R2 Server Core
          1. 3.1.3.1. Install PowerShell on Server Core
        4. 3.1.4. Learn to Help Yourself to PowerShell
          1. 3.1.4.1. Learn How to Help Yourself
        5. 3.1.5. Take the Next Step
      2. 3.2. Use PowerShell Remoting
        1. 3.2.1. Enable PowerShell Remoting
        2. 3.2.2. Run Remote Commands
      3. 3.3. Learn PowerShell Integrated Scripting Environment (ISE)
        1. 3.3.1. Work with the PowerShell ISE
  7. II. Manage Active Directory and Local Users
    1. 4. User and Group Maintenance
      1. 4.1. Understand Local Users and Groups
        1. 4.1.1. Learn Default Local Users and Groups
        2. 4.1.2. Administer Local Users and Groups
          1. 4.1.2.1. Create a Local User Account
          2. 4.1.2.2. Create a Local Group
          3. 4.1.2.3. Manage Your Local Users and Groups
          4. 4.1.2.4. Manage Local Users and Groups on Server Core
        3. 4.1.3. Understand Local User Rights
          1. 4.1.3.1. View the Local User Rights
          2. 4.1.3.2. Rights or Permissions
        4. 4.1.4. Work with Local Account Policies
          1. 4.1.4.1. A Word on Passwords
          2. 4.1.4.2. A Look at Account Policies
      2. 4.2. Understand Active Directory Users and Groups
        1. 4.2.1. Learn Active Directory Users and Groups Terminology
          1. 4.2.1.1. Organize Your Users and Groups
          2. 4.2.1.2. Computer Accounts
        2. 4.2.2. Join an Active Directory Domain as a Member
        3. 4.2.3. Work with Active Directory and Local Groups
        4. 4.2.4. Manage Users and Groups in Active Directory
          1. 4.2.4.1. Create Organizational Units
          2. 4.2.4.2. Create Users
          3. 4.2.4.3. Create Groups
          4. 4.2.4.4. Active Directory Administrator Center
      3. 4.3. Automate User and Group Management
        1. 4.3.1. Load AD PowerShell Modules
        2. 4.3.2. Work with Users and Groups in PowerShell
        3. 4.3.3. Use the AD Recycle Bin
          1. 4.3.3.1. Enable the AD Recycle Bin
          2. 4.3.3.2. Using the AD Recycle Bin
    2. 5. Managing and Replicating Active Directory
      1. 5.1. Manage the Active Directory Database
        1. 5.1.1. Maintain FSMO Roles
        2. 5.1.2. Transfer FSMO Roles
          1. 5.1.2.1. Seize FSMO Roles with NTDSUTIL
        3. 5.1.3. Defragment the Directory Database
          1. 5.1.3.1. Offline Directory Defragmentation
        4. 5.1.4. Audit Active Directory Service
          1. 5.1.4.1. Enable Group Policy Auditing in Group Policy Management Console
          2. 5.1.4.2. Enable Auditing Using the Command Line
          3. 5.1.4.3. Configure Auditing in the Object SACLs
        5. 5.1.5. Use Fine-Grained Password Policy
        6. 5.1.6. Create PSOs
          1. 5.1.6.1. Associate a PSO to an Additional User or Group
      2. 5.2. Understand Active Directory Replication
        1. 5.2.1. Understand the Components of Replication
          1. 5.2.1.1. Types of Updates
          2. 5.2.1.2. Metadata
        2. 5.2.2. Understand the Physical Constructs of Replication
          1. 5.2.2.1. Knowledge Consistency Checker
          2. 5.2.2.2. Viewing Replication Data
    3. 6. Maintaining and Controlling the Centralized Desktop
      1. 6.1. Understand Group Policy
        1. 6.1.1. Know the Difference Between Policy and Preferences
          1. 6.1.1.1. Policies
          2. 6.1.1.2. Preferences
        2. 6.1.2. Understand the Scope of Group Policy Management
        3. 6.1.3. Understand and Control the Order of Precedence
        4. 6.1.4. Learn Group Policy Processing
          1. 6.1.4.1. Manually Update Group Policy Settings
          2. 6.1.4.2. Learn How Group Policies Process on the Client Side
      2. 6.2. Administer Group Policy
        1. 6.2.1. Use the Group Policy Management Console
          1. 6.2.1.1. Work with Group Policies
          2. 6.2.1.2. Work with Starter GPOs
          3. 6.2.1.3. Work with Group Policy Object Links
          4. 6.2.1.4. Filter Group Policies with GPMC
        2. 6.2.2. Use the Group Policy Management Editor
          1. 6.2.2.1. Filter Group Policy with the Editor
        3. 6.2.3. Automate Group Policy Administrator Tasks
      3. 6.3. Troubleshoot Group Policy
        1. 6.3.1. Use the Group Policy Modeling Wizard
        2. 6.3.2. Use Tools to See the RSOP
  8. III. Data Access and Management
    1. 7. Configuring Folder Security, Access, and Replication
      1. 7.1. Implement Permissions
        1. 7.1.1. Set Standard NTFS Permissions
        2. 7.1.2. Set Special NTFS Permissions
        3. 7.1.3. View Effective NTFS Permissions
        4. 7.1.4. Take Ownership of an NTFS Folder
      2. 7.2. Share Folders
        1. 7.2.1. Create a Shared Folder
        2. 7.2.2. Implement Advanced Sharing
        3. 7.2.3. Resolve Permission Conflicts
      3. 7.3. Configure Offline File Caching
      4. 7.4. Secure Folders and Files
        1. 7.4.1. Configure the Encrypting File System
        2. 7.4.2. Configure BitLocker Drive Encryption
        3. 7.4.3. Turn On BitLocker
        4. 7.4.4. Recover BitLocker
        5. 7.4.5. Use the BitLocker To Go Tool
      5. 7.5. Implement the Distributed File System
        1. 7.5.1. Configure a DFS Namespace
        2. 7.5.2. Configure Replication Groups
        3. 7.5.3. Enable Previous Versions of Files
        4. 7.5.4. Restore a Previous Version
    2. 8. Backing Up and Recovering Your Server
      1. 8.1. Understand Backup and Recovery
        1. 8.1.1. Understand Backup and Recovery Terminology
        2. 8.1.2. Use Backup and Recovery Tools
          1. 8.1.2.1. Install Windows Server Backup Tools on a Full Server
          2. 8.1.2.2. Install Windows Server Backup Tools on Core Server
          3. 8.1.2.3. Enable Shadow Copies
      2. 8.2. Manage Backup and Recovery
        1. 8.2.1. Back Up Your Server
          1. 8.2.1.1. Configure Backup Settings
          2. 8.2.1.2. Back Up Your Server
          3. 8.2.1.3. Back Up Specific Files
          4. 8.2.1.4. Perform a System State Backup
          5. 8.2.1.5. Perform a Bare-Metal Backup
          6. 8.2.1.6. Look at the Scheduled Tasks
        2. 8.2.2. Recover Your Data
          1. 8.2.2.1. Restore Specific Files or a Full Volume
          2. 8.2.2.2. Perform a System State Restore
          3. 8.2.2.3. Recover System State Data Containing Active Directory Data
          4. 8.2.2.4. Perform a Bare-Metal Restore
        3. 8.2.3. Recover via Shadow Copy
      3. 8.3. Perform Backup and Recovery with Command Tools
        1. 8.3.1. Use wbadmin.exe
          1. 8.3.1.1. wbadmin.exe Examples
        2. 8.3.2. Use PowerShell
          1. 8.3.2.1. PowerShell Examples
    3. 9. Managing Disks and Disk Storage
      1. 9.1. Understand the Basics
        1. 9.1.1. Learn Disk Management and Storage Terminology
        2. 9.1.2. Work with Your Storage
          1. 9.1.2.1. Convert a Basic Disk to a Dynamic Disk
          2. 9.1.2.2. Import a Foreign Disk
          3. 9.1.2.3. Create Simple Volumes
          4. 9.1.2.4. Create Spanned and Striped Volumes
        3. 9.1.3. Work with Partitions
          1. 9.1.3.1. Format a Partition
          2. 9.1.3.2. Delete a Partition
          3. 9.1.3.3. Extend a Partition
          4. 9.1.3.4. Shrink an Existing Volume
        4. 9.1.4. Use DiskPart
          1. 9.1.4.1. DiskPart Script Examples
      2. 9.2. Work with RAID Volumes
        1. 9.2.1. Understand RAID Levels
        2. 9.2.2. Implement RAID
          1. 9.2.2.1. Create a RAID 1 or Mirrored Volume
          2. 9.2.2.2. Repair a Mirrored Volume
          3. 9.2.2.3. Break a Mirror
          4. 9.2.2.4. Create a RAID 5 or Striped Volume with Parity
          5. 9.2.2.5. Repair a RAID 5 Volume
      3. 9.3. Manage Disk Storage
        1. 9.3.1. Manage Disk Storage Quotas
  9. IV. Network Configuration and Communication
    1. 10. Maintaining Your Web Server
      1. 10.1. Install Internet Information Services
        1. 10.1.1. Understand Internet Information Services Role Services
        2. 10.1.2. Install IIS on Windows Server 2008 R2 Full Server Installation
        3. 10.1.3. Install IIS on Windows Server 2008 R2 Core Server
        4. 10.1.4. Install IIS on Windows Server 2008 R2 Web Edition
      2. 10.2. Manage Internet Information Services
        1. 10.2.1. Work with the IIS Management Console
          1. 10.2.1.1. Work with Failed Request Tracing Rules
        2. 10.2.2. Remotely Manage IIS Servers
        3. 10.2.3. Manage IIS with PowerShell
      3. 10.3. Work with Websites
        1. 10.3.1. Understand the Basics of IIS Websites
        2. 10.3.2. Work with Applications
          1. 10.3.2.1. Recycle Applications
        3. 10.3.3. Integrate PHP Applications in IIS
          1. 10.3.3.1. Install CGI on IIS
    2. 11. Administering DNS
      1. 11.1. Add and Remove DNS Servers
        1. 11.1.1. Add a DNS Server
        2. 11.1.2. Configure a New DNS Server
        3. 11.1.3. Add Query Forwarding
        4. 11.1.4. Configure a Caching-Only DNS Server
          1. 11.1.4.1. Manage Root Hints
        5. 11.1.5. Remove a DNS Server
      2. 11.2. Manage a DNS Server
        1. 11.2.1. Change the Address of a DNS Server
        2. 11.2.2. Configure a DNS Server to Listen Only on a Selected Address
        3. 11.2.3. Scavenge Properties for DNS
        4. 11.2.4. Manage DNS Integration with Active Directory
          1. 11.2.4.1. Integrate DNS with AD Domain Services
          2. 11.2.4.2. Build a DNS Application Directory Partition
          3. 11.2.4.3. Remove a DNS Server from an Application Directory Partition
          4. 11.2.4.4. Change Security for a Directory Integrated Zone
        5. 11.2.5. Change Zone Replication
        6. 11.2.6. Manage Zone Database Files
          1. 11.2.6.1. Creating a Forward Lookup Zone
          2. 11.2.6.2. Changing the Zone Type
          3. 11.2.6.3. Managing Resource Records
          4. 11.2.6.4. Configuring Dynamic Update
          5. 11.2.6.5. Zone Transfer Settings
          6. 11.2.6.6. Securing a Zone
        7. 11.2.7. Configure Single-Label DNS Resolution
          1. 11.2.7.1. Creating the GNZ
      3. 11.3. Troubleshoot DNS
    3. 12. Troubleshooting TCP/IP
      1. 12.1. Understand TCP/IP Basics
      2. 12.2. Troubleshoot TCP/IP
        1. 12.2.1. Understand Troubleshooting Tools
      3. 12.3. Troubleshoot IPV6
        1. 12.3.1. Verify Connectivity for IPV6
        2. 12.3.2. Verify Responsiveness
        3. 12.3.3. Check the Routing Table for IPV6
        4. 12.3.4. Validate DNS Name Resolution for IPV6 Addresses
        5. 12.3.5. Flush the DNS Cache
        6. 12.3.6. Test IPV6 TCP Connections
      4. 12.4. Troubleshoot IPV4
        1. 12.4.1. Use the Network Connection Repair Tool
        2. 12.4.2. Verify IPV4 Connectivity
        3. 12.4.3. Verify Responsiveness
        4. 12.4.4. Check the Routing Table for IPV4
        5. 12.4.5. Validate DNS Name Resolution for IPV4 Addresses
        6. 12.4.6. Flush the DNS Cache
        7. 12.4.7. Test IPV4 TCP Connections
  10. V. Manage Desktop and Server Virtualization
    1. 13. Managing Remote Access to Your Server
      1. 13.1. Understand Remote Desktop Services
        1. 13.1.1. Understand the Remote Desktop Services Role Services Requirements
        2. 13.1.2. Install Additional Role Services and Prerequisites for Remote Desktop Services
          1. 13.1.2.1. Install Remote Desktop Gateway
          2. 13.1.2.2. Install Remote Desktop Web Access
      2. 13.2. Manage Remote Desktop Services
        1. 13.2.1. Administer Remote Desktop Session Host
          1. 13.2.1.1. Configure General Settings
          2. 13.2.1.2. Configure Connections for RDS
        2. 13.2.2. Activate Remote Desktop Licensing Server
        3. 13.2.3. Configure Remote Desktop Gateway
        4. 13.2.4. Configure Remote Desktop Connection Broker
        5. 13.2.5. Configure Remote Desktop Web Access
          1. 13.2.5.1. Use the RemoteApp Manager
          2. 13.2.5.2. Connect with Remote Desktop Connection
        6. 13.2.6. Working with Virtual Desktop Infrastructure
          1. 13.2.6.1. Configure Virtualization Hosts
      3. 13.3. Work with Remote Clients
        1. 13.3.1. Install and Configure Windows Server 2008 R2 VPNs
          1. 13.3.1.1. Understand the Windows Server 2008 R2 Role Services
          2. 13.3.1.2. Install Routing and Remote Access Services
          3. 13.3.1.3. Configure the VPN
        2. 13.3.2. Install and Configure DirectAccess
          1. 13.3.2.1. Install the DirectAccess Management Console
    2. 14. Maintaining Virtual Machines
      1. 14.1. Understand Virtualization with Hyper-V
        1. 14.1.1. Install Hyper-V
        2. 14.1.2. Work with Virtual Networks
      2. 14.2. Build Virtual Machines
        1. 14.2.1. Create a Virtual Machine
        2. 14.2.2. Create Virtual Hard Disks
          1. 14.2.2.1. Create a Virtual Hard Disk
          2. 14.2.2.2. Use an Existing VHD
        3. 14.2.3. Work with Virtual Machine Settings
        4. 14.2.4. Install an Operating System
          1. 14.2.4.1. Install from DVD
          2. 14.2.4.2. Install from ISO
        5. 14.2.5. Connect to a Virtual Machine
        6. 14.2.6. Use Snapshots
        7. 14.2.7. Import a Virtual Machine
        8. 14.2.8. Export a Virtual Machine
  11. VI. Server Tuning and Maintenance
    1. 15. Tuning and Monitoring Performance
      1. 15.1. Analyze Server Roles
        1. 15.1.1. Understand the Best Practices Analyzer
        2. 15.1.2. Use the Best Practices Analyzer
          1. 15.1.2.1. Understand the BPA Report
          2. 15.1.2.2. Work with the BPA Report
        3. 15.1.3. Use PowerShell with the Best Practices Analyzer
          1. 15.1.3.1. BPA PowerShell Examples
      2. 15.2. View Server Performance Data
        1. 15.2.1. Create a System Health Report
        2. 15.2.2. Understand Performance Monitor
          1. 15.2.2.1. Work with the Resource Monitor
          2. 15.2.2.2. Run Windows Memory Diagnostics
          3. 15.2.2.3. Work with the Performance Monitor
          4. 15.2.2.4. Use Data Collector Sets
      3. 15.3. View Server Events
        1. 15.3.1. Work with the Event Viewer
          1. 15.3.1.1. Filter Events and Creating Custom Views
          2. 15.3.1.2. Save Event Logs
          3. 15.3.1.3. Subscribe to Events
          4. 15.3.1.4. Attach a Task to an Event
    2. 16. Keeping Your Servers Up-to-Date
      1. 16.1. Work with Windows Updates
        1. 16.1.1. Find Out What Updates Are
        2. 16.1.2. Use Windows Update
        3. 16.1.3. Enable Automatic Updates
        4. 16.1.4. View Installed Updates
        5. 16.1.5. Remove an Update
        6. 16.1.6. Install Automatic Updates Between Scheduled Times
        7. 16.1.7. Use Group Policy to Configure Automatic Updates
      2. 16.2. Work with Windows Server Update Services
        1. 16.2.1. Do a Simple WSUS Deployment
          1. 16.2.1.1. Use Computer Groups
          2. 16.2.1.2. Use WSUS Server Hierarchy
        2. 16.2.2. Get WSUS Updates on Disconnected Networks
        3. 16.2.3. Use WSUS with Branch Cache
        4. 16.2.4. Choose a Database for WSUS
          1. 16.2.4.1. Learn Where to Store the Updates
        5. 16.2.5. Learn the WSUS Requirements
        6. 16.2.6. Get More Information on WSUS