Buying Options
Windows Server Cookbook
Print $44.95
Add to Cart
Print+Ebook $49.45
Add to Cart
Ebook $35.99
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £34.50
Add to Cart
What is this?
Description

This practical reference guide offers hundreds of useful tasks for managing Windows 2000 and Windows Server 2003, Microsoft's latest server. These concise, on-the-job solutions to common problems are certain to save you many hours of time searching through Microsoft documentation. Topics include files, event logs, security, DHCP, DNS, backup/restore, and more.

Full Description
Table of Contents
  1. Chapter 1 Introduction

    1. Approach to the Book

    2. Where to Find the Tools

    3. Running Tools with Alternate Credentials

    4. A Brief Word on Windows Scripting

    5. Getting the Most Out of Your Scripts

    6. Where to Find More Information

  2. Chapter 2 System Configuration

    1. Introduction

    2. Activating Windows Server 2003

    3. Configuring Automatic Updates

    4. Disabling Windows Update

    5. Installing or Uninstalling a Windows Component

    6. Installing an Application or Service Pack via Group Policy

    7. Viewing System Properties

    8. Setting the System Time, Date, and Time Zone

    9. Setting the Name of a Server

    10. Joining a Server to a Domain

    11. Testing and Resetting the Secure Channel

    12. Viewing and Setting Environment Variables

    13. Configuring Page Files

    14. Putting System Information on the Desktop

    15. Configuring System Startup Options

    16. Configuring System Failure Options

    17. Viewing System Uptime

    18. Disabling the Manage/Configure Your Server Screen

    19. Disabling Shutdown Tracker

    20. Restarting or Shutting Down a Server

  3. Chapter 3 Disks, Drives, and Volumes

    1. Introduction

    2. Viewing the Disk, Drive, and Volume Layout

    3. Converting a Basic Disk to Dynamic

    4. Enabling Disk Performance Statistics

    5. Formatting a Volume

    6. Setting the Drive Letter of a Volume

    7. Setting the Label of a Volume

    8. Cleaning Up a Volume

    9. Defragmenting a Volume

    10. Compressing a Volume

    11. Checking a Volume for Errors

    12. Making a Disk or Volume Read-Only

    13. Mapping a Network Drive

    14. Creating a Virtual Drive to Another Drive or Folder

    15. Finding Large Files and Folders on a Volume

    16. Enabling Disk Quotas

    17. Configuring a Disk Quota for a User

    18. Viewing Disk Quota Usage

  4. Chapter 4 Files, Folders, and Shares

    1. Introduction

    2. Creating and Deleting a File

    3. Creating and Deleting a Folder

    4. Undeleting a File

    5. Securely Deleting a File

    6. Viewing the Properties of a File or Folder

    7. Creating a Shortcut

    8. Creating a Link or Junction Point

    9. Creating a Program Alias

    10. Searching for Files or Folders

    11. Copying, Moving, or Renaming a File or Folder

    12. Comparing Files or Folders

    13. Hiding a File or Folder

    14. Making a File or Folder Read-Only

    15. Compressing a File or Folder

    16. Encrypting a File or Folder

    17. Replacing a File That Is in Use

    18. Taking Ownership of a File or Folder

    19. Finding Who Last Opened or Modified a File

    20. Finding Open Files

    21. Finding the Process That Has a File Open

    22. Viewing File Activity

    23. Performing an Action on Several Files at Once

    24. Creating and Deleting Shares

    25. Viewing Shares

    26. Restricting Access to a Share

    27. Enabling Web Sharing

    28. Publishing a Share in Active Directory

  5. Chapter 5 Running and Scheduling Tasks

    1. Introduction

    2. Running a Task with Alternate Credentials

    3. Running a Task on a Remote Server

    4. Running a Task When a User Logs On

    5. Running a Task via a Login Script

    6. Running a Task via Group Policy

    7. Listing Automatic Tasks

    8. Scheduling a Task

    9. Deleting a Scheduled Task

    10. Listing the Scheduled Tasks

  6. Chapter 6 Processes

    1. Introduction

    2. Setting the Priority of a Process

    3. Suspending a Process

    4. Killing a Process

    5. Viewing the Running Processes

    6. Searching Processes

    7. Finding the Services Run from a Process

    8. Viewing the Properties of a Process

    9. Viewing the Performance Statistics of a Process

    10. Viewing the DLLs Being Used by a Process

    11. Viewing the APIs Called by a Process

    12. Viewing the Handles a Process Has Open

    13. Viewing the Network Ports a Process Has Open

    14. Script: Process Doctor

    15. Script: Process Terminator

  7. Chapter 7 Services

    1. Introduction

    2. Starting and Stopping a Service

    3. Running Any Program or Script as a Service

    4. Removing a Service

    5. Setting the Service Startup Type

    6. Setting the Service Account and Password

    7. Performing an Action Automatically When a Service Fails

    8. Viewing the List of Services

    9. Searching Services

    10. Finding the Process a Service Is Running From

    11. Viewing the Antecedent and Dependent Services for a Service

    12. Viewing the Service Load Order

    13. Viewing the Startup History of a Service

    14. Granting the Permission to Manage One or More Services

    15. Script: Robust Service Restart

    16. Script: Service Monitor

  8. Chapter 8 Event Logs

    1. Introduction

    2. Creating an Event

    3. Viewing Events

    4. Creating a New Event Log

    5. Viewing the Size of an Event Log

    6. Setting the Maximum Size of an Event Log

    7. Setting the Event Log Retention Policy

    8. Clearing the Events in an Event Log

    9. Restricting Access to an Event Log

    10. Searching an Event Log on a Server

    11. Searching the Event Logs on Multiple Servers

    12. Archiving an Event Log

    13. Finding More Information About an Event

    14. Triggering an Action When an Event Occurs

    15. Script: Event Watcher

  9. Chapter 9 Registry

    1. Introduction

    2. Creating and Deleting a Key

    3. Setting a Value

    4. Setting Keys or Values Using Group Policy

    5. Exporting Registry Files

    6. Importing Registry Files

    7. Searching the Registry

    8. Comparing the Registry

    9. Restricting Access to the Registry

    10. Backing Up and Restoring the Registry

    11. Creating a Registry Link

    12. Setting the Maximum Registry Size

    13. Monitoring Registry Activity

    14. Viewing Processes That Have a Registry Key Open

  10. Chapter 10 Network Configuration

    1. Introduction

    2. Viewing the Network Configuration

    3. Disabling a Connection

    4. Configuring an IP Address

    5. Renewing or Releasing a DHCP IP Address

    6. Configuring DNS Settings

    7. Registering DNS Records or Flushing the DNS Cache

    8. Finding a Computer's Active Directory Site

    9. Managing Routes

    10. Viewing the Open Ports and Connections

    11. Troubleshooting Network Connectivity Problems

    12. Viewing Network Traffic

    13. Configuring TCP/IP Filtering

    14. Measuring Link Speed and Latency Between Two Hosts

    15. Installing the IPv6 Stack

  11. Chapter 11 Security Best Practices

    1. Introduction

    2. Analyzing Your Security Configuration

    3. Enabling Auditing

    4. Renaming the Administrator and Guest Accounts

    5. Disabling or Removing Unused Accounts, Services, and Software

    6. Enabling Screensaver Locking

    7. Disabling Storage of the LM Password Hash

    8. Requiring Strong Passwords

    9. Getting Notified of New Security Vulnerabilities

    10. Script: Mass Admin Password Changer

  12. Chapter 12 Internet Information Services 6.0

    1. Introduction

    2. Installing IIS

    3. Stopping and Starting IIS

    4. Creating Web Sites

    5. Hosting Multiple Web Sites

    6. Creating Virtual Directories

    7. Configuring Web Permissions

    8. Configuring IP Address and Domain Name Restrictions

    9. Configuring Web Site Authentication

    10. Obtaining and Installing SSL Certificates

    11. Enabling SSL on a Web Site

    12. Backing Up SSL Certificates

    13. Configuring Web Site QoS Settings

    14. Configuring Web Site Logging

    15. Configuring Web Site Redirection

    16. Enabling Direct Metabase Editing

    17. Backing Up and Restoring the Metabase

    18. Exporting and Importing the Metabase

    19. Enabling Dynamic Content

    20. Creating Application Pools

    21. Configuring Application Pool Identities

    22. Creating Applications

    23. Isolating Applications into Pools

    24. Configuring Application Pool Recycling

    25. Creating FTP Sites

    26. Configuring FTP Authentication

    27. Configuring FTP User Isolation

  13. Chapter 13 Domain Name System (DNS)

    1. Introduction

    2. Installing the DNS Server

    3. Starting and Stopping the DNS Server

    4. Modifying DNS Server Configuration

    5. Creating a Zone

    6. Viewing a DNS Server's Zones

    7. Converting a Zone to an Active Directory-Integrated Zone

    8. Moving Active Directory-Integrated Zones into an Application Partition

    9. Creating a Stub Zone

    10. Configuring Conditional Forwarding

    11. Configuring Zone Transfer

    12. Creating and Deleting Resource Records

    13. Querying Resource Records

    14. Scavenging Old Resource Records

    15. Clearing the DNS Cache

    16. Enabling DNS Server Debug Logging

    17. Viewing DNS Server Utilization Statistics

    18. Preventing Cache Pollution on DNS Servers

    19. Preventing Windows Clients from Attempting Dynamic Updates

    20. Script: DNS Server Configuration Checker

  14. Chapter 14 DHCP Server

    1. Introduction

    2. Installing DHCP Server

    3. Authorizing a DHCP Server

    4. Configuring Server Options

    5. Enabling Address Conflict Detection

    6. Creating a Scope

    7. Creating a Superscope

    8. Activating or Deactivating a Scope

    9. Configuring Scope Options

    10. Enabling Dynamic DNS Updates from the DHCP Server

    11. Managing the Leases for a Scope

    12. Creating a Reservation

    13. Enabling DHCP Audit Logging

    14. Modifying the DHCP Database and Audit Log Paths

    15. Backing Up the DHCP Database

    16. Restoring the DHCP Database

    17. Importing and Exporting DHCP Server Configuration

    18. Viewing DHCP Utilization Statistics

    19. Finding the DHCP Servers on a Subnet

    20. Running DHCP Server on a Domain Controller

  15. Chapter 15 Active Directory

    1. Introduction

    2. Creating a New Active Directory Forest

    3. Promoting a Domain Controller from Media

    4. Uninstalling Active Directory

    5. Upgrading from Windows 2000 to Windows Server 2003

    6. Raising the Functional Level

    7. Backing Up Active Directory

    8. Restoring Active Directory

    9. Searching for Objects in a Domain

    10. Creating an Object

    11. Modifying an Object

    12. Moving an Object

    13. Moving an Object to a Different Domain

    14. Renaming an Object

    15. Deleting an Object

    16. Exporting and Importing Objects Using LDIF or CSV

    17. Finding the Closest Domain Controller

    18. Enabling and Disabling the Global Catalog

    19. Finding the FSMO Role Holders

    20. Transferring or Seizing a FSMO Role

    21. Creating and Removing a Trust

    22. Viewing the Trusts for a Domain

    23. Verifying and Resetting Trusts

    24. Enabling Diagnostics Logging

    25. Script: Displaying the Structure of a Forest

  16. Chapter 16 Domain User, Group, and Computer Accounts

    1. Introduction

    2. Creating a User Account

    3. Creating a Large Number of Users

    4. Modifying an Attribute for Several Users at Once

    5. Unlocking a User

    6. Troubleshooting Account Lockout Problems

    7. Viewing and Modifying the Account Lockout and Password Policies

    8. Enabling and Disabling a User Account

    9. Setting a User's Password

    10. Setting a User's Account Options

    11. Setting a User's Profile Attributes

    12. Finding a User's Last Logon Time

    13. Creating a Group Account

    14. Viewing the Members of a Group

    15. Viewing a User's Group Membership

    16. Adding and Removing Members of a Group

    17. Changing the Scope or Type of a Group

    18. Creating a Computer Account

    19. Joining a Computer to a Domain

    20. Renaming a Computer

    21. Resetting a Computer Account

  17. Chapter 17 Exchange Server 2003

    1. Introduction

    2. Preparing Active Directory for Exchange

    3. Installing the First Exchange Server

    4. Installing Additional Exchange Servers

    5. Installing an Exchange Service Pack

    6. Creating Unattended Installation Files for Exchange and Exchange Service Pack

    7. Installing Exchange Management Tools

    8. Delegating Exchange for the First Time

    9. Stopping and Starting Exchange Server

    10. Mail-Enabling a User

    11. Mail-Disabling a User

    12. Mailbox-Enabling a User

    13. Deleting a User's Mailbox

    14. Purging a Deleted Mailbox

    15. Reconnecting a Deleted Mailbox

    16. Enumerating Disconnected Mailboxes

    17. Moving a Mailbox

    18. Viewing Mailbox Sizes and Message Counts

    19. Mail-Enabling a Contact

    20. Mail-Disabling a Contact

    21. Creating a Mail-Enabled Distribution List

    22. Creating a Query-Based Distribution List

    23. Creating an Address List

    24. Creating a Recipient Policy

    25. Creating a Storage Group

    26. Creating a Mailbox Store

    27. Listing Domain Controllers and Global Catalog Servers Used by an Exchange Server

    28. Mounting and Dismounting Mailbox Stores

  1. Appendix A Introduction to WSH

    1. How to Write Scripts

    2. WSH 2.0 Versus 5.6

  2. Appendix B Introduction to WMI

    1. Referencing an Object

    2. Enumerating Objects of a Particular Class

    3. Searching with WQL

    4. Authentication with WMI

  3. Appendix C Introduction to ADSI

    1. Objects and Interfaces

    2. Namespaces, ProgIDs, and ADsPaths

    3. Retrieving Objects

  4. Appendix D List of Default Environment Variables

  5. Appendix E List of Default Processes

  6. Appendix F List of Default Services

  7. Colophon

View Full Table of Contents
Product Details
Title:
Windows Server Cookbook
By:
Robbie Allen
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
March 2005
Ebook Release:
February 2009
Pages:
704
Print ISBN:
978-0-596-00633-4
| ISBN 10:
0-596-00633-0
Ebook ISBN:
978-0-596-10452-8
| ISBN 10:
0-596-10452-9
Customer Reviews
About the Author
  1. Robbie Allen

    Robbie Allen is a Senior Systems Architect in the Advanced Services Technology Group at Cisco Systems. He was instrumental in the deployment and automation of Active Directory, DNS, and DHCP at Cisco. Robbie enjoys working on the Unix and Windows platforms, especially when Perl is installed. He is a firm believer that all system administrators should be proficient in at least one scripting language and most of his writings preach the benefits of automation. Robbie has a web site at www.rallenhome.com.

    View Robbie Allen's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Windows Server Cookbook is a Chacma baboon (Papio ursinus). The Chacma is commonly referred to as the Savannah Baboon, or even dog-faced monkey due to its close-set eyes, heavy brow, dog-like muzzle, and sharp upper canine teeth. Its two-inch-long canines are larger than those of both lions and leopards, and at a sprint this large baboon can reach speeds of 35-40 miles per hour. The Chacma is also easily distinguishable by its fur, which ranges in color from yellowish-gray to almost black. This species can be found everywhere in Southern Africa except in the dry areas of Namibia, while its close relative the yellow baboon occupies much of the North.

Chacma baboons feed on just about every part of a tree and have a rich diet that includes grasses, seeds, rhizomes, berries, mushrooms, fruit, eggs, small insects, earthworms, birds, lizards, and occasionally scrub hares and baby impalas. Sometimes male Chacmas even kill and eat infants of their own species that are unrelated to them. Baboons are diurnal and are always on the move so they don't strip an environment of its vegetation. When they travel, they move in a specific formation, with the dominant male in the lead, the dominant female behind him, and the rest of the males encircling the females and babies. Baboons are unique in that all the members of a troop are related in one way or another. Most baboon troops are comprised of 30 to 40 members, but troops can range in size from 10 to 200.

Baboons have a complex social system based on dominance. The troop leaders' dominance is drilled into the rest of the troop from an early age, and if they become disobedient, they are likely to receive violent discipline. Older males can become quite bad-tempered, and when two males get into a fight, the male who chooses to end the fight will grab an infant from a mother to prevent his rival from attacking. But baboons are also capable of forming strong friendships. Some male and female baboons bond very closely, spending a lot of time together feeding, grooming, resting, and copulating. Matt Hutchinson was the production editor for Windows Server Cookbook. Octal Publishing, Inc. provided production services. Darren Kelly, Mary Anne Mayo, and Colleen Gorman provided quality control.

Ellie Volckhausen designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19-century engraving from The Royal Natural History. Karen Montgomery produced the cover layout with Adobe InDesign CS using Adobe's ITC Garamond font.

David Futato designed the interior layout. This book was converted by Andrew Savakis to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano, Jessamyn Read, and Lesley Borash using Macromedia FreeHand MX and Adobe Photoshop CS. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Lydia Onofrei.

  • Book cover of Windows Server Cookbook