Flylib.com
Windows Server Cookbook for Windows Server 2003 and Windows 2000
Windows Server Cookbook for Windows Server 2003 and Windows 2000
ISBN: 0596006330
EAN: 2147483647
Year: 2006
Pages: 380
Authors:
Robbie Allen
BUY ON AMAZON
Windows Server Cookbook
Table of Contents
Dedication
Copyright
Foreword
Preface
Who Should Read This Book
What s in This Book
Conventions Used in This Book
Using Code Examples
Safari Enabled
We d Like to Hear from You
Acknowledgments
Chapter 1. Introduction
Section 1.1. Approach to the Book
Section 1.2. Where to Find the Tools
Section 1.3. Running Tools with Alternate Credentials
Section 1.4. A Brief Word on Windows Scripting
Section 1.5. Getting the Most Out of Your Scripts
Section 1.6. Where to Find More Information
Chapter 2. System Configuration
Introduction
Recipe2.1.Activating Windows Server 2003
Recipe2.2.Configuring Automatic Updates
Recipe2.3.Disabling Windows Update
Recipe2.4.Installing or Uninstalling a Windows Component
Recipe2.5.Installing an Application or Service Pack via Group Policy
Recipe2.6.Viewing System Properties
Recipe2.7.Setting the System Time, Date, and Time Zone
Recipe2.8.Setting the Name of a Server
Recipe2.9.Joining a Server to a Domain
Recipe2.10.Testing and Resetting the Secure Channel
Recipe2.11.Viewing and Setting Environment Variables
Recipe2.12.Configuring Page Files
Recipe2.13.Putting System Information on the Desktop
Recipe2.14.Configuring System Startup Options
Recipe2.15.Configuring System Failure Options
Recipe2.16.Viewing System Uptime
Recipe2.17.Disabling the ManageConfigure Your Server Screen
Recipe2.18.Disabling Shutdown Tracker
Recipe2.19.Restarting or Shutting Down a Server
Chapter 3. Disks, Drives, and Volumes
Introduction
Recipe3.1.Viewing the Disk, Drive, and Volume Layout
Recipe3.2.Converting a Basic Disk to Dynamic
Recipe3.3.Enabling Disk Performance Statistics
Recipe3.4.Formatting a Volume
Recipe3.5.Setting the Drive Letter of a Volume
Recipe3.6.Setting the Label of a Volume
Recipe3.7.Cleaning Up a Volume
Recipe3.8.Defragmenting a Volume
Recipe3.9.Compressing a Volume
Recipe3.10.Checking a Volume for Errors
Recipe3.11.Making a Disk or Volume Read-Only
Recipe3.12.Mapping a Network Drive
Recipe3.13.Creating a Virtual Drive to Another Drive or Folder
Recipe3.14.Finding Large Files and Folders on a Volume
Recipe3.15.Enabling Disk Quotas
Recipe3.16.Configuring a Disk Quota for a User
Recipe3.17.Viewing Disk Quota Usage
Chapter 4. Files, Folders, and Shares
Introduction
Recipe4.1.Creating and Deleting a File
Recipe4.2.Creating and Deleting a Folder
Recipe4.3.Undeleting a File
Recipe4.4.Securely Deleting a File
Recipe4.5.Viewing the Properties of a File or Folder
Recipe4.6.Creating a Shortcut
Recipe4.7.Creating a Link or Junction Point
Recipe4.8.Creating a Program Alias
Recipe4.9.Searching for Files or Folders
Recipe4.10.Copying, Moving, or Renaming a File or Folder
Recipe4.11.Comparing Files or Folders
Recipe4.12.Hiding a File or Folder
Recipe4.13.Making a File or Folder Read-Only
Recipe4.14.Compressing a File or Folder
Recipe4.15.Encrypting a File or Folder
Recipe4.16.Replacing a File That Is in Use
Recipe4.17.Taking Ownership of a File or Folder
Recipe4.18.Finding Who Last Opened or Modified a File
Recipe4.19.Finding Open Files
Recipe4.20.Finding the Process That Has a File Open
Recipe4.21.Viewing File Activity
Recipe4.22.Performing an Action on Several Files at Once
Recipe4.23.Creating and Deleting Shares
Recipe4.24.Viewing Shares
Recipe4.25.Restricting Access to a Share
Recipe4.26.Enabling Web Sharing
Recipe4.27.Publishing a Share in Active Directory
Chapter 5. Running and Scheduling Tasks
Introduction
Recipe5.1.Running a Task with Alternate Credentials
Recipe5.2.Running a Task on a Remote Server
Recipe5.3.Running a Task When a User Logs On
Recipe5.4.Running a Task via a Login Script
Recipe5.5.Running a Task via Group Policy
Recipe5.6.Listing Automatic Tasks
Recipe5.7.Scheduling a Task
Recipe5.8.Deleting a Scheduled Task
Recipe5.9.Listing the Scheduled Tasks
Chapter 6. Processes
Introduction
Recipe6.1.Setting the Priority of a Process
Recipe6.2.Suspending a Process
Recipe6.3.Killing a Process
Recipe6.4.Viewing the Running Processes
Recipe6.5.Searching Processes
Recipe6.6.Finding the Services Run from a Process
Recipe6.7.Viewing the Properties of a Process
Recipe6.8.Viewing the Performance Statistics of a Process
Recipe6.9.Viewing the DLLs Being Used by a Process
Recipe6.10.Viewing the APIs Called by a Process
Recipe6.11.Viewing the Handles a Process Has Open
Recipe6.12.Viewing the Network Ports a Process Has Open
Recipe6.13.Script: Process Doctor
Recipe6.14.Script: Process Terminator
Chapter 7. Services
Introduction
Recipe7.1.Starting and Stopping a Service
Recipe7.2.Running Any Program or Script as a Service
Recipe7.3.Removing a Service
Recipe7.4.Setting the Service Startup Type
Recipe7.5.Setting the Service Account and Password
Recipe7.6.Performing an Action Automatically When a Service Fails
Recipe7.7.Viewing the List of Services
Recipe7.8.Searching Services
Recipe7.9.Finding the Process a Service Is Running From
Recipe7.10.Viewing the Antecedent and Dependent Services for a Service
Recipe7.11.Viewing the Service Load Order
Recipe7.12.Viewing the Startup History of a Service
Recipe7.13.Granting the Permission to Manage One or More Services
Recipe7.14.Script: Robust Service Restart
Recipe7.15.Script: Service Monitor
Chapter 8. Event Logs
Introduction
Recipe8.1.Creating an Event
Recipe8.2.Viewing Events
Recipe8.3.Creating a New Event Log
Recipe8.4.Viewing the Size of an Event Log
Recipe8.5.Setting the Maximum Size of an Event Log
Recipe8.6.Setting the Event Log Retention Policy
Recipe8.7.Clearing the Events in an Event Log
Recipe8.8.Restricting Access to an Event Log
Recipe8.9.Searching an Event Log on a Server
Recipe8.10.Searching the Event Logs on Multiple Servers
Recipe8.11.Archiving an Event Log
Recipe8.12.Finding More Information About an Event
Recipe8.13.Triggering an Action When an Event Occurs
Recipe8.14.Script: Event Watcher
Chapter 9. Registry
Introduction
Recipe9.1.Creating and Deleting a Key
Recipe9.2.Setting a Value
Recipe9.3.Setting Keys or Values Using Group Policy
Recipe9.4.Exporting Registry Files
Recipe9.5.Importing Registry Files
Recipe9.6.Searching the Registry
Recipe9.7.Comparing the Registry
Recipe9.8.Restricting Access to the Registry
Recipe9.9.Backing Up and Restoring the Registry
Recipe9.10.Creating a Registry Link
Recipe9.11.Setting the Maximum Registry Size
Recipe9.12.Monitoring Registry Activity
Recipe9.13.Viewing Processes That Have a Registry Key Open
Chapter 10. Network Configuration
Introduction
Recipe10.1.Viewing the Network Configuration
Recipe10.2.Disabling a Connection
Recipe10.3.Configuring an IP Address
Recipe10.4.Renewing or Releasing a DHCP IP Address
Recipe10.5.Configuring DNS Settings
Recipe10.6.Registering DNS Records or Flushing the DNS Cache
Recipe10.7.Finding a Computer s Active Directory Site
Recipe10.8.Managing Routes
Recipe10.9.Viewing the Open Ports and Connections
Recipe10.10.Troubleshooting Network Connectivity Problems
Recipe10.11.Viewing Network Traffic
Recipe10.12.Configuring TCPIP Filtering
Recipe10.13.Measuring Link Speed and Latency Between Two Hosts
Recipe10.14.Installing the IPv6 Stack
Chapter 11. Security Best Practices
Introduction
Recipe11.1.Analyzing Your Security Configuration
Recipe11.2.Enabling Auditing
Recipe11.3.Renaming the Administrator and Guest Accounts
Recipe11.4.Disabling or Removing Unused Accounts, Services, and Software
Recipe11.5.Enabling Screensaver Locking
Recipe11.6.Disabling Storage of the LM Password Hash
Recipe11.7.Requiring Strong Passwords
Recipe11.8.Getting Notified of New Security Vulnerabilities
Recipe11.9.Script: Mass Admin Password Changer
Chapter 12. Internet Information Services 6.0
Introduction
Recipe12.1.Installing IIS
Recipe12.2.Stopping and Starting IIS
Recipe12.3.Creating Web Sites
Recipe12.4.Hosting Multiple Web Sites
Recipe12.5.Creating Virtual Directories
Recipe12.6.Configuring Web Permissions
Recipe12.7.Configuring IP Address and Domain Name Restrictions
Recipe12.8.Configuring Web Site Authentication
Recipe12.9.Obtaining and Installing SSL Certificates
Recipe12.10.Enabling SSL on a Web Site
Recipe12.11.Backing Up SSL Certificates
Recipe12.12.Configuring Web Site QoS Settings
Recipe12.13.Configuring Web Site Logging
Recipe12.14.Configuring Web Site Redirection
Recipe12.15.Enabling Direct Metabase Editing
Recipe12.16.Backing Up and Restoring the Metabase
Recipe12.17.Exporting and Importing the Metabase
Recipe12.18.Enabling Dynamic Content
Recipe12.19.Creating Application Pools
Recipe12.20.Configuring Application Pool Identities
Recipe12.21.Creating Applications
Recipe12.22.Isolating Applications into Pools
Recipe12.23.Configuring Application Pool Recycling
Recipe12.24.Creating FTP Sites
Recipe12.25.Configuring FTP Authentication
Recipe12.26.Configuring FTP User Isolation
Chapter 13. Domain Name System (DNS)
Introduction
Recipe13.1.Installing the DNS Server
Recipe13.2.Starting and Stopping the DNS Server
Recipe13.3.Modifying DNS Server Configuration
Recipe13.4.Creating a Zone
Recipe13.5.Viewing a DNS Server s Zones
Recipe13.6.Converting a Zone to an Active Directory-Integrated Zone
Recipe13.7.Moving Active Directory-Integrated Zones into an Application Partition
Recipe13.8.Creating a Stub Zone
Recipe13.9.Configuring Conditional Forwarding
Recipe13.10.Configuring Zone Transfer
Recipe13.11.Creating and Deleting Resource Records
Recipe13.12.Querying Resource Records
Recipe13.13.Scavenging Old Resource Records
Recipe13.14.Clearing the DNS Cache
Recipe13.15.Enabling DNS Server Debug Logging
Recipe13.16.Viewing DNS Server Utilization Statistics
Recipe13.17.Preventing Cache Pollution on DNS Servers
Recipe13.18.Preventing Windows Clients from Attempting Dynamic Updates
Recipe13.19.Script: DNS Server Configuration Checker
Chapter 14. DHCP Server
Introduction
Recipe14.1.Installing DHCP Server
Recipe14.2.Authorizing a DHCP Server
Recipe14.3.Configuring Server Options
Recipe14.4.Enabling Address Conflict Detection
Recipe14.5.Creating a Scope
Recipe14.6.Creating a Superscope
Recipe14.7.Activating or Deactivating a Scope
Recipe14.8.Configuring Scope Options
Recipe14.9.Enabling Dynamic DNS Updates from the DHCP Server
Recipe14.10.Managing the Leases for a Scope
Recipe14.11.Creating a Reservation
Recipe14.12.Enabling DHCP Audit Logging
Recipe14.13.Modifying the DHCP Database and Audit Log Paths
Recipe14.14.Backing Up the DHCP Database
Recipe14.15.Restoring the DHCP Database
Recipe14.16.Importing and Exporting DHCP Server Configuration
Recipe14.17.Viewing DHCP Utilization Statistics
Recipe14.18.Finding the DHCP Servers on a Subnet
Recipe14.19.Running DHCP Server on a Domain Controller
Chapter 15. Active Directory
Introduction
Recipe15.1.Creating a New Active Directory Forest
Recipe15.2.Promoting a Domain Controller from Media
Recipe15.3.Uninstalling Active Directory
Recipe15.4.Upgrading from Windows 2000 to Windows Server 2003
Recipe15.5.Raising the Functional Level
Recipe15.6.Backing Up Active Directory
Recipe15.7.Restoring Active Directory
Recipe15.8.Searching for Objects in a Domain
Recipe15.9.Creating an Object
Recipe15.10.Modifying an Object
Recipe15.11.Moving an Object
Recipe15.12.Moving an Object to a Different Domain
Recipe15.13.Renaming an Object
Recipe15.14.Deleting an Object
Recipe15.15.Exporting and Importing Objects Using LDIF or CSV
Recipe15.16.Finding the Closest Domain Controller
Recipe15.17.Enabling and Disabling the Global Catalog
Recipe15.18.Finding the FSMO Role Holders
Recipe15.19.Transferring or Seizing a FSMO Role
Recipe15.20.Creating and Removing a Trust
Recipe15.21.Viewing the Trusts for a Domain
Recipe15.22.Verifying and Resetting Trusts
Recipe15.23.Enabling Diagnostics Logging
Recipe15.24.Script: Displaying the Structure of a Forest
Chapter 16. Domain User, Group, and Computer Accounts
Introduction
Recipe16.1.Creating a User Account
Recipe16.2.Creating a Large Number of Users
Recipe16.3.Modifying an Attribute for Several Users at Once
Recipe16.4.Unlocking a User
Recipe16.5.Troubleshooting Account Lockout Problems
Recipe16.6.Viewing and Modifying the Account Lockout and Password Policies
Recipe16.7.Enabling and Disabling a User Account
Recipe16.8.Setting a User s Password
Recipe16.9.Setting a User s Account Options
Recipe16.10.Setting a User s Profile Attributes
Recipe16.11.Finding a User s Last Logon Time
Recipe16.12.Creating a Group Account
Recipe16.13.Viewing the Members of a Group
Recipe16.14.Viewing a User s Group Membership
Recipe16.15.Adding and Removing Members of a Group
Recipe16.16.Changing the Scope or Type of a Group
Recipe16.17.Creating a Computer Account
Recipe16.18.Joining a Computer to a Domain
Recipe16.19.Renaming a Computer
Recipe16.20.Resetting a Computer Account
Chapter 17. Exchange Server 2003
Introduction
Recipe17.1.Preparing Active Directory for Exchange
Recipe17.2.Installing the First Exchange Server
Recipe17.3.Installing Additional Exchange Servers
Recipe17.4.Installing an Exchange Service Pack
Recipe17.5.Creating Unattended Installation Files for Exchange and Exchange Service Pack
Recipe17.6.Installing Exchange Management Tools
Recipe17.7.Delegating Exchange for the First Time
Recipe17.8.Stopping and Starting Exchange Server
Recipe17.9.Mail-Enabling a User
Recipe17.10.Mail-Disabling a User
Recipe17.11.Mailbox-Enabling a User
Recipe17.12.Deleting a User s Mailbox
Recipe17.13.Purging a Deleted Mailbox
Recipe17.14.Reconnecting a Deleted Mailbox
Recipe17.15.Enumerating Disconnected Mailboxes
Recipe17.16.Moving a Mailbox
Recipe17.17.Viewing Mailbox Sizes and Message Counts
Recipe17.18.Mail-Enabling a Contact
Recipe17.19.Mail-Disabling a Contact
Recipe17.20.Creating a Mail-Enabled Distribution List
Recipe17.21.Creating a Query-Based Distribution List
Recipe17.22.Creating an Address List
Recipe17.23.Creating a Recipient Policy
Recipe17.24.Creating a Storage Group
Recipe17.25.Creating a Mailbox Store
Recipe17.26.Listing Domain Controllers and Global Catalog Servers Used by an Exchange Server
Recipe17.27.Mounting and Dismounting Mailbox Stores
Appendix A. Introduction to WSH
Section A.1. How to Write Scripts
Section A.2. WSH 2.0 Versus 5.6
Appendix B. Introduction to WMI
Section B.1. Referencing an Object
Section B.2. Enumerating Objects of a Particular Class
Section B.3. Searching with WQL
Section B.4. Authentication with WMI
Appendix C. Introduction to ADSI
Section C.1. Objects and Interfaces
Section C.2. Namespaces, ProgIDs, and ADsPaths
Section C.3. Retrieving Objects
Appendix D. List of Default Environment Variables
Appendix E. List of Default Processes
Appendix F. List of Default Services
Colophon
Index
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Windows Server Cookbook for Windows Server 2003 and Windows 2000
ISBN: 0596006330
EAN: 2147483647
Year: 2006
Pages: 380
Authors:
Robbie Allen
BUY ON AMAZON
Beginning Cryptography with Java
Symmetric Key Cryptography
Asymmetric Key Cryptography
CMS and S/MIME
Appendix B Algorithms Provided by the Bouncy Castle Provider
Appendix C Using the Bouncy Castle API for Elliptic Curve
PostgreSQL(c) The comprehensive guide to building, programming, and administering PostgreSQL databases
How PostgreSQL Organizes Data
Function Body
Using PostgreSQL from an ODBC Client Application
ODBC Architecture Overview
Python/PostgreSQL Interface Architecture
The Java Tutorial: A Short Course on the Basics, 4th Edition
How Do These Concepts Translate into Code?
Managing Inheritance
Code Samples
What about Thread.destroy?
The APPLET Tag
Service-Oriented Architecture (SOA): Concepts, Technology, and Design
Atomic transactions
The bottom-up strategy
Service interface design tools
WS-Security language basics
A.3. The Oasis Car Wash
Mapping Hacks: Tips & Tools for Electronic Cartography
Hack 6. Make Route Maps Easier to Read
Hack 7. Will the Kids Barf?
Hack 28. Experiment with Different Cartographic Projections
Hack 87. Build a Spatially Indexed Data Store
Hack 90. Crawl the Geospatial Web with RedSpider
Python Programming for the Absolute Beginner, 3rd Edition
The Compulsory Features List
Python GUI Development Options
PyErrata Database Interfaces
Implementing Sets
String Module Utilities
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies