How to Cheat at Windows System Administration Using Command Line Scripts

How to Cheat at Windows System Administration Using Command Line Scripts

1st Edition - October 9, 2006

Write a review

  • Author: Pawan Bhardwaj
  • Paperback ISBN: 9781597491051
  • eBook ISBN: 9780080508269

Purchase options

Purchase options
DRM-free (Mobi, PDF, EPub)
Sales tax will be calculated at check-out

Institutional Subscription

Free Global Shipping
No minimum order


How to Cheat at Windows Systems Administrators using Command Line Scripts teaches system administrators hundreds of powerful, time-saving tips for automating daily system administration tasks using Windows command line scripts. With every new version of Windows, Microsoft is trying to ease the administration jobs by adding more and more layers of graphical user interface (GUI) or configuration wizards (dialog boxes). While these ‘wizards’ are interactive and make the administrator’s job easier, they are not always the most convenient and efficient way to accomplish the everyday administration tasks. These wizards are time consuming and, at times, may seem a bit confusing. The purpose of the book is to teach administrators how to use command-line scripts to complete everyday administration jobs, solve recurring network problems and at the same time improve their efficiency.

Key Features

  • Provides system administrators with hundreds of tips, tricks, and scripts to complete administration tasks more quickly and efficiently.
  • No direct competition for a core tool for Windows administrators.
  • Builds on success of other books in the series including How to Cheat at Managing Windows Small Business Server 2003 and How to Cheat at Managing Microsoft Operations Manager 2005.


System Administrators.

Table of Contents

  • Lead Author

    Technical Editor and Reviewer

    Contributing Authors

    Companion Web Site


    Part I: Getting Started with Command Line

    Chapter 1: Basics of the Command Line


    Basics of the Windows Command Shell

    Starting the Windows Command Shell

    Internal Commands for the Command Shell

    Command History

    Accessing the Windows Command Reference

    Installing Windows Support Tools


    Chapter 2: Using Batch Files


    Working Safely with the Command Line

    Configuring the Command Path

    Using Command Redirection

    Using Groups of Commands

    Creating Batch Files

    Batch File Parameters


    Chapter 3: Managing Scheduled Tasks


    Scheduling Tasks

    The Task Scheduler Service

    Configuring the Properties of the Task Scheduler Service

    Managing Tasks Using the Task Scheduler

    The schtasks Command-Line Utility

    Managing Tasks with schtasks


    Part II: Basic Windows Administration

    Chapter 4: Managing Files and Directories


    Using Wildcards in Commands

    File and Folder Attributes

    Basic File and Folder Operations

    Duplicating and Comparing Disks

    Directory-Specific Commands


    Chapter 5: Maintaining Hard Disks


    Physical and Logical Disks

    Understanding Basic and Dynamic Disks

    Supported File Systems

    Converting File Systems


    Chapter 6: Managing Hard Disks with the Diskpart Utility


    The Diskpart Utility

    Diskpart Commands

    Scripting with Diskpart

    Obtaining Volume Information

    Managing Dynamic Volumes

    Managing Fault-Tolerant Volumes


    Part III: Managing Windows Systems and Printers

    Chapter 7: System Services, Drivers, and the Registry


    Obtaining System Information

    Shutting Down and Restarting the System

    Managing System Services

    Obtaining Driver Information

    Managing the Windows Registry


    Chapter 8: Monitoring System Events, Processes, and Performance


    Managing Event Logs from the Command Line

    Creating New Events

    Working with Event Triggers

    Viewing Logged Events

    Monitoring Application Processes and Tasks

    Using Filters with the TaskList and TaskKill Commands

    Working with System Performance


    Chapter 9: Managing Printing Services


    Working with Printer Commands

    Installing a Local Printer

    Configuring and Renaming Printers

    Managing Printer Drivers

    Deleting All Printer Drivers from a Computer

    Creating and Configuring TCP/IP Printer Ports

    Managing Print Queues and Print Jobs


    Part IV: Working with Active Directory

    Chapter 10: Overview of Directory Services Commands


    Getting Started with DS Commands

    Types of Objects for DS Commands

    Querying the Directory Database with DSQuery

    Adding New Objects with DSAdd

    Displaying Object Properties with DSGet

    Modifying Objects with DSMod

    Moving and Renaming Objects with DSMove

    Deleting Directory Objects with DSRm


    Chapter 11: Managing Active Directory Users, Groups, and Computers


    Managing User Accounts

    Managing Group Accounts

    Managing Computer Accounts

    Managing Domain Controller Accounts


    Part V: Windows Networking

    Chapter 12: Basic TCP/IP Networking Commands


    Overview of the Net Commands

    Starting and Stopping TCP/IP Services

    Troubleshooting Commands for TCP/IP

    Commands for Remote Computers


    Chapter 13: Administering Network Services


    Overview of the NETSH Commands

    NETSH Commands for Troubleshooting

    Managing Interfaces with NETSH

    Managing Interface IP WINS Settings

    Managing Automatic Addressing Using DHCP Services

    NETSH Commands for AAAA


    MS-DOS Commands Not Supported in Windows XP and Windows 2003


Product details

  • No. of pages: 400
  • Language: English
  • Copyright: © Syngress 2006
  • Published: October 9, 2006
  • Imprint: Syngress
  • Paperback ISBN: 9781597491051
  • eBook ISBN: 9780080508269

About the Author

Pawan Bhardwaj

Affiliations and Expertise

(MCSE, MCP+I, CCNA, A+) a consultant and technical trainer

Ratings and Reviews

Write a review

There are currently no reviews for "How to Cheat at Windows System Administration Using Command Line Scripts"