How to Cheat at Windows System Administration Using Command Line Scripts

  • 7h 48m
  • Pawan K. Bhardwaj
  • Elsevier Science and Technology Books, Inc.
  • 2006

If you are like most managers in small to medium-sized enterprises, administering Windows is only one among many responsibilities. With every new version of Windows, Microsoft tries to ease administrators' jobs by adding more layers of GUI or configuration wizards. Although these "wizards" are interactive and make the administrator's job easier, they are not always the most convenient and most efficient way to accomplish everyday administration tasks. How to Cheat at Windows Administration Using Command Line Scripts uses a Best Practices approach to provide busy managers with clear, succinct instruction to accomplish a given task using the command-line utilities included with the operating system.

  • Learn the Basics of the Command Shell--Learn how to access the command shell and customize its properties.
  • Work with the Command Line Using a Nonadministrative Account--Change command input and output from the standard keyboard and the command shell window, and see how to handle errors
  • .
  • Master the Task Scheduler Service--Schedule tasks to run at predetermined times, and use different subcommands of the schtasks utility to create, change, delete, query, run, or end a task.
  • Manage Files, Folders, and Floppy Disk--Learn the commands related to file and folder management, including Tree, MD (Mkdir), and RD (Rmdir).
  • Cover Maintenance of File Systems and Hard Disk--Understand how to best use utilities such as Fsutil, Chkdsk, and Defrag as well as Format, Convert, and Compact.
  • Use Diskpart to Manage Hard Disk Partition--Use Diskpart to perform disk-related tasks, such as creating and deleting partitions and volumes, and creating, maintaining, and managing fault-tolerant volumes.
  • Query, Add, Delete, and Save Registry Entrie--See how to maintain the Windows operating system, including services, drivers, and the Windows Registry.
  • Monitor and Manage Event Logs, Processes, and Logs--Learn how to view system services and applications using the TaskList command and how to terminate nonresponsive processes using TaskKill.
  • Manage Printers and Print Jobs--Use the command line to view and configure installed printers and also to manage printer drivers and print queues.
  • Manage Active Directory--Learn how to search for Active Directory objects, add and remove objects from the directory database, and modify an object's properties.
  • Perform Network Troubleshooting--Examine a number of network diagnostic tools, such as Ping, IPConfig, Pathping, Finger, and ARP, and learn to interpret their results.

About the Author

Pawan K. Bhardwaj (MCSE, MCT, Security+, Network+, I-Net+ and A+) is an independent technical trainer and author. He has been actively involved in Windows administration ever since Windows NT 3.51 was released. In the past 16 years he has worked at various system and network support levels for small and medium-sized companies. Some of his major projects included working for one of India’s largest newspaper groups and a large e-commerce organization in the United States where he had an active involvement in design and implementation of large-scale LAN and WAN solutions based on Windows technologies.

Pawan was one of the first 100 in India to attain MCSE certification back in 1997. He teaches Windows administration and networking classes and also acts as a consultant to training institutions. He has authored or contributed to more than 12 certification books by Syngress/McGraw Hill. He also coauthored MCSE 2003 Electives Exams in a Nutshell (O’Reilly Media, Inc., 2006).

In this Book

  • How to Cheat at Windows System Administration Using Command Line Scripts
  • Introduction
  • Basics of the Command Line
  • Using Batch Files
  • Managing Scheduled Tasks
  • Managing Files and Directories
  • Maintaining Hard Disks
  • Managing Hard Disks with the Diskpart Utility
  • System Services, Drivers, and the Registry
  • Monitoring System Events, Processes, and Performance
  • Managing Printing Services
  • Overview of Directory Services Commands
  • Managing Active Directory Users, Groups, and Computers
  • Basic TCP/IP Networking Commands
  • Administering Network Services


Rating 4.0 of 1 users Rating 4.0 of 1 users (1)
Rating 4.9 of 14 users Rating 4.9 of 14 users (14)