You are previewing Administering: Windows Server® 2008 Server Core.
O'Reilly logo
Administering: Windows Server® 2008 Server Core

Book Description

Microsoft's new GUI-less Server Core is a command line version of Windows Server 2008 that offers better security, reduced size, and faster access. Inside this comprehensive guide, you'll find everything you need to quickly master this sleek new version. Packed with instructions and practical examples, this book teaches you how to operate in a windowless environment, including using all the commands, creating BAT files, working with scripts, using registry hacks, managing remote systems, and more. Includes best practices, 52 indispensable command line tricks, and an alphabetical list of all the commands.

Table of Contents

  1. Copyright
  2. Acknowledgments
  3. About the Author
  4. Introduction
    1. Server Core Really Is Worth the Effort!
    2. Goals for Writing This Book
    3. Who Should Read This Book?
    4. What You Need to Use this Book
    5. Conventions Used in This Book
  5. 1. Discovering Windows in a Command Prompt
    1. 1. Understanding Windows Server 2008 Server Core
      1. 1.1. Considering the Command Prompt
      2. 1.2. Life without the Control Panel
      3. 1.3. Configuring the Server for Initial Use
      4. 1.4. Working with the Logon Screen
        1. 1.4.1. Locking the Computer
        2. 1.4.2. Switching Users
        3. 1.4.3. Logging Off
        4. 1.4.4. Changing a Password
        5. 1.4.5. Invoking the Task Manager
      5. 1.5. Using the Windows Task Manager to Your Advantage
        1. 1.5.1. Working with Applications
          1. 1.5.1.1. Creating a New Task
          2. 1.5.1.2. Ending a Task
          3. 1.5.1.3. Switching to a Task
        2. 1.5.2. Working with Processes
        3. 1.5.3. Working with Services
        4. 1.5.4. Checking Performance
        5. 1.5.5. Observing Network Statistics
        6. 1.5.6. Managing Users
      6. 1.6. A List of Helpful GUI Utilities
        1. 1.6.1. Notepad
        2. 1.6.2. RegEdit
        3. 1.6.3. WinHelp
      7. 1.7. Accessing DLLs Using the RunDLL32 Utility
      8. 1.8. Managing Windows in a New Way
    2. 2. Using the Command Line Effectively
      1. 2.1. The Command Line Made Easy
        1. 2.1.1. Using Utilities Directly
        2. 2.1.2. Writing Scripts
        3. 2.1.3. Scheduling Tasks
        4. 2.1.4. Relying on Third-Party Utilities
      2. 2.2. Configuring the Command Window
        1. 2.2.1. Setting the Window Options
        2. 2.2.2. Changing the Font
        3. 2.2.3. Choosing a Window Layout
        4. 2.2.4. Defining the Text Colors
      3. 2.3. Understanding Internal and External Commands
      4. 2.4. Working with the Remote Desktop Connection Application
        1. 2.4.1. Creating a Connection
        2. 2.4.2. Setting the Display
        3. 2.4.3. Accessing Local Resources
        4. 2.4.4. Running a Configuration Program
        5. 2.4.5. Optimizing Performance
      5. 2.5. Managing Windows in a New Way
    3. 3. Performing Essential Maintenance Tasks
      1. 3.1. Performing Application Installations
      2. 3.2. Deciding How to Perform Maintenance
      3. 3.3. Performing Server Updates
      4. 3.4. Creating LNK Files
      5. 3.5. Setting Security
      6. 3.6. Configuring Server Core Using the WMIC Command
        1. 3.6.1. Understanding the SQL Syntax of WMIC
        2. 3.6.2. An Overview of WMIC Aliases
      7. 3.7. Using Maintenance Commands and Utilities
        1. 3.7.1. Controlling Services with the SC Command
        2. 3.7.2. Shutting Down the System with the ShutDown Command
        3. 3.7.3. Replicating COM+ Applications with the COMRepl Utility
        4. 3.7.4. Managing Type Libraries with the RegTLib Utility
        5. 3.7.5. Saving and Restoring System Restore Data with the SRDiag Utility
        6. 3.7.6. Performing Web-Based Enterprise Management Tasks
        7. 3.7.7. Tracing WinSxs Behavior with the SxsTrace Utility
      8. 3.8. Managing Activation with SLMGR
      9. 3.9. Managing Windows in a New Way
    4. 4. Essential Registry Hacks
      1. 4.1. Starting and Configuring the Registry Editor
        1. 4.1.1. Working with the RegEdit Utility GUI
        2. 4.1.2. Working with the RegEdit Utility at the Command Line
        3. 4.1.3. Saving and Restoring the Registry
        4. 4.1.4. Working with the SCRegEdit Script
          1. 4.1.4.1. Setting Automatic Updates
          2. 4.1.4.2. Enabling Terminal Services
          3. 4.1.4.3. Configuring the IP Security (IPSec) Monitor
          4. 4.1.4.4. Managing DNS Service Priority and Weight
          5. 4.1.4.5. Using the Command Line Reference
        5. 4.1.5. Scripting Registry Entries with the RegIni Utility
      2. 4.2. Performing Console Configuration
      3. 4.3. Setting the Environment
      4. 4.4. Modifying the Hardware Setup
        1. 4.4.1. Video
        2. 4.4.2. Keyboard
        3. 4.4.3. Mouse
        4. 4.4.4. Power Configuration
        5. 4.4.5. Network
      5. 4.5. Modifying the Software Setup
      6. 4.6. Managing Windows in a New Way
  6. 2. Automation Essentials
    1. 5. Creating CMD and BAT Files
      1. 5.1. Starting the Command Interpreter
        1. 5.1.1. Using the CMD Switches
          1. 5.1.1.1. Working with the Command Interpreter in the Registry
          2. 5.1.1.2. Understanding Command Extensions
        2. 5.1.2. Modifying Config.NT
          1. 5.1.2.1. Using ANSI.SYS to Control the Environment
          2. 5.1.2.2. Setting the DOS Location
          3. 5.1.2.3. Running DOS Applications Only
          4. 5.1.2.4. Displaying the Config.NT Commands
          5. 5.1.2.5. Controlling the Expanded Memory EMM Entry
          6. 5.1.2.6. Setting the Number of Accessible Files
          7. 5.1.2.7. Controlling Extended Memory with HIMEM.SYS
        3. 5.1.3. Modifying AutoExec.NT
          1. 5.1.3.1. Setting the Code Page Number with the CHCP Utility
          2. 5.1.3.2. Adding DPMI Support Using the DosX Utility
          3. 5.1.3.3. Enabling Graphics Character Support with the Graf Tabl Utility
          4. 5.1.3.4. Printing Command Line Graphics with the Graphics Utility
          5. 5.1.3.5. Saving Memory Using the LH Command
          6. 5.1.3.6. Adding CD Support with MSCDexNT Utility
          7. 5.1.3.7. Installing the Network Redirector Using the Re Dir Utility
        4. 5.1.4. Defining Application Compatibility with the SetVer Utility
        5. 5.1.5. Using Common DOS Utilities
          1. 5.1.5.1. Comparing the Contents of Disks with the Disk Comp Utility
          2. 5.1.5.1. Copying One Disk to Another with the Disk Copy Utility
          3. 5.1.5.2. Modifying Data Files with the Edit Utility
          4. 5.1.5.3. Formatting a Disk with the Format Utility
          5. 5.1.5.4. Loading Older DOS Applications with the Load Fix Utility
          6. 5.1.5.5. Terminating a Session Using the Logoff Utility
          7. 5.1.5.6. Configuring System Devices with the Mode Utility
          8. 5.1.5.7. Managing Environment Variables with the Set Command
          9. 5.1.5.8. Managing Environment Variables with the SetX Utility
          10. 5.1.5.9. Executing Applications Using the Start Command
          11. 5.1.5.10. Determining the Operating System Version with the Ver Command
          12. 5.1.5.11. Getting Volume Information with the Vol Command
        6. 5.1.6. Using Debugging Utilities
          1. 5.1.6.1. Examining, Modifying, and Debugging Files with the Debug Utility
          2. 5.1.6.2. Converting Executables with the Exe2Bin Utility
      2. 5.2. Working at the Command Prompt
        1. 5.2.1. Redirecting Command Line Output to the Clipboard with the Clip Utility
        2. 5.2.2. Clearing the Display with the CLS Command
        3. 5.2.3. Managing Usernames and Passwords with CmdKey
          1. 5.2.3.1. Displaying
          2. 5.2.3.2. Creating
          3. 5.2.3.3. Deleting
        4. 5.2.4. Changing Screen Colors with the Color Command
        5. 5.2.5. Working with the System Date Using the Date Command
        6. 5.2.6. Tracking Command Line Actions with the DosKey Utility
        7. 5.2.7. Obtaining Command Line Help with the Help Utility
        8. 5.2.8. Working with the System Time Using the Time Command
        9. 5.2.9. Changing the Command Window Title with the Title Command
      3. 5.3. Creating Batch Files
        1. 5.3.1. Using the Call Command
        2. 5.3.2. Using the Choice Command
        3. 5.3.3. Using the Echo Command
        4. 5.3.4. Using the Exit Command
        5. 5.3.5. Using the ForFiles Utility
        6. 5.3.6. Using the For Command
          1. 5.3.6.1. Performing Complex File Iteration
          2. 5.3.6.2. Using Variable Substitution
        7. 5.3.7. Using the Goto Command
        8. 5.3.8. Using the If Command
        9. 5.3.9. Using the Pause Command
        10. 5.3.10. Using the Prompt Command
        11. 5.3.11. Using the Rem Command
        12. 5.3.12. Using the Shift Command
        13. 5.3.13. Using the TimeOut Utility
        14. 5.3.14. Using the WaitFor Utility
      4. 5.4. Testing Batch Files
        1. 5.4.1. Adding Debug Information to Batch Files
        2. 5.4.2. Identifying Batch Files and Their Actions
        3. 5.4.3. Using a Centralized Data Store
        4. 5.4.4. Managing Windows in a New Way
    2. 6. Working with Scripts
      1. 6.1. Understanding Scripting Languages
        1. 6.1.1. Learning the Basics of JavaScript
        2. 6.1.2. Learning the Basics of VBScript
        3. 6.1.3. Understanding the WSF
      2. 6.2. Executing Scripts
        1. 6.2.1. Running Scripts with the CScript and WScript Utilities
        2. 6.2.2. Configuring the Host and Property Page Options
      3. 6.3. Scripting Networking Solutions with the NetSH Utility
      4. 6.4. Creating a Basic Script
        1. 6.4.1. Scripting the Command Line and System Environment
        2. 6.4.2. Scripting the Registry
      5. 6.5. Using the Scripting Objects
        1. 6.5.1. Working with the WScript Object
        2. 6.5.2. Working with the WScript.WshArguments Object
        3. 6.5.3. Working with the WScript.WshShell Object
        4. 6.5.4. Working with the WScript.WshNetwork Object
      6. 6.6. Impersonating a User with the RunAs Utility
      7. 6.7. Changing the Environment
        1. 6.7.1. Changing Logons, Ports, and Users with the Change Utility
        2. 6.7.2. Enabling or Disabling Session Logons with the ChgLogon Utility
        3. 6.7.3. Listing COM Port Mappings Using the ChgPort Utility
        4. 6.7.4. Modifying the Install Mode with the ChgUsr Utility
      8. 6.8. Testing Scripts
        1. 6.8.1. Mapping a Network Drive
        2. 6.8.2. Creating a CSV File
      9. 6.9. Managing Windows in a New Way
    3. 7. Editing and Compiling Batch Files and Scripts
      1. 7.1. Editing All File Types with WinVi
      2. 7.2. Obtaining a Better Notepad with Notepad+
      3. 7.3. Creating Executable Batch Files with Batch File Compiler 5.2
      4. 7.4. Develop and Compile Batch Files with Quick Batch File Compiler
      5. 7.5. Understanding JavaScript and VBScript Compilers
      6. 7.6. Editing Script Files with Script Editor 2.1
      7. 7.7. Managing Windows in a New Way
    4. 8. Performing Task Automation
      1. 8.1. Scheduling and Managing Tasks
        1. 8.1.1. Managing Tasks with the SCHTasks Command
        2. 8.1.2. Working with the AT Utility
        3. 8.1.3. Working with the WMIC Job Alias
        4. 8.1.4. Combining the AT Utility with Batch Files
        5. 8.1.5. Creating Script-Based Scheduler Activities
      2. 8.2. Providing Fault Tolerance for an After Hours Batch or Script
      3. 8.3. Managing Windows in a New Way
  7. 3. Working with the Hardware
    1. 9. Managing the Hard Drive
      1. 9.1. Opening Remote Directories with the Append Utility
      2. 9.2. Determining the Current Directory and Changing Directories with the CD and ChDir Commands
      3. 9.3. Converting FAT Partitions to NTFS with the Convert Utility
      4. 9.4. Improving Disk Access Performance with the Defrag Utility
      5. 9.5. Managing Partitions with the DiskPart Command
      6. 9.6. Managing Disk Performance with the DiskPerf Utility
      7. 9.7. Managing RAID Setups Using the DiskRAID Utility
      8. 9.8. Managing the File System with the FltMC Utility
        1. 9.8.1. Load
        2. 9.8.2. Unload
        3. 9.8.3. Filters
        4. 9.8.4. Instances
        5. 9.8.5. Volumes
        6. 9.8.6. Attach
        7. 9.8.7. Detach
      9. 9.9. Monitoring the File System with the FSUtil Command
        1. 9.9.1. Behavior
        2. 9.9.2. Dirty
        3. 9.9.3. File
        4. 9.9.4. FSInfo
        5. 9.9.5. Hardlink
        6. 9.9.6. ObjectID
        7. 9.9.7. Quota
        8. 9.9.8. Repair
        9. 9.9.9. Reparse-Point
        10. 9.9.10. Resource
        11. 9.9.11. Sparse
        12. 9.9.12. Transaction
        13. 9.9.13. USN
        14. 9.9.14. Volume
      10. 9.10. Working with iSCSI Using the iSCSICli Utility
        1. 9.10.1. Starting the iSCSI Initiator
        2. 9.10.2. Working with the iSCSI Client (iSCSICli) Utility
        3. 9.10.3. iSCSICli Mappings and Flags
        4. 9.10.4. Managing Volume Labels with the Label Utility
        5. 9.10.5. Creating Directories with the MD and MkDir Commands
      11. 9.11. Creating Symbolic Links and Hard Links with the MKLink Command
      12. 9.12. Mounting a Volume with the MountVol Utility
      13. 9.13. Setting and Viewing Application Paths with the Path Command
      14. 9.14. Storing and Retrieving Directories with the PushD and PopD Commands
      15. 9.15. Removing a Directory with the RD and RmDir Commands
      16. 9.16. Managing Removable Storage with the RSM Utility
        1. 9.16.1. ALLOCATE
        2. 9.16.2. DEALLOCATE
        3. 9.16.3. MOUNT
        4. 9.16.4. DISMOUNT
        5. 9.16.5. EJECT
        6. 9.16.6. EJECTATAPI
        7. 9.16.7. CREATEPOOL
        8. 9.16.8. DELETEPOOL
        9. 9.16.9. VIEW
        10. 9.16.10. REFRESH
        11. 9.16.11. INVENTORY
      17. 9.17. Associating a Folder to a Drive with the Subst Utility
      18. 9.18. Displaying a Directory Structure with the Tree Utility
      19. 9.19. Managing the Volume Shadow Service with the VSSAdmin Utility
      20. 9.20. Managing Windows in a New Way
    2. 10. Managing the Network
      1. 10.1. Getting the Media Access Control Information with the GetMAC Utility
      2. 10.2. Managing the Network with the Net Utility
        1. 10.2.1. ACCOUNTS
        2. 10.2.2. COMPUTER
        3. 10.2.3. CONFIG
        4. 10.2.4. CONFIG SERVER
        5. 10.2.5. CONTINUE
        6. 10.2.6. FILE
        7. 10.2.7. GROUP
        8. 10.2.8. HELP
        9. 10.2.9. HELPMSG
        10. 10.2.10. LOCALGROUP
        11. 10.2.11. NAME
        12. 10.2.12. PAUSE
        13. 10.2.13. PRINT
        14. 10.2.14. SEND
        15. 10.2.15. SESSION
        16. 10.2.16. SHARE
        17. 10.2.17. START
        18. 10.2.18. STATISTICS
        19. 10.2.19. STOP
        20. 10.2.20. TIME
        21. 10.2.21. USE
        22. 10.2.22. USER
        23. 10.2.23. VIEW
      3. 10.3. Managing Windows in a New Way
    3. 11. Working with TCP/IP
      1. 11.1. Managing the Address Resolution Protocol with the ARP Utility
      2. 11.2. Discovering User Information with the Finger Utility
      3. 11.3. Getting the Local Hostname with the Hostname Utility
      4. 11.4. Managing the Internet Protocol with the IPConfig Utility
      5. 11.5. Obtaining Multicast Router Information with the MRInfo Utility
      6. 11.6. Getting NetBIOS over TCP/IP Status with the NBTStat Utility
      7. 11.7. Performing Network Diagnostics with the NetDiag Utility
      8. 11.8. Getting Network Statistics with the NetStat Utility
      9. 11.9. Tracking Servers with the NSLookup Utility
      10. 11.10. Tracing Transmission Paths with the PathPing Utility
      11. 11.11. Checking Connections with the PING Utility
      12. 11.12. Manipulating the Network Routing Tables with the Route Utility
      13. 11.13. Checking Connections using RPC with the RPCPing Utility
      14. 11.14. Managing Files with the TFTP Utility
      15. 11.15. Tracking the Network Path with the TraceRt Utility
      16. 11.16. Managing Windows in a New Way
    4. 12. Managing Other Hardware
      1. 12.1. Working with Line Printers
        1. 12.1.1. Troubleshooting the Line Printer Daemon with the LPQ Utility
        2. 12.1.2. Sending a Print Job to a Printer with the LPR Utility
      2. 12.2. Determining Memory Status with the Mem Utility
      3. 12.3. Obtaining General System Information with the MSInfo32 Utility
      4. 12.4. Performing a Formatted Printout with Notepad
      5. 12.5. Managing Power Settings with the PowerCfg Utility
      6. 12.6. Performing Unattended Driver Installation with the PnPUnattend Utility
      7. 12.7. Managing PnP Setups Using the PnPUtil Utility
      8. 12.8. Printing Data Files with the Print Utility
      9. 12.9. Managing the System Time with the W32Tm Utility
      10. 12.10. Managing Windows in a New Way
  8. 4. Working with the Software
    1. 13. Managing Applications
      1. 13.1. Obtaining Driver Information with the DriverQuery Command
      2. 13.2. Installing Applications with the MSIExec Utility
      3. 13.3. Accessing the Windows Package Manager with the PkgMgr Utility
      4. 13.4. Adding and Removing Applications with the OCSetup Utility
        1. 13.4.1. An Overview of the Server Core Roles and Features
        2. 13.4.2. Considering the Server Core Default Settings
        3. 13.4.3. Using the OCSetup Utility
      5. 13.5. Verifying Application and Role Status Using the OCList Utility
      6. 13.6. Adding and Removing Servers with the RegSvr32 Utility
      7. 13.7. Managing Compatibility Databases with SDBInst
      8. 13.8. Configuring Windows Error Reporting with ServerWEROptin
      9. 13.9. Managing Windows in a New Way
    2. 14. Working with Data
      1. 14.1. Comparing Two Files with the Comp Utility
      2. 14.2. Copying Files with the Copy Command
      3. 14.3. Removing Files with the Del and Erase Commands
      4. 14.4. Compressing Files with the Diantz and MakeCab Utilities
      5. 14.5. Modifying Files with the Edlin Utility
      6. 14.6. Repairing System Databases with the ESEnTUtl Utility
      7. 14.7. Decompressing Files with the Expand Utility
      8. 14.8. Performing Advanced File Comparison with the FC Utility
      9. 14.9. Moving Files and Renaming Files and Directories with the Move Command
      10. 14.10. Recovering Lost Files with the Recover Utility
      11. 14.11. Renaming a File with the Ren and Rename Commands
      12. 14.12. Performing Robust File Transfers with the RoboCopy Command
      13. 14.13. Replacing Existing Files with the Replace Utility
      14. 14.14. Sorting File Content with the Sort Utility
      15. 14.15. Taking Ownership of Files with the TakeOwn Utility
      16. 14.16. Outputting Data Files with the Type Command
        1. 14.16.1. Employing Data Redirection
        2. 14.16.2. Using the More Utility
      17. 14.17. Validating File Operations with the Verify Command
      18. 14.18. Performing Backups with the WBAdmin Utility
        1. 14.18.1. START BACKUP
        2. 14.18.2. GET ITEMS
      19. 14.19. Performing Bulk File Transfers with the XCopy Utility
      20. 14.20. Working with File Associations and Types
        1. 14.20.1. Determining and Creating File Associations with the Assoc Command
        2. 14.20.2. Determining and Creating File Types with the FType Command
      21. 14.21. Working with ODBC Data Sources
        1. 14.21.1. Configuring the ODBC Environment with the ODBCConf Utility
        2. 14.21.2. Creating an ODBC Data Source at the Command Line
      22. 14.22. Managing Windows in a New Way
    3. 15. Managing Files and Directories
      1. 15.1. Changing File and Directory Attributes with the Attrib Utility
      2. 15.2. Determining File and Directory Status with the ChkDsk Utility
      3. 15.3. Performing Boot Time Disk Checks with the ChkNTFS Utility
        1. 15.3.1. Using the ChkNTFS Utility
        2. 15.3.2. Understanding How AutoChk Works with ChkNTFS
      4. 15.4. Encrypting Data with the Cipher Utility
      5. 15.5. Compressing Data with the Compact Utility
      6. 15.6. Finding Files and Directories with the Dir Command
      7. 15.7. Locating Information in Files with the Find and FindStr Utilities
      8. 15.8. Changing File and Directory Access with the ICACLS Command
      9. 15.9. Detecting Shared Open Files with the OpenFiles Command
        1. 15.9.1. Disconnect
        2. 15.9.2. Query
        3. 15.9.3. Local
      10. 15.10. Finding Files and Directories with the Where Utility
      11. 15.11. Managing Windows in a New Way
    4. 16. Configuring the System Setup
      1. 16.1. Managing the Boot Configuration with the BCDEdit Command
      2. 16.2. Accessing the WinPE Network Installer with the NetCfg Utility
      3. 16.3. Getting System Configuration Information with the SystemInfo Utility
      4. 16.4. Managing Windows in a New Way
    5. 17. Creating System Connections
      1. 17.1. Remote System Management
        1. 17.1.1. Creating Remote Connections with the MSTSC Utility
        2. 17.1.2. Setting Up a Telephony Client with the TCMSetup Utility
        3. 17.1.3. Performing Remote Windows Management with the WinRM Utility
        4. 17.1.4. Accessing a System with the WinRS Utility
      2. 17.2. Managing FTP Servers with the FTP Utility
      3. 17.3. Working with Terminal Server
        1. 17.3.1. Locating Terminal Servers with the QAppSrv Utility
        2. 17.3.2. Obtaining Processes with the QProcess Utility
        3. 17.3.3. Getting Session Information with the QWinSta Utility
        4. 17.3.4. Terminating a Session with the Reset Utility
        5. 17.3.5. Resetting the Hardware and Software with the RWinSta Utility
        6. 17.3.6. Monitoring Other Sessions with the Shadow Utility
        7. 17.3.7. Attaching a User Session with the TSCon Utility
        8. 17.3.8. Disconnecting an Active Session with the TSDiscon Utility
        9. 17.3.9. Ending Processes with the TSKill Utility
        10. 17.3.10. Shutting Down Terminal Server with the TSShutDn Utility
      4. 17.4. Working with Remote Access Server
        1. 17.4.1. Dialing Out with the RASDial Utility
        2. 17.4.2. Accessing Dial-Up Networking with the RASPhone Utility
      5. 17.5. Communicating with Telnet
        1. 17.5.1. Administrating Telnet with the TLNTAdmn Utility
        2. 17.5.2. Executing Commands Remotely with the Telnet Utility
      6. 17.6. Managing Windows in a New Way
    6. 18. Monitoring System Events and Performance
      1. 18.1. Recording System Status Information
        1. 18.1.1. Managing System Events with the EventCreate Utility
        2. 18.1.2. Triggering System Events with the EventTriggers Utility
          1. 18.1.2.1. Create
          2. 18.1.2.2. Delete
          3. 18.1.2.3. Query
        3. 18.1.3. Managing Event Information with the WEvtUtil Utility
      2. 18.2. Working with Performance Information
        1. 18.2.1. Adding Performance Counters with the LodCtr Utility
        2. 18.2.2. Managing Performance Logs and Alerts with the LogMan Utility
        3. 18.2.3. Viewing the Results of Changes with the PerfMon Utility
        4. 18.2.4. Reconfiguring Performance Logs with the ReLog Utility
        5. 18.2.5. Tracking Performance with the TypePerf Utility
        6. 18.2.6. Removing Performance Counters with the UnlodCtr Utility
      3. 18.3. Managing Windows in a New Way
    7. 19. Configuring Directory Services
      1. 19.1. Managing Directory Services Using the WMIC NTDomain Alias
      2. 19.2. Creating New Objects Using the DSAdd Utility
        1. 19.2.1. computer
        2. 19.2.2. contact
        3. 19.2.3. group
        4. 19.2.4. ou (Organizational Unit)
        5. 19.2.5. user
        6. 19.2.6. quota
      3. 19.3. Listing Objects Using the DSGet Utility
      4. 19.4. Editing Existing Objects Using the DSMod Utility
      5. 19.5. Moving Existing Objects Using the DSMove Utility
      6. 19.6. Managing Active Directory with the DSQuery Utility
        1. 19.6.1. computer
        2. 19.6.2. contact
        3. 19.6.3. group
        4. 19.6.4. ou (Organizational Unit)
        5. 19.6.5. site
        6. 19.6.6. server
        7. 19.6.7. user
        8. 19.6.8. quota
        9. 19.6.9. partition
        10. 19.6.10. * (All Objects)
      7. 19.7. Deleting Objects Using the DSRm Utility
      8. 19.8. Managing the Active Directory Database with the NTDSUtil Utility
      9. 19.9. Working with Users, Groups, and Computers
        1. 19.9.1. Obtaining a User's Logon Name
        2. 19.9.2. Obtaining a User's Full Name
        3. 19.9.3. Discovering User Group Membership
        4. 19.9.4. Resetting a User's Password
        5. 19.9.5. Displaying a List of Hostnames
      10. 19.10. Managing Windows in a New Way
  9. 5. Working with the User
    1. 20. Managing System Users
      1. 20.1. Auditing User Access with the AuditPol Utility
        1. 20.1.1. Get
        2. 20.1.2. Set
        3. 20.1.3. List
        4. 20.1.4. Backup
        5. 20.1.5. Restore
        6. 20.1.6. Clear
        7. 20.1.7. Remove
      2. 20.2. Configuring Profiles with the CMStP Utility
      3. 20.3. Obtaining Group Policy Results with the GPResult Command
      4. 20.4. Managing Group Policies with the GPUpdate Utility
      5. 20.5. Obtaining Session Status Information with the Query Utility
        1. 20.5.1. PROCESS
        2. 20.5.2. SESSION
        3. 20.5.3. USER
        4. 20.5.4. TERMSERVER
      6. 20.6. Obtaining User Login Information with the QUser Utility
      7. 20.7. Discovering User Identity with the WhoAmI Utility
      8. 20.8. Managing Windows in a New Way
    2. 21. Securing the System
      1. 21.1. Virus and External Intrusion Protection
        1. 21.1.1. Removing Viruses with the BlastCln Utility
        2. 21.1.2. Detecting and Removing Malicious Software with the MRT Utility
        3. 21.1.3. Verifying System Files with the SFC Utility
        4. 21.1.4. Verifying Drivers with the Verifier Utility
        5. 21.1.5. Configuring Local Security Policies with the SecEdit Utility
      2. 21.2. Working with General Applications
        1. 21.2.1. Terminating Tasks with the TaskKill Command
        2. 21.2.2. Listing Applications and Services with the TaskList Command
      3. 21.3. Converting Event Trace Logs with the TraceRpt Utility
      4. 21.4. Managing Windows in a New Way
  10. 6. Helpful Third-Party Utilities
    1. 22. Obtaining Command Prompt Enhancers
      1. 22.1. Using XVI32 to View Files in Depth
      2. 22.2. Moving Data with Send To Toys
      3. 22.3. Checking File Integrity Using FCIV
      4. 22.4. Getting the Better XCopy with XXCopy
      5. 22.5. Working with Shell Extensions Using ShellExView
      6. 22.6. Examining Processes Using Process Explorer
      7. 22.7. Managing Windows in a New Way
    2. 23. Increasing Productivity at the Command Line
      1. 23.1. Obtaining Additional Information with ToggIt Command Line Helper
      2. 23.2. Using Quick Shutdown to End a Session Fast
      3. 23.3. Creating a Friendlier Interface with PromptPal
      4. 23.4. Getting a More Functional Command Line with WinOne
      5. 23.5. Automating Email Using sendEmail
      6. 23.6. Viewing XML Files Using XML Notepad 2007
      7. 23.7. Managing Windows in a New Way
  11. 7. Working with IIS 7
    1. 24. Installing and Configuring IIS
      1. 24.1. Performing the IIS Installation
        1. 24.1.1. Performing a Standard Installation
        2. 24.1.2. Adding Support for ASP
        3. 24.1.3. Adding Support for PHP and FastCGI
      2. 24.2. Configuring a Basic Web Site
      3. 24.3. Adding Content
      4. 24.4. Managing Windows in a New Way
    2. 25. Managing IIS
      1. 25.1. Working from the Client
      2. 25.2. Using the AppCmd Utility
        1. 25.2.1. An Overview of the Object Types
        2. 25.2.2. An Overview of the General Command Line Switches
      3. 25.3. Using the W3WP Utility
      4. 25.4. Modifying the CONFIG Files
        1. 25.4.1. Understanding the Web.CONFIG File
          1. 25.4.1.1. Understanding the Configuration File Hierarchy
          2. 25.4.1.2. An Overview of the Web.CONFIG Elements
      5. 25.5. Working with the ApplicationHost.CONFIG File
        1. 25.5.1. Working with the Administration.CONFIG File
      6. 25.6. Managing Windows in a New Way
  12. A. 52 Indispensable Command Line Tricks and Techniques
  13. B. Alphabetical Command List
  14. C. Topical Command List
  15. D. Listing of Best Practices
    1. D.1.1. Always Verify the Data
    2. D.1.2. Real Administrators Use Help
    3. D.1.3. Test Your Theories on a Test System
    4. D.1.4. Use Batch Files, Scripts, and Written Procedures
    5. D.1.5. Make Backups
    6. D.1.6. Perform User-Specific Changes during Downtime
  16. Glossary