You are previewing Windows Server® 2008 Server Core Administrator's Pocket Consultant.
O'Reilly logo
Windows Server® 2008 Server Core Administrator's Pocket Consultant

Book Description

Get the practical, pocket-sized reference for IT professionals responsible for administering and supporting Windows Server 2008 Server Core. Designed for quick referencing, this portable guide covers all the essentials for performing everyday tasks placing expert advice on installation, migration, administration, and troubleshooting right at your fingertips. You ll discover how to deploy and configure Windows Server 2008 Server Core; configure server roles, including Active Directory Domain Services, DHCP, DNS, File Services, Print Services, Web Services, and Hyper-V; perform local and remote administration; monitor, troubleshoot, and configure high availability; perform backups and recovery; and manage software updates. Featuring quick-reference tables, concise lists, and step-by-step instructions, this handy, one-stop guide provides fast, accurate answers on the spot whether you re at your desk or in the field.


Key Book Benefits

Zeroes in on exactly what the administrator needs to perform day-to-day tasks for Windows Server 2008 Server Core Covers deployment and configuration, server roles, local and remote administration, high availability, backup and recovery, software updates, and other essential topics Delivers information in concise tables, easy-to-scan lists, and step-by-step instructions Features a pocket-sized format that puts the right information right at your fingertips

Visit the catalog page for Windows Server® 2008 Server Core Administrator's Pocket ConsultantVisit the errata page for Windows Server® 2008 Server Core Administrator's Pocket Consultant

Table of Contents

  1. Special Upgrade Offer
  2. Acknowledgments
  3. Foreword
  4. Introduction
    1. Who Is This Book For?
    2. How This Book Is Organized
    3. Conventions Used in This Book
    4. Other Server Core Resources
    5. Contact the Author
    6. Support
  5. 1. Examining Server Core
    1. What Is Server Core?
      1. Full vs. Server Core
      2. The Server Core GUI
      3. Supported Server Roles
      4. Supported Optional Features
      5. Server Core Architecture
      6. Driver Support
      7. Service Footprint
    2. Why Is Server Core Useful?
      1. Benefits of Server Core
      2. Possible Usage Scenarios
      3. Non-Usage Scenarios
  6. 2. Deploying Server Core
    1. Planning for Installation
      1. System Requirements
      2. Upgrade Constraints
    2. Manually Installing Server Core
      1. Performing a Manual Install from DVD
        1. Performing a Manual Install Using Retail DVD Media
        2. Performing a Manual Install Using Volume-Licensed DVD Media
      2. Performing a Manual Install over the Network
    3. Deploying Server Core Using the Windows AIK
      1. Types of Unattended Installs
      2. Installing the Windows AIK
      3. Creating a Basic Answer File for Unattended Installs
        1. Minimal Answer File Settings for an Unattended Install
        2. Preparing to Create an Answer File
        3. Configuring Minimal Answer File Settings for a Completely Automated Install
      4. Performing an Unattended Install from a DVD
      5. Performing an Install from a Configuration Set
        1. Creating a Bootable Windows PE CD
        2. Creating a Configuration Set
        3. Performing an Install from a Configuration Set Using a Network Share
      6. Performing an Install from Image
        1. Creating and Capturing the Master Installation
        2. Applying the Captured Image to a Destination Computer
    4. Deploying Server Core Using Windows Deployment Services
    5. Deploying Server Core Using Microsoft Deployment
  7. 3. Initial Configuration
    1. Methods for Performing Initial Configuration
      1. Setting the Local Administrator Password
        1. Setting the Local Administrator Password During First Logon
        2. Setting the Local Administrator Password Using an Answer File
        3. Resetting the Local Administrator Password from the Command Prompt
        4. Changing the Local Administrator Password
      2. Managing Local Users and Groups
        1. Managing Local Users and Groups from the Command Prompt
          1. Displaying a List of Local User Accounts
          2. Adding a Local User Account
          3. Removing a Local User Account
          4. Adding a User to the Local Administrators Group
        2. Managing Users and Groups Using an Answer File
      3. Changing the Computer Name
        1. Changing the Computer Name from the Command Prompt
        2. Changing the Computer Name of a Domain-Joined Computer
        3. Specifying the Computer Name in an Answer File
      4. Configuring TCP/IP Networking Settings
        1. Configuring IPv4 Networking Settings from the Command Prompt
        2. Configuring IPv4 Networking Settings Using an Answer File
        3. Configuring IPv6 Networking Settings
      5. Configuring Date and Time Settings
        1. Configuring Date and Time Settings from the Command Prompt
        2. Configuring Date and Time Settings Using an Answer File
      6. Configuring Regional and Language Settings
        1. Configuring Regional and Language Settings from the Command Prompt
        2. Configuring Regional and Language Settings in an Answer File
      7. Configuring Automatic Updates
        1. Configuring Automatic Updates from the Command Prompt
        2. Configuring Automatic Update Settings Using an Answer File
      8. Configuring Windows Error Reporting
        1. Configuring Windows Error Reporting from a Command Prompt
        2. Configuring Windows Error Reporting on Domain-Joined Computers
        3. Configuring WER Settings Using an Answer File
      9. Participating in the Customer Experience Improvement Program
        1. Configuring CEIP Settings from the Command Prompt
        2. Configuring CEIP Settings Using an Answer File
      10. Activating Windows
        1. Activating Windows from the Command Prompt
        2. Activating Windows Using an Answer File
      11. Enabling Remote Desktop
        1. Enabling Remote Desktop from the Command Prompt
        2. Configuring Remote Desktop to Require Network Level Authentication
        3. Enabling Remote Desktop Using an Answer File
      12. Enabling Remote Administration of Windows Firewall
        1. Enabling Remote Administration of Windows Firewall from the Command Prompt
        2. Configuring Windows Firewall from the Command Prompt
        3. Enabling Remote Administration of Windows Firewall Using an Answer File
      13. Joining a Domain
        1. Joining a Domain from the Command Prompt
        2. Joining a Domain Using an Answer File
      14. Other Initial Configuration Tasks
        1. Configuring the Paging File
        2. Configuring Display Settings
        3. Configuring Screen Saver Timeout
        4. Configuring Proxy Server Settings
  8. 4. Installing Roles and Features
    1. Understanding Roles and Features
    2. Tools for Installing Roles and Features
    3. Understanding Packages
      1. Understanding Package Names
      2. Understanding Package Dependencies
    4. Enumerating Installed Roles and Features
      1. Enumerating Installed Roles and Features Using Oclist
      2. Using Find to Simplify the Output of Oclist
      3. Enumerating Installed Roles and Features Using WMI
    5. Installing and Uninstalling Roles and Features Using Ocsetup
      1. Installing a Role or Feature Using Ocsetup
      2. Installing the DHCP Server Role
      3. Verifying Installation of the Role
      4. Uninstalling the DHCP Server Role
      5. Installing the Web Server (IIS) Role
      6. Adding HTTP Logging to the Web Server (IIS) Role
      7. Installing Roles and Features That Have Dependencies
      8. Removing Roles and Features That Have Dependencies
      9. Installing Multiple Roles and Features Using Ocsetup with an Answer File
    6. Unattended Installation of Roles and Features
    7. Sysprep Support for Server Roles
    8. Permanently Removing Unneeded Roles and Features
  9. 5. Local Management
    1. Using the Command Prompt
      1. Starting the Command Prompt
        1. Changing the Current Directory of the Default Command Prompt
        2. Using the Run and RunOnce Registry Keys
        3. Start a Command Prompt When No Command Prompt Is Visible
        4. Starting Additional Command Prompt Windows
        5. Starting a Command Prompt at a Specified Drive or Directory
        6. Starting a Command Prompt Using Parameters
        7. Working with Multiple Command Prompts
        8. Closing a Command Prompt
      2. Customizing the Command Prompt
        1. Increasing the History Buffer
        2. Simplifying Cut and Paste
        3. Increasing the Screen Buffer
        4. Additional Customizations
        5. Customizing the Background
      3. Running Multiple Commands
      4. Command Redirection
      5. Working with Environment Variables
        1. Displaying Environment Variables
        2. Defining New Environment Variables
        3. Using Environment Variables
      6. Commands for Common Tasks
    2. Using Scripts
      1. WMI Support in Server Core
        1. WMI Provider Support in Server Core
        2. WMI Namespace Support in Server Core
        3. WMI Classes Supported by Server Core
      2. Using WMIC
  10. 6. Remote Management
    1. Using Remote Desktop
      1. Enabling Remote Desktop Using Scregedit.wsf
      2. Enabling Remote Desktop Using an Answer File
      3. Using Scregedit.wsf to Require Network Level Authentication for Remote Desktop
      4. Using an Answer File to Require Network Level Authentication for Remote Desktop
      5. Using Remote Desktop to Administer Server Core
      6. Using TS Remote App for Publishing Cmd to Administer Server Core
      7. Managing Terminal Services on Server Core
    2. Using WinRS
      1. Configuring WinRM on Server Core
      2. Using WinRS to Administer Server Core in a Domain
      3. Using WinRS to Administer Server Core in a Workgroup
      4. Requirements for Using WinRS
      5. Configuring WinRM and WinRS Using Group Policy
    3. Using MMC Snap-ins and RSAT
      1. Using MMC Consoles to Administer Server Core in a Domain
        1. Changing the Focus of an MMC Console
        2. Using MMC Snap-ins to Administer Server Core
        3. Using the Device Manager Snap-in
        4. Using the Disk Management Snap-in
        5. Using the IP Security Policy Management Snap-in
        6. Using the Reliability And Performance Snap-in
        7. Enabling Any MMC Snap-in to Administer Server Core
      2. Using MMC Snap-ins to Administer Server Core in a Workgroup
      3. Using RSAT to Administer Server Core in a Domain
      4. Installing RSAT on a Full Installation of Windows Server 2008
      5. Installing RSAT on Windows Vista SP1
      6. Using RSAT to Administer Server Core Remotely in a Domain
      7. Using RSAT to Administer Server Core Remotely in a Workgroup
    4. Using Other GUI Tools
      1. Using Windows Explorer Remotely
      2. Using Task Scheduler Remotely
      3. Using Registry Editor Remotely
    5. Using Group Policy
      1. Group Policy Tools on Server Core
      2. Using WMI Filters to Administer Server Core with Group Policy
      3. Managing Local Group Policy on Server Core
    6. Using Windows PowerShell
  11. 7. Active Directory Domain Services Role
    1. Installing AD DS on Server Core
      1. Creating a New Forest Using Unattended Dcpromo
        1. Verifying the Unattended Dcpromo Operation
        2. Customizing the Dcpromo Unattend File for Domain Controller Promotion
      2. Creating a New Domain Tree Using Unattended Dcpromo
      3. Creating a New Child Domain Using Unattended Dcpromo
      4. Installing a Replica Domain Controller into an Existing Domain Using Unattended Dcpromo
      5. Removing a Domain Controller Using Unattended Dcpromo
        1. Removing a Replica Domain Controller from a Domain
        2. Customizing the Dcpromo Unattend File for Domain Controller Demotion
        3. Removing the Last Domain Controller from a Domain
        4. Removing the Last Domain Controller from a Forest
        5. Performing a Forced Removal of a Domain Controller
      6. Preparing an Existing Active Directory Environment for Windows Server 2008 Domain Controllers
        1. Preparing an Existing Active Directory Forest
        2. Preparing an Existing Active Directory Domain
        3. New Functionality Provided by Windows Server 2008 Forest Functional Level
        4. New Functionality Provided by Windows Server 2008 Domain Functional Level
    2. Managing Server Core Domain Controllers
      1. Managing Server Core Domain Controllers Using MMC Consoles
      2. Managing Server Core Domain Controllers Using Command-Line Utilities
      3. Performing Common Active Directory Management Tasks
        1. Managing FSMO Roles
        2. Managing User Accounts
        3. Managing Computer Accounts
        4. Manage Organizational Units
        5. Managing Active Directory Replication
    3. Working with Server Core Read-Only Domain Controllers
      1. Additional Limitations of RODCs
      2. Preparing a Forest for RODCs
      3. Installing an RODC on Server Core
      4. Configuring the Password Replication Policy for an RODC
  12. 8. DHCP Server Role
    1. Installing the DHCP Server Role on Server Core
      1. Installing the DHCP Server Role from the Command Prompt
      2. Installing the DHCP Server Role Using an Answer File
      3. Starting the DHCP Server Service
      4. Removing the DHCP Server Role
    2. Managing a Server Core DHCP Server
      1. Managing DHCP Servers
        1. Managing DHCP Servers Using RSAT
        2. Managing DHCP Servers Interactively Using Netsh
        3. Managing DHCP Servers in Batch Mode Using Netsh Scripts
        4. Granting Users Privileges for Managing DHCP Servers
        5. Authorizing a DHCP Server in Active Directory
        6. Selecting an Authorized DHCP Server to Manage
      2. Viewing and Modifying DHCP Server Configuration
      3. Creating and Managing Scopes
        1. Creating a New Scope
        2. Adding an IP Address Range to a Scope
        3. Adding Exclusions to a Scope
        4. Creating Reservations
        5. Configuring DHCP Options
        6. Creating and Configuring a Scope Using a Batch File
        7. Configuring Lease Duration
        8. Activating a Scope
        9. Viewing Scopes
        10. Deleting a Scope
      4. Maintaining DHCP Servers
        1. Viewing DHCP Server Activity
        2. Viewing DHCP Scope Statistics
        3. Backing Up the DHCP Server Database
        4. Restoring the DHCP Server Database
        5. Exporting and Importing a DHCP Server Configuration
        6. Reconciling DHCP Scopes
        7. Dumping and Loading a DHCP Server Configuration
        8. Monitoring and Troubleshooting DHCP Servers
  13. 9. DNS Server Role
    1. Installing the DNS Server Role on Server Core
      1. Installing the DNS Server Role on a Domain Controller
        1. Verifying the SRV Resource Records for a Domain Controller
        2. Configuring the Priority and Weight of SRV Resource Records
      2. Installing the DNS Server Role from the Command Prompt
      3. Installing the DNS Server Role Using an Answer File
      4. Removing the DNS Server Role
    2. Managing a Server Core DNS Server
      1. Managing DNS Servers
        1. Managing a Server Core DNS Server Using RSAT
        2. Managing a Server Core DNS Server from the Command Line
      2. Configuring DNS Servers
        1. Configuring a Caching-Only DNS Server
        2. Configuring a Primary DNS Server
        3. Configuring a Secondary DNS Server
      3. Creating and Managing Zones
        1. Displaying a List of Zones on a DNS Server
        2. Creating a Forward Lookup Standard Primary Zone
        3. Creating a Forward Lookup AD DS–Integrated Primary Zone
        4. Creating a Forward Lookup Standard Secondary Zone
        5. Creating a Forward Lookup Standard Stub Zone
        6. Creating a Forward Lookup AD DS–Integrated Stub Zone
        7. Creating Reverse Lookup Zones
        8. Deleting a Zone
      4. Creating and Managing Resource Records
        1. Display a List of All Resource Records in a Zone
        2. Exporting Detailed Information Concerning All Resource Records in a Zone
        3. Displaying the Resource Records for a Node
        4. Creating Resource Records
        5. Modifying Resource Records
        6. Modifying the SOA Resource Record
      5. Performing Other DNS Management Tasks
        1. Configuring Forwarders
        2. Configuring Conditional Forwarders
        3. Configuring Zone Transfers
        4. Integrating DNS with DHCP
        5. Configuring Aging and Scavenging
        6. Integrating DNS with WINS
        7. Configuring the GlobalNames Zone
      6. Maintaining DNS Servers
        1. Starting and Stopping the DNS Server Service
        2. Pausing and Resuming Zones
        3. Initiating Scavenging
        4. Monitoring and Troubleshooting DNS
        5. Configuring DNS Server Debug Logging
        6. Verifying DNS Server Configuration Using the DNS Console
        7. Verifying DNS Server Configuration Using Nslookup
  14. 10. File and Print Services Roles
    1. Installing and Managing the File Services Role on Server Core
      1. Installing File Services Role Services from the Command Line
      2. Installing File Services Role Services Using an Answer File
      3. Managing Disks and File Systems
        1. Managing Disks and Volumes Using Diskpart
        2. Scripting Diskpart Commands
        3. Displaying Detailed File System Information
        4. Displaying Free Space on a Volume
        5. Search for Files or Folders on a Volume
        6. Displaying File System Filters
        7. Setting the Dirty Bit on a Volume
        8. Running Chkdsk
        9. Configuring Self-Healing NTFS
        10. Enabling BugcheckOnCorrupt
        11. Defragment a Volume
        12. Viewing and Modifying the ACLs for Files and Folders
        13. Creating Symbolic Links
        14. Formatting USB Flash Drives Using exFAT
        15. Managing Hardware RAID Using Diskraid
      4. Managing Shared Folders
        1. Creating Shared Folders
        2. Viewing Shared Folders
        3. Configuring Shared Folder Permissions
        4. Deleting a Share
        5. Using the Share And Storage Management Snap-in
      5. Implementing DFS
        1. Understanding DFS Management Tools
        2. Creating a Domain-Based Namespace
        3. Adding an Additional Namespace Server
        4. Creating Folders
        5. Adding a Folder Target
        6. Replicating a Folder
        7. Testing a DFS Namespace
    2. Installing and Managing the Print Services Role on Server Core
      1. Managing Server Core Print Servers Using Print Management
      2. Managing Server Core Print Servers from the Command Line
        1. Using the Printer Admin Scripts
        2. Using PrintUI.dll with Rundll32.exe
        3. Configuring Print Server Properties
        4. Install a Printer
        5. Viewing and Configuring Printer Properties
        6. Displaying Printer Settings
        7. Specifying the Default Printer
        8. Adding Printer Drivers
        9. Managing Print Queues and Print Jobs
  15. 11. Web Server Role
    1. Understanding the Web Server Role
      1. Understanding IIS 7.0 Components and Their Dependencies
        1. Categories of IIS 7.0 Components
        2. Individual IIS 7.0 Components
      2. Understanding the Limitations of IIS 7.0 on Server Core
    2. Installing the Web Server Role
      1. Installing a Default Web Server
      2. Installing a Classic ASP Web Server
      3. Installing All IIS 7.0 Components
      4. Installing PHP on Server Core
      5. Installing the Web Server Role Using an Answer File
    3. Managing the Web Server Role
      1. Using Appcmd.exe
      2. Common Management Tasks
        1. Verifying the Default Web Site
        2. Creating a Web Site
        3. Stopping and Starting a Web Site
        4. Creating a Virtual Directory
        5. Creating an Application
        6. Creating an Application Pool
        7. Isolating an Application in a Separate Pool
        8. Managing an Application Pool
  16. 12. Hyper-V and Other Roles
    1. Installing and Managing the Hyper-V Role on Server Core
      1. Hyper-V Terminology
        1. Hypervisor
        2. Partition
        3. Snapshot
        4. Enlightenments
        5. Integration Services
        6. Synthetic Devices
        7. Emulated Devices
      2. Installing the Hyper-V Role
        1. Verifying Operating System Support for Hyper-V
        2. Installing the Hyper-V Update Package
        3. Installing the Hyper-V Role
        4. Verifying Role Installation
        5. Troubleshooting Role Installation
      3. Managing the Hyper-V Role
        1. Using the Hyper-V Management Console
        2. Configuring Hyper-V Settings
        3. Configuring Virtual Networks
        4. Creating New Virtual Machines
        5. Configuring Virtual Machine Settings
        6. Installing Guest Operating Systems
        7. Managing Virtual Machines
        8. Installing Integration Services
        9. Creating Snapshots
        10. Managing Virtual Machines Using WMI
        11. Managing Virtual Machines Using PowerShell
    2. Installing and Managing the AD LDS Role on Server Core
      1. Installing the AD LDS Role
      2. Managing the AD LDS Role
        1. Creating a New AD LDS Instance
        2. Managing the New Instance
    3. Installing and Managing the Streaming Media Services Role on Server Core
      1. Installing the Streaming Media Services Role
        1. Downloading and Applying the Windows Media Services 2008 Update Package
        2. Installing the Streaming Media Services Role on Server Core
        3. Starting the Windows Media Services Service
      2. Managing the Streaming Media Services Role
        1. Downloading and Applying the Windows Media Services Remote Server Administration Tools Update Package
        2. Using the Windows Media Services Remote Server Administration Tools Snap-in
  17. 13. Maintaining Server Core
    1. Managing Services
      1. Managing Services from the Command Line
        1. Determining What Services Are Running
        2. Stopping and Starting Services
        3. Displaying Service Configuration Information
        4. Configuring the Start Mode for a Service
      2. Managing Services Using the Services Snap-in
    2. Managing Devices and Device Drivers
      1. Managing Devices from the Command Line
        1. Displaying a List of Drivers
        2. Installing Drivers Manually Using Pnputil
        3. Obtaining Drivers for Devices
      2. Managing Devices Using the Device Manager Snap-in
    3. Managing Processes
      1. Displaying Processes and Process Details
      2. Stopping a Process
      3. Starting a Process
    4. Managing Scheduled Tasks
      1. Managing Scheduled Tasks from the Command Line
        1. Viewing Scheduled Tasks
        2. Creating a New Task
        3. Modifying an Existing Task
        4. Running Tasks and Ending Running Tasks
        5. Deleting a Task
      2. Managing Scheduled Tasks Using the Task Scheduler Snap-in
    5. Event Logging
      1. Viewing Events from the Command Line
        1. Enumerating the Names of All Event Logs
        2. Displaying the Status of an Event Log
        3. Viewing and Modifying the Configuration of an Event Log
        4. Querying for Specific Events in an Event Log
        5. Exporting, Archiving, and Clearing an Event Log
      2. Viewing Events Using Event Viewer
      3. Configuring Event Subscriptions
        1. Configuring the Source Computer
        2. Configuring the Collector
        3. Managing Subscriptions Using Wecutil
    6. Performance Monitoring
      1. Collecting and Analyzing Performance Data Using the Reliability and Performance Monitor
      2. Collecting and Analyzing Performance Data from the Command Line
    7. Backup and Recovery
      1. Installing the Windows Server Backup Feature
        1. Installing the Windows Server Backup Feature from the Command Line
        2. Installing the Windows Server Backup Feature Using an Answer File
      2. Performing Backup and Recovery Using the Windows Server Backup Snap-in
        1. Performing a Manual Backup
        2. Scheduling Backups
        3. Configuring Backup Type
        4. Performing a Recovery
        5. Performing a Full Server Recovery
      3. Performing Backup and Recovery from the Command Line
        1. Managing Scheduled Backups Using Wbadmin
        2. Performing a Manual Backup Using Wbadmin
        3. Viewing the Status of a Backup Operation Using Wbadmin
        4. Performing a Recovery Using Wbadmin
        5. Backing Up the System State Using Wbadmin
    8. Installing Software Updates
      1. Installing Updates Manually
      2. Viewing Installed Updates
      3. Uninstalling Updates
    9. Installing Applications
      1. Supported Types of Applications
      2. Installing and Uninstalling Applications
        1. Installing an Application
        2. Viewing Installed Applications
        3. Uninstalling an Application
  18. A. About the Author
  19. B. Additional Resources for IT Professionals from Microsoft Press
    1. Windows Server
    2. Windows Client
    3. SQL Server 2005
    4. Exchange Server 2007
    5. Scripting
  20. C. More Great Resources for IT Professionals from Microsoft Press
    1. Administrator’s Pocket Consultant
    2. Administrator’s Companion
    3. Resource Kit
  21. Index
  22. About the Author
  23. Special Upgrade Offer
  24. Copyright