-
Chapter 1 Introduction
-
Approach to the Book
-
Where to Find the Tools
-
Running Tools with Alternate Credentials
-
A Brief Word on Windows Scripting
-
Getting the Most Out of Your Scripts
-
Where to Find More Information
-
-
Chapter 2 System Configuration
-
Introduction
-
Activating Windows Server 2003
-
Configuring Automatic Updates
-
Disabling Windows Update
-
Installing or Uninstalling a Windows Component
-
Installing an Application or Service Pack via Group Policy
-
Viewing System Properties
-
Setting the System Time, Date, and Time Zone
-
Setting the Name of a Server
-
Joining a Server to a Domain
-
Testing and Resetting the Secure Channel
-
Viewing and Setting Environment Variables
-
Configuring Page Files
-
Putting System Information on the Desktop
-
Configuring System Startup Options
-
Configuring System Failure Options
-
Viewing System Uptime
-
Disabling the Manage/Configure Your Server Screen
-
Disabling Shutdown Tracker
-
Restarting or Shutting Down a Server
-
-
Chapter 3 Disks, Drives, and Volumes
-
Introduction
-
Viewing the Disk, Drive, and Volume Layout
-
Converting a Basic Disk to Dynamic
-
Enabling Disk Performance Statistics
-
Formatting a Volume
-
Setting the Drive Letter of a Volume
-
Setting the Label of a Volume
-
Cleaning Up a Volume
-
Defragmenting a Volume
-
Compressing a Volume
-
Checking a Volume for Errors
-
Making a Disk or Volume Read-Only
-
Mapping a Network Drive
-
Creating a Virtual Drive to Another Drive or Folder
-
Finding Large Files and Folders on a Volume
-
Enabling Disk Quotas
-
Configuring a Disk Quota for a User
-
Viewing Disk Quota Usage
-
-
Chapter 4 Files, Folders, and Shares
-
Introduction
-
Creating and Deleting a File
-
Creating and Deleting a Folder
-
Undeleting a File
-
Securely Deleting a File
-
Viewing the Properties of a File or Folder
-
Creating a Shortcut
-
Creating a Link or Junction Point
-
Creating a Program Alias
-
Searching for Files or Folders
-
Copying, Moving, or Renaming a File or Folder
-
Comparing Files or Folders
-
Hiding a File or Folder
-
Making a File or Folder Read-Only
-
Compressing a File or Folder
-
Encrypting a File or Folder
-
Replacing a File That Is in Use
-
Taking Ownership of a File or Folder
-
Finding Who Last Opened or Modified a File
-
Finding Open Files
-
Finding the Process That Has a File Open
-
Viewing File Activity
-
Performing an Action on Several Files at Once
-
Creating and Deleting Shares
-
Viewing Shares
-
Restricting Access to a Share
-
Enabling Web Sharing
-
Publishing a Share in Active Directory
-
-
Chapter 5 Running and Scheduling Tasks
-
Introduction
-
Running a Task with Alternate Credentials
-
Running a Task on a Remote Server
-
Running a Task When a User Logs On
-
Running a Task via a Login Script
-
Running a Task via Group Policy
-
Listing Automatic Tasks
-
Scheduling a Task
-
Deleting a Scheduled Task
-
Listing the Scheduled Tasks
-
-
Chapter 6 Processes
-
Introduction
-
Setting the Priority of a Process
-
Suspending a Process
-
Killing a Process
-
Viewing the Running Processes
-
Searching Processes
-
Finding the Services Run from a Process
-
Viewing the Properties of a Process
-
Viewing the Performance Statistics of a Process
-
Viewing the DLLs Being Used by a Process
-
Viewing the APIs Called by a Process
-
Viewing the Handles a Process Has Open
-
Viewing the Network Ports a Process Has Open
-
Script: Process Doctor
-
Script: Process Terminator
-
-
Chapter 7 Services
-
Introduction
-
Starting and Stopping a Service
-
Running Any Program or Script as a Service
-
Removing a Service
-
Setting the Service Startup Type
-
Setting the Service Account and Password
-
Performing an Action Automatically When a Service Fails
-
Viewing the List of Services
-
Searching Services
-
Finding the Process a Service Is Running From
-
Viewing the Antecedent and Dependent Services for a Service
-
Viewing the Service Load Order
-
Viewing the Startup History of a Service
-
Granting the Permission to Manage One or More Services
-
Script: Robust Service Restart
-
Script: Service Monitor
-
-
Chapter 8 Event Logs
-
Introduction
-
Creating an Event
-
Viewing Events
-
Creating a New Event Log
-
Viewing the Size of an Event Log
-
Setting the Maximum Size of an Event Log
-
Setting the Event Log Retention Policy
-
Clearing the Events in an Event Log
-
Restricting Access to an Event Log
-
Searching an Event Log on a Server
-
Searching the Event Logs on Multiple Servers
-
Archiving an Event Log
-
Finding More Information About an Event
-
Triggering an Action When an Event Occurs
-
Script: Event Watcher
-
-
Chapter 9 Registry
-
Introduction
-
Creating and Deleting a Key
-
Setting a Value
-
Setting Keys or Values Using Group Policy
-
Exporting Registry Files
-
Importing Registry Files
-
Searching the Registry
-
Comparing the Registry
-
Restricting Access to the Registry
-
Backing Up and Restoring the Registry
-
Creating a Registry Link
-
Setting the Maximum Registry Size
-
Monitoring Registry Activity
-
Viewing Processes That Have a Registry Key Open
-
-
Chapter 10 Network Configuration
-
Introduction
-
Viewing the Network Configuration
-
Disabling a Connection
-
Configuring an IP Address
-
Renewing or Releasing a DHCP IP Address
-
Configuring DNS Settings
-
Registering DNS Records or Flushing the DNS Cache
-
Finding a Computer's Active Directory Site
-
Managing Routes
-
Viewing the Open Ports and Connections
-
Troubleshooting Network Connectivity Problems
-
Viewing Network Traffic
-
Configuring TCP/IP Filtering
-
Measuring Link Speed and Latency Between Two Hosts
-
Installing the IPv6 Stack
-
-
Chapter 11 Security Best Practices
-
Introduction
-
Analyzing Your Security Configuration
-
Enabling Auditing
-
Renaming the Administrator and Guest Accounts
-
Disabling or Removing Unused Accounts, Services, and Software
-
Enabling Screensaver Locking
-
Disabling Storage of the LM Password Hash
-
Requiring Strong Passwords
-
Getting Notified of New Security Vulnerabilities
-
Script: Mass Admin Password Changer
-
-
Chapter 12 Internet Information Services 6.0
-
Introduction
-
Installing IIS
-
Stopping and Starting IIS
-
Creating Web Sites
-
Hosting Multiple Web Sites
-
Creating Virtual Directories
-
Configuring Web Permissions
-
Configuring IP Address and Domain Name Restrictions
-
Configuring Web Site Authentication
-
Obtaining and Installing SSL Certificates
-
Enabling SSL on a Web Site
-
Backing Up SSL Certificates
-
Configuring Web Site QoS Settings
-
Configuring Web Site Logging
-
Configuring Web Site Redirection
-
Enabling Direct Metabase Editing
-
Backing Up and Restoring the Metabase
-
Exporting and Importing the Metabase
-
Enabling Dynamic Content
-
Creating Application Pools
-
Configuring Application Pool Identities
-
Creating Applications
-
Isolating Applications into Pools
-
Configuring Application Pool Recycling
-
Creating FTP Sites
-
Configuring FTP Authentication
-
Configuring FTP User Isolation
-
-
Chapter 13 Domain Name System (DNS)
-
Introduction
-
Installing the DNS Server
-
Starting and Stopping the DNS Server
-
Modifying DNS Server Configuration
-
Creating a Zone
-
Viewing a DNS Server's Zones
-
Converting a Zone to an Active Directory-Integrated Zone
-
Moving Active Directory-Integrated Zones into an Application Partition
-
Creating a Stub Zone
-
Configuring Conditional Forwarding
-
Configuring Zone Transfer
-
Creating and Deleting Resource Records
-
Querying Resource Records
-
Scavenging Old Resource Records
-
Clearing the DNS Cache
-
Enabling DNS Server Debug Logging
-
Viewing DNS Server Utilization Statistics
-
Preventing Cache Pollution on DNS Servers
-
Preventing Windows Clients from Attempting Dynamic Updates
-
Script: DNS Server Configuration Checker
-
-
Chapter 14 DHCP Server
-
Introduction
-
Installing DHCP Server
-
Authorizing a DHCP Server
-
Configuring Server Options
-
Enabling Address Conflict Detection
-
Creating a Scope
-
Creating a Superscope
-
Activating or Deactivating a Scope
-
Configuring Scope Options
-
Enabling Dynamic DNS Updates from the DHCP Server
-
Managing the Leases for a Scope
-
Creating a Reservation
-
Enabling DHCP Audit Logging
-
Modifying the DHCP Database and Audit Log Paths
-
Backing Up the DHCP Database
-
Restoring the DHCP Database
-
Importing and Exporting DHCP Server Configuration
-
Viewing DHCP Utilization Statistics
-
Finding the DHCP Servers on a Subnet
-
Running DHCP Server on a Domain Controller
-
-
Chapter 15 Active Directory
-
Introduction
-
Creating a New Active Directory Forest
-
Promoting a Domain Controller from Media
-
Uninstalling Active Directory
-
Upgrading from Windows 2000 to Windows Server 2003
-
Raising the Functional Level
-
Backing Up Active Directory
-
Restoring Active Directory
-
Searching for Objects in a Domain
-
Creating an Object
-
Modifying an Object
-
Moving an Object
-
Moving an Object to a Different Domain
-
Renaming an Object
-
Deleting an Object
-
Exporting and Importing Objects Using LDIF or CSV
-
Finding the Closest Domain Controller
-
Enabling and Disabling the Global Catalog
-
Finding the FSMO Role Holders
-
Transferring or Seizing a FSMO Role
-
Creating and Removing a Trust
-
Viewing the Trusts for a Domain
-
Verifying and Resetting Trusts
-
Enabling Diagnostics Logging
-
Script: Displaying the Structure of a Forest
-
-
Chapter 16 Domain User, Group, and Computer Accounts
-
Introduction
-
Creating a User Account
-
Creating a Large Number of Users
-
Modifying an Attribute for Several Users at Once
-
Unlocking a User
-
Troubleshooting Account Lockout Problems
-
Viewing and Modifying the Account Lockout and Password Policies
-
Enabling and Disabling a User Account
-
Setting a User's Password
-
Setting a User's Account Options
-
Setting a User's Profile Attributes
-
Finding a User's Last Logon Time
-
Creating a Group Account
-
Viewing the Members of a Group
-
Viewing a User's Group Membership
-
Adding and Removing Members of a Group
-
Changing the Scope or Type of a Group
-
Creating a Computer Account
-
Joining a Computer to a Domain
-
Renaming a Computer
-
Resetting a Computer Account
-
-
Chapter 17 Exchange Server 2003
-
Introduction
-
Preparing Active Directory for Exchange
-
Installing the First Exchange Server
-
Installing Additional Exchange Servers
-
Installing an Exchange Service Pack
-
Creating Unattended Installation Files for Exchange and Exchange Service Pack
-
Installing Exchange Management Tools
-
Delegating Exchange for the First Time
-
Stopping and Starting Exchange Server
-
Mail-Enabling a User
-
Mail-Disabling a User
-
Mailbox-Enabling a User
-
Deleting a User's Mailbox
-
Purging a Deleted Mailbox
-
Reconnecting a Deleted Mailbox
-
Enumerating Disconnected Mailboxes
-
Moving a Mailbox
-
Viewing Mailbox Sizes and Message Counts
-
Mail-Enabling a Contact
-
Mail-Disabling a Contact
-
Creating a Mail-Enabled Distribution List
-
Creating a Query-Based Distribution List
-
Creating an Address List
-
Creating a Recipient Policy
-
Creating a Storage Group
-
Creating a Mailbox Store
-
Listing Domain Controllers and Global Catalog Servers Used by an Exchange Server
-
Mounting and Dismounting Mailbox Stores
-
-
Appendix A Introduction to WSH
-
How to Write Scripts
-
WSH 2.0 Versus 5.6
-
-
Appendix B Introduction to WMI
-
Referencing an Object
-
Enumerating Objects of a Particular Class
-
Searching with WQL
-
Authentication with WMI
-
-
Appendix C Introduction to ADSI
-
Objects and Interfaces
-
Namespaces, ProgIDs, and ADsPaths
-
Retrieving Objects
-
-
Appendix D List of Default Environment Variables
-
Appendix E List of Default Processes
-
Appendix F List of Default Services
-
Colophon
- Title:
- Windows Server Cookbook
- By:
- Robbie Allen
- Publisher:
- O'Reilly Media
- Formats:
-
- 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
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.
