You are previewing Windows Server Cookbook.
O'Reilly logo
Windows Server Cookbook

Book Description

This practical reference guide offers hundreds of useful tasks formanaging Windows 2000 and Windows Server 2003, Microsoft's latestand greatest server. Through concise, on-the-job solutions tocommon problems, Windows Server Cookbook for Windows Server 2003& Windows 2000 is certain to save you hours of timesearching for answers. Now, instead of dredging reams of Microsoftdocumentation or browsing its unstructured knowledge base to figureout a particular issue--such as how to compare registry valuesbetween two hosts--you can simply reference the index of WindowsServer Cookbook for Windows Server 2003 & Windows 2000.From there, you'll be directed to the exact trouble-shooting recipethey need. As the newest title in O'Reilly's popular Cookbookseries, this book covers a wide range of issues that you are likelyto face in your daily management of the Windows Server operatingsystem. This includes how to deal with:

  • files

  • event logs

  • DNS

  • DHCP

  • security

  • the registry

  • backup/restore

  • One of the book's key benefits is the presentation of solutions inthree different recipe formats. Depending on preference, you cansolve most problems with the graphical user interface, the commandline, or by using scripts. Where appropriate, all three solutionsare presented for each recipe in this book. Each recipe alsoincludes a detailed discussion that explains how and why it works.Windows Server Cookbook for Windows Server 2003 & Windows2000 is written for all levels of system administrators onWindows servers. If you're a relatively new user with only arudimentary understanding of the job, the book can open your eyesto the many possibilities that await. And if you're an advanceduser, it can serve as a useful reference and memory-jogger.Download the code examples from this book. The complete set ofexamples is available at: http://www.rallenhome.com/books/​winsckbk/code.html.

    Table of Contents

    1. Windows Server Cookbook
      1. SPECIAL OFFER: Upgrade this ebook with O’Reilly
      2. Foreword
      3. Preface
        1. Who Should Read This Book
        2. What's in This Book
        3. Conventions Used in This Book
        4. Using Code Examples
        5. Safari Enabled
        6. We'd Like to Hear from You
        7. Acknowledgments
      4. 1. Introduction
        1. 1.1. Approach to the Book
          1. At Least Three Ways to Do It
          2. Windows 2000 Versus Windows Server 2003
        2. 1.2. Where to Find the Tools
        3. 1.3. Running Tools with Alternate Credentials
        4. 1.4. A Brief Word on Windows Scripting
        5. 1.5. Getting the Most Out of Your Scripts
          1. Running Scripts Using Alternate Credentials
            1. WMI
            2. ADSI
            3. ADO
          2. Defining Variables and Error Checking
          3. Using Command-Line Options in a Script
          4. Writing the Output of a Script to a File
          5. Sending the Output of a Script in Email
          6. Reading and Writing from Excel
        6. 1.6. Where to Find More Information
          1. Help and Support Center
          2. Command-Line Tools
          3. Microsoft Knowledge Base
          4. Microsoft Developers Network
          5. Web Sites
          6. Newsgroups
          7. Books
          8. Magazines
      5. 2. System Configuration
        1. Introduction
          1. Using a Command-Line Interface
          2. Using VBScript
        2. 2.1. Activating Windows Server 2003
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        3. 2.2. Configuring Automatic Updates
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
          4. See Also
        4. 2.3. Disabling Windows Update
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        5. 2.4. Installing or Uninstalling a Windows Component
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        6. 2.5. Installing an Application or Service Pack via Group Policy
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
          4. See Also
        7. 2.6. Viewing System Properties
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        8. 2.7. Setting the System Time, Date, and Time Zone
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        9. 2.8. Setting the Name of a Server
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a command-line interface
            2. Using VBScript
          4. See Also
        10. 2.9. Joining a Server to a Domain
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        11. 2.10. Testing and Resetting the Secure Channel
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        12. 2.11. Viewing and Setting Environment Variables
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        13. 2.12. Configuring Page Files
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        14. 2.13. Putting System Information on the Desktop
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
        15. 2.14. Configuring System Startup Options
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        16. 2.15. Configuring System Failure Options
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        17. 2.16. Viewing System Uptime
          1. Problem
          2. Solution
            1. Using a command-line interface
            2. Using VBScript
          3. Discussion
        18. 2.17. Disabling the Manage/Configure Your Server Screen
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        19. 2.18. Disabling Shutdown Tracker
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        20. 2.19. Restarting or Shutting Down a Server
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
      6. 3. Disks, Drives, and Volumes
        1. Introduction
          1. Using a Graphical User Interface
          2. Using a Command-Line Interface
          3. Using VBScript
        2. 3.1. Viewing the Disk, Drive, and Volume Layout
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        3. 3.2. Converting a Basic Disk to Dynamic
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        4. 3.3. Enabling Disk Performance Statistics
          1. Problem
          2. Solution
          3. Discussion
          4. See Also
        5. 3.4. Formatting a Volume
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        6. 3.5. Setting the Drive Letter of a Volume
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        7. 3.6. Setting the Label of a Volume
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        8. 3.7. Cleaning Up a Volume
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
          4. See Also
        9. 3.8. Defragmenting a Volume
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using VBScript
          4. See Also
        10. 3.9. Compressing a Volume
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using VBScript
          4. See Also
        11. 3.10. Checking a Volume for Errors
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        12. 3.11. Making a Disk or Volume Read-Only
          1. Problem
          2. Solution
            1. Using a command-line interface
            2. Using VBScript
          3. Discussion
          4. See Also
        13. 3.12. Mapping a Network Drive
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        14. 3.13. Creating a Virtual Drive to Another Drive or Folder
          1. Problem
          2. Solution
            1. Using a command-line interface
            2. Using VBScript
          3. Discussion
          4. See Also
        15. 3.14. Finding Large Files and Folders on a Volume
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        16. 3.15. Enabling Disk Quotas
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        17. 3.16. Configuring a Disk Quota for a User
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        18. 3.17. Viewing Disk Quota Usage
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
      7. 4. Files, Folders, and Shares
        1. Introduction
          1. Using a Graphical User Interface
          2. Using a Command-Line Interface
          3. Using VBScript
        2. 4.1. Creating and Deleting a File
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
        3. 4.2. Creating and Deleting a Folder
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
        4. 4.3. Undeleting a File
          1. Problem
          2. Solution
          3. See Also
        5. 4.4. Securely Deleting a File
          1. Problem
          2. Solution
            1. Using a command-line interface
            2. Using VBScript
          3. Discussion
          4. See Also
        6. 4.5. Viewing the Properties of a File or Folder
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        7. 4.6. Creating a Shortcut
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        8. 4.7. Creating a Link or Junction Point
          1. Problem
          2. Solution
            1. Using a command-line interface
            2. Using VBScript
          3. Discussion
          4. See Also
        9. 4.8. Creating a Program Alias
          1. Problem
          2. Solution
          3. Discussion
        10. 4.9. Searching for Files or Folders
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. See Also
        11. 4.10. Copying, Moving, or Renaming a File or Folder
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
        12. 4.11. Comparing Files or Folders
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        13. 4.12. Hiding a File or Folder
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        14. 4.13. Making a File or Folder Read-Only
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
        15. 4.14. Compressing a File or Folder
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        16. 4.15. Encrypting a File or Folder
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
          4. See Also
        17. 4.16. Replacing a File That Is in Use
          1. Problem
          2. Solution
            1. Using a command-line interface
            2. Using VBScript
          3. Discussion
          4. See Also
        18. 4.17. Taking Ownership of a File or Folder
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        19. 4.18. Finding Who Last Opened or Modified a File
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
          4. See Also
        20. 4.19. Finding Open Files
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. See Also
        21. 4.20. Finding the Process That Has a File Open
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        22. 4.21. Viewing File Activity
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
        23. 4.22. Performing an Action on Several Files at Once
          1. Problem
          2. Solution
            1. Using a command-line interface
            2. Using VBScript
          3. Discussion
        24. 4.23. Creating and Deleting Shares
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        25. 4.24. Viewing Shares
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        26. 4.25. Restricting Access to a Share
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
          4. See Also
        27. 4.26. Enabling Web Sharing
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
          4. See Also
        28. 4.27. Publishing a Share in Active Directory
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
          4. See Also
      8. 5. Running and Scheduling Tasks
        1. Introduction
        2. 5.1. Running a Task with Alternate Credentials
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        3. 5.2. Running a Task on a Remote Server
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        4. 5.3. Running a Task When a User Logs On
          1. Problem
          2. Solution
            1. Registry
            2. Startup Folders
          3. Discussion
          4. See Also
        5. 5.4. Running a Task via a Login Script
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
            4. Using a graphical user interface
            5. Using a command-line interface
            6. Using VBScript
          3. Discussion
          4. See Also
        6. 5.5. Running a Task via Group Policy
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
          4. See Also
        7. 5.6. Listing Automatic Tasks
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
        8. 5.7. Scheduling a Task
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        9. 5.8. Deleting a Scheduled Task
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        10. 5.9. Listing the Scheduled Tasks
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
      9. 6. Processes
        1. Introduction
          1. Using a Graphical User Interface
          2. Using a Command-Line Interface
            1. Using VBScript
        2. 6.1. Setting the Priority of a Process
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        3. 6.2. Suspending a Process
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        4. 6.3. Killing a Process
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        5. 6.4. Viewing the Running Processes
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        6. 6.5. Searching Processes
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        7. 6.6. Finding the Services Run from a Process
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        8. 6.7. Viewing the Properties of a Process
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        9. 6.8. Viewing the Performance Statistics of a Process
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        10. 6.9. Viewing the DLLs Being Used by a Process
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        11. 6.10. Viewing the APIs Called by a Process
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
        12. 6.11. Viewing the Handles a Process Has Open
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        13. 6.12. Viewing the Network Ports a Process Has Open
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        14. 6.13. Script: Process Doctor
          1. Using VBScript
          2. Using a Command-Line Interface
        15. 6.14. Script: Process Terminator
          1. Using VBScript
          2. Using a Command-Line Interface
      10. 7. Services
        1. Introduction
          1. Using a Graphical User Interface
          2. Using a Command-Line Interface
          3. Using VBScript
        2. 7.1. Starting and Stopping a Service
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface:
            3. Using VBScript
          3. Discussion
          4. See Also
        3. 7.2. Running Any Program or Script as a Service
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface:
            3. Using VBScript
          3. Discussion
          4. See Also
        4. 7.3. Removing a Service
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface:
            3. Using VBScript
          3. Discussion
          4. See Also
        5. 7.4. Setting the Service Startup Type
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface:
            3. Using VBScript
          3. Discussion
          4. See Also
        6. 7.5. Setting the Service Account and Password
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface:
            3. Using VBScript
          3. Discussion
          4. See Also
        7. 7.6. Performing an Action Automatically When a Service Fails
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface:
            3. Using VBScript
          3. Discussion
        8. 7.7. Viewing the List of Services
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface:
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using VBScript
          4. See Also
        9. 7.8. Searching Services
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface:
            3. Using VBScript
          3. Discussion
          4. See Also
        10. 7.9. Finding the Process a Service Is Running From
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface:
            3. Using VBScript
          3. Discussion
        11. 7.10. Viewing the Antecedent and Dependent Services for a Service
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface:
            3. Using VBScript
          3. Discussion
            1. Using VBScript
        12. 7.11. Viewing the Service Load Order
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
          4. See Also
        13. 7.12. Viewing the Startup History of a Service
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface:
            3. Using VBScript
          3. Discussion
        14. 7.13. Granting the Permission to Manage One or More Services
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface:
          3. Discussion
          4. See Also
        15. 7.14. Script: Robust Service Restart
        16. 7.15. Script: Service Monitor
      11. 8. Event Logs
        1. Introduction
          1. Using a Graphical User Interface
          2. Using a Command-Line Interface
          3. Using VBScript
        2. 8.1. Creating an Event
          1. Problem
          2. Solution
            1. Using a command-line interface
            2. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        3. 8.2. Viewing Events
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using VBScript
          4. See Also
        4. 8.3. Creating a New Event Log
          1. Problem
          2. Solution
            1. Using a graphical interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        5. 8.4. Viewing the Size of an Event Log
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        6. 8.5. Setting the Maximum Size of an Event Log
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        7. 8.6. Setting the Event Log Retention Policy
          1. Problem
          2. Solution
            1. Using a gr aphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        8. 8.7. Clearing the Events in an Event Log
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        9. 8.8. Restricting Access to an Event Log
          1. Problem
          2. Solution
          3. Discussion
          4. See Also
        10. 8.9. Searching an Event Log on a Server
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        11. 8.10. Searching the Event Logs on Multiple Servers
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        12. 8.11. Archiving an Event Log
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        13. 8.12. Finding More Information About an Event
          1. Problem
          2. Solution
        14. 8.13. Triggering an Action When an Event Occurs
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        15. 8.14. Script: Event Watcher
      12. 9. Registry
        1. Introduction
          1. Using a Graphical User Interface
          2. Using a Command-Line Interface
          3. Using VBScript
        2. 9.1. Creating and Deleting a Key
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        3. 9.2. Setting a Value
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        4. 9.3. Setting Keys or Values Using Group Policy
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
        5. 9.4. Exporting Registry Files
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        6. 9.5. Importing Registry Files
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        7. 9.6. Searching the Registry
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        8. 9.7. Comparing the Registry
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
          4. See Also
        9. 9.8. Restricting Access to the Registry
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
        10. 9.9. Backing Up and Restoring the Registry
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
          4. See Also
        11. 9.10. Creating a Registry Link
          1. Problem
          2. Solution
            1. Using a command-line interface
            2. Using VBScript
          3. Discussion
          4. See Also
        12. 9.11. Setting the Maximum Registry Size
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        13. 9.12. Monitoring Registry Activity
          1. Problem
          2. Solution
          3. Discussion
          4. See Also
        14. 9.13. Viewing Processes That Have a Registry Key Open
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
      13. 10. Network Configuration
        1. Introduction
          1. Using a Graphical User Interface
          2. Using a Command-Line Interface
            1. Using VBScript
        2. 10.1. Viewing the Network Configuration
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        3. 10.2. Disabling a Connection
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        4. 10.3. Configuring an IP Address
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        5. 10.4. Renewing or Releasing a DHCP IP Address
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        6. 10.5. Configuring DNS Settings
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
          4. See Also
        7. 10.6. Registering DNS Records or Flushing the DNS Cache
          1. Problem
          2. Solution
            1. Using a command-line interface
            2. Using VBScript
          3. Discussion
          4. See Also
        8. 10.7. Finding a Computer's Active Directory Site
          1. Problem
          2. Solution
            1. Using a command-line interface
            2. Using VBScript
          3. Discussion
          4. See Also
        9. 10.8. Managing Routes
          1. Problem
          2. Solution
            1. Using a command-line interface
            2. Using VBScript
          3. Discussion
          4. See Also
        10. 10.9. Viewing the Open Ports and Connections
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        11. 10.10. Troubleshooting Network Connectivity Problems
          1. Problem
          2. Solution
          3. See Also
        12. 10.11. Viewing Network Traffic
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        13. 10.12. Configuring TCP/IP Filtering
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        14. 10.13. Measuring Link Speed and Latency Between Two Hosts
          1. Problem
          2. Solution
            1. Using a command-line interface
          3. Discussion
        15. 10.14. Installing the IPv6 Stack
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
      14. 11. Security Best Practices
        1. Introduction
          1. Basic Tips
            1. Understand Microsoft's 10 immutable laws of security
            2. Restrict physical access to computers
            3. Don't use administrative accounts during day-to-day use
            4. Keep virus definitions up to date
            5. Make sure all critical patches are installed
            6. Avoid casual use of your servers
            7. Audit important activities
            8. Check event logs regularly
            9. Know what to do when you discover you've been attacked
            10. Maintain (and test!) backups
        2. 11.1. Analyzing Your Security Configuration
          1. Problem
          2. Solution
          3. Discussion
          4. See Also
        3. 11.2. Enabling Auditing
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
          4. See Also
        4. 11.3. Renaming the Administrator and Guest Accounts
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a graphical user interface
            3. Using VBScript
          3. Discussion
          4. See Also
        5. 11.4. Disabling or Removing Unused Accounts, Services, and Software
          1. Problem
          2. Solution
          3. See Also
        6. 11.5. Enabling Screensaver Locking
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        7. 11.6. Disabling Storage of the LM Password Hash
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
          4. See Also
        8. 11.7. Requiring Strong Passwords
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
          4. See Also
        9. 11.8. Getting Notified of New Security Vulnerabilities
          1. Problem
          2. Solution
          3. Discussion
        10. 11.9. Script: Mass Admin Password Changer
      15. 12. Internet Information Services 6.0
        1. Introduction
          1. Application Isolation
          2. HTTP Request Handling
          3. XML Metabase
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
        2. 12.1. Installing IIS
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        3. 12.2. Stopping and Starting IIS
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using a VBScript
          4. See Also
        4. 12.3. Creating Web Sites
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using VBScript
          4. See Also
        5. 12.4. Hosting Multiple Web Sites
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using VBScript
          4. See Also
        6. 12.5. Creating Virtual Directories
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a command-line interface
          4. See Also
        7. 12.6. Configuring Web Permissions
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
          4. See Also
        8. 12.7. Configuring IP Address and Domain Name Restrictions
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
            1. Using VBScript
          4. See Also
        9. 12.8. Configuring Web Site Authentication
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
            1. Using VBScript
          4. See Also
        10. 12.9. Obtaining and Installing SSL Certificates
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        11. 12.10. Enabling SSL on a Web Site
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
          4. See Also
        12. 12.11. Backing Up SSL Certificates
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        13. 12.12. Configuring Web Site QoS Settings
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        14. 12.13. Configuring Web Site Logging
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        15. 12.14. Configuring Web Site Redirection
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
            1. Using VBScript
          4. See Also
        16. 12.15. Enabling Direct Metabase Editing
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using VBScript
          4. See Also
        17. 12.16. Backing Up and Restoring the Metabase
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        18. 12.17. Exporting and Importing the Metabase
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
        19. 12.18. Enabling Dynamic Content
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        20. 12.19. Creating Application Pools
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
          4. See Also
        21. 12.20. Configuring Application Pool Identities
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        22. 12.21. Creating Applications
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
          4. See Also
        23. 12.22. Isolating Applications into Pools
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        24. 12.23. Configuring Application Pool Recycling
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a command-line interface
          4. See Also
        25. 12.24. Creating FTP Sites
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using VBScript
          4. See Also
        26. 12.25. Configuring FTP Authentication
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
          4. See Also
        27. 12.26. Configuring FTP User Isolation
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
      16. 13. Domain Name System (DNS)
        1. Introduction
          1. Using a Graphical User Interface
          2. Using a Command-Line Interface
          3. Using VBScript
        2. 13.1. Installing the DNS Server
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        3. 13.2. Starting and Stopping the DNS Server
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        4. 13.3. Modifying DNS Server Configuration
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        5. 13.4. Creating a Zone
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a command-line interface
          4. See Also
        6. 13.5. Viewing a DNS Server's Zones
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        7. 13.6. Converting a Zone to an Active Directory-Integrated Zone
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        8. 13.7. Moving Active Directory-Integrated Zones into an Application Partition
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        9. 13.8. Creating a Stub Zone
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        10. 13.9. Configuring Conditional Forwarding
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        11. 13.10. Configuring Zone Transfer
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        12. 13.11. Creating and Deleting Resource Records
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        13. 13.12. Querying Resource Records
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a command-line interface
            2. Using VBScript
          4. See Also
        14. 13.13. Scavenging Old Resource Records
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        15. 13.14. Clearing the DNS Cache
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        16. 13.15. Enabling DNS Server Debug Logging
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        17. 13.16. Viewing DNS Server Utilization Statistics
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a command-line interface
            2. Using VBScript
          4. See Also
        18. 13.17. Preventing Cache Pollution on DNS Servers
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        19. 13.18. Preventing Windows Clients from Attempting Dynamic Updates
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        20. 13.19. Script: DNS Server Configuration Checker
      17. 14. DHCP Server
        1. Introduction
          1. Using a Graphical User Interface
          2. Using a Command-Line Interface
          3. Using VBScript
        2. 14.1. Installing DHCP Server
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        3. 14.2. Authorizing a DHCP Server
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
          4. See Also
        4. 14.3. Configuring Server Options
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        5. 14.4. Enabling Address Conflict Detection
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        6. 14.5. Creating a Scope
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        7. 14.6. Creating a Superscope
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        8. 14.7. Activating or Deactivating a Scope
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        9. 14.8. Configuring Scope Options
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        10. 14.9. Enabling Dynamic DNS Updates from the DHCP Server
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        11. 14.10. Managing the Leases for a Scope
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        12. 14.11. Creating a Reservation
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        13. 14.12. Enabling DHCP Audit Logging
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
          4. See Also
        14. 14.13. Modifying the DHCP Database and Audit Log Paths
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        15. 14.14. Backing Up the DHCP Database
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        16. 14.15. Restoring the DHCP Database
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
          4. See Also
        17. 14.16. Importing and Exporting DHCP Server Configuration
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        18. 14.17. Viewing DHCP Utilization Statistics
          1. Problem
          2. Solution
          3. Discussion
          4. See Also
        19. 14.18. Finding the DHCP Servers on a Subnet
          1. Problem
          2. Solution
          3. Discussion
          4. See Also
        20. 14.19. Running DHCP Server on a Domain Controller
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
      18. 15. Active Directory
        1. Introduction
          1. A Really Brief Introduction
        2. 15.1. Creating a New Active Directory Forest
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
          4. See Also
        3. 15.2. Promoting a Domain Controller from Media
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
          4. See Also
        4. 15.3. Uninstalling Active Directory
          1. Problem
          2. Solution
          3. Discussion
          4. See Also
        5. 15.4. Upgrading from Windows 2000 to Windows Server 2003
          1. Problem
          2. Solution
          3. Discussion
          4. See Also
        6. 15.5. Raising the Functional Level
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
            4. Using a graphical user interface
            5. Using a command-line interface
            6. Using VBScript
          3. Discussion
          4. See Also
        7. 15.6. Backing Up Active Directory
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
          4. See Also
        8. 15.7. Restoring Active Directory
          1. Problem
          2. Solution
          3. Discussion
          4. See Also
        9. 15.8. Searching for Objects in a Domain
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        10. 15.9. Creating an Object
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        11. 15.10. Modifying an Object
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        12. 15.11. Moving an Object
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        13. 15.12. Moving an Object to a Different Domain
          1. Problem
          2. Solution
            1. Using a command-line interface
            2. Using VBScript
          3. Discussion
          4. See Also
        14. 15.13. Renaming an Object
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        15. 15.14. Deleting an Object
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        16. 15.15. Exporting and Importing Objects Using LDIF or CSV
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a command-line interface
          4. See Also
        17. 15.16. Finding the Closest Domain Controller
          1. Problem
          2. Solution
            1. Using a command-line interface
            2. Using VBScript
          3. Discussion
            1. Using a command-line interface
            2. Using VBScript
          4. See Also
        18. 15.17. Enabling and Disabling the Global Catalog
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        19. 15.18. Finding the FSMO Role Holders
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using VBScript
          4. See Also
        20. 15.19. Transferring or Seizing a FSMO Role
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a command-line interface
            2. Using VBScript
          4. See Also
        21. 15.20. Creating and Removing a Trust
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        22. 15.21. Viewing the Trusts for a Domain
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        23. 15.22. Verifying and Resetting Trusts
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        24. 15.23. Enabling Diagnostics Logging
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        25. 15.24. Script: Displaying the Structure of a Forest
      19. 16. Domain User, Group, and Computer Accounts
        1. Introduction
        2. 16.1. Creating a User Account
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        3. 16.2. Creating a Large Number of Users
          1. Problem
          2. Solution
            1. Using a command-line interface
            2. Using VBScript
          3. Discussion
          4. See Also
        4. 16.3. Modifying an Attribute for Several Users at Once
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
        5. 16.4. Unlocking a User
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        6. 16.5. Troubleshooting Account Lockout Problems
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
          4. See Also
        7. 16.6. Viewing and Modifying the Account Lockout and Password Policies
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        8. 16.7. Enabling and Disabling a User Account
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        9. 16.8. Setting a User's Password
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        10. 16.9. Setting a User's Account Options
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        11. 16.10. Setting a User's Profile Attributes
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        12. 16.11. Finding a User's Last Logon Time
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
        13. 16.12. Creating a Group Account
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        14. 16.13. Viewing the Members of a Group
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        15. 16.14. Viewing a User's Group Membership
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        16. 16.15. Adding and Removing Members of a Group
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        17. 16.16. Changing the Scope or Type of a Group
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        18. 16.17. Creating a Computer Account
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        19. 16.18. Joining a Computer to a Domain
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        20. 16.19. Renaming a Computer
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        21. 16.20. Resetting a Computer Account
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
      20. 17. Exchange Server 2003
        1. Introduction
          1. Using a Graphical User Interface
          2. Using a Command-Line Interface
          3. Using VBScript
          4. Notes on Managing Exchange
        2. 17.1. Preparing Active Directory for Exchange
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
          4. See Also
        3. 17.2. Installing the First Exchange Server
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
          4. See Also
        4. 17.3. Installing Additional Exchange Servers
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
            1. Using a command-line interface
          4. See Also
        5. 17.4. Installing an Exchange Service Pack
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
            1. Using a command-line interface
          4. See Also
        6. 17.5. Creating Unattended Installation Files for Exchange and Exchange Service Pack
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
          4. See Also
        7. 17.6. Installing Exchange Management Tools
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
          3. Discussion
            1. Using a command-line interface
          4. See Also
        8. 17.7. Delegating Exchange for the First Time
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
          4. See Also
        9. 17.8. Stopping and Starting Exchange Server
          1. Problem
          2. Solution
          3. Discussion
          4. See Also
        10. 17.9. Mail-Enabling a User
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        11. 17.10. Mail-Disabling a User
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        12. 17.11. Mailbox-Enabling a User
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        13. 17.12. Deleting a User's Mailbox
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using VBScript
          4. See Also
        14. 17.13. Purging a Deleted Mailbox
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using VBScript
          4. See Also
        15. 17.14. Reconnecting a Deleted Mailbox
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using VBScript
          4. See Also
        16. 17.15. Enumerating Disconnected Mailboxes
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using VBScript
          4. See Also
        17. 17.16. Moving a Mailbox
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        18. 17.17. Viewing Mailbox Sizes and Message Counts
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using VBScript
          4. See Also
        19. 17.18. Mail-Enabling a Contact
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        20. 17.19. Mail-Disabling a Contact
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
          4. See Also
        21. 17.20. Creating a Mail-Enabled Distribution List
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        22. 17.21. Creating a Query-Based Distribution List
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        23. 17.22. Creating an Address List
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          4. See Also
        24. 17.23. Creating a Recipient Policy
          1. Problem
          2. Solution
            1. Using a graphical user interface
          3. Discussion
          4. See Also
        25. 17.24. Creating a Storage Group
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using a command-line interface
            3. Using VBScript
          3. Discussion
            1. Using a command-line interface
            2. Using VBScript
          4. See Also
        26. 17.25. Creating a Mailbox Store
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
            1. Using a command-line interface
            2. Using VBScript
          4. See Also
        27. 17.26. Listing Domain Controllers and Global Catalog Servers Used by an Exchange Server
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
            1. Using VBScript
          4. See Also
        28. 17.27. Mounting and Dismounting Mailbox Stores
          1. Problem
          2. Solution
            1. Using a graphical user interface
            2. Using VBScript
          3. Discussion
            1. Using a graphical user interface
            2. Using VBScript
          4. See Also
      21. A. Introduction to WSH
        1. A.1. How to Write Scripts
        2. A.2. WSH 2.0 Versus 5.6
      22. B. Introduction to WMI
        1. B.1. Referencing an Object
        2. B.2. Enumerating Objects of a Particular Class
        3. B.3. Searching with WQL
        4. B.4. Authentication with WMI
      23. C. Introduction to ADSI
        1. C.1. Objects and Interfaces
        2. C.2. Namespaces, ProgIDs, and ADsPaths
        3. C.3. Retrieving Objects
      24. D. List of Default Environment Variables
      25. E. List of Default Processes
      26. F. List of Default Services
      27. Index
      28. About the Author
      29. Colophon
      30. SPECIAL OFFER: Upgrade this ebook with O’Reilly