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
- Copyright
- Acknowledgments
- About the Author
- Introduction
-
1. Discovering Windows in a Command Prompt
-
1. Understanding Windows Server 2008 Server Core
- 1.1. Considering the Command Prompt
- 1.2. Life without the Control Panel
- 1.3. Configuring the Server for Initial Use
- 1.4. Working with the Logon Screen
- 1.5. Using the Windows Task Manager to Your Advantage
- 1.6. A List of Helpful GUI Utilities
- 1.7. Accessing DLLs Using the RunDLL32 Utility
- 1.8. Managing Windows in a New Way
- 2. Using the Command Line Effectively
-
3. Performing Essential Maintenance Tasks
- 3.1. Performing Application Installations
- 3.2. Deciding How to Perform Maintenance
- 3.3. Performing Server Updates
- 3.4. Creating LNK Files
- 3.5. Setting Security
- 3.6. Configuring Server Core Using the WMIC Command
-
3.7. Using Maintenance Commands and Utilities
- 3.7.1. Controlling Services with the SC Command
- 3.7.2. Shutting Down the System with the ShutDown Command
- 3.7.3. Replicating COM+ Applications with the COMRepl Utility
- 3.7.4. Managing Type Libraries with the RegTLib Utility
- 3.7.5. Saving and Restoring System Restore Data with the SRDiag Utility
- 3.7.6. Performing Web-Based Enterprise Management Tasks
- 3.7.7. Tracing WinSxs Behavior with the SxsTrace Utility
- 3.8. Managing Activation with SLMGR
- 3.9. Managing Windows in a New Way
-
4. Essential Registry Hacks
- 4.1. Starting and Configuring the Registry Editor
- 4.2. Performing Console Configuration
- 4.3. Setting the Environment
- 4.4. Modifying the Hardware Setup
- 4.5. Modifying the Software Setup
- 4.6. Managing Windows in a New Way
-
1. Understanding Windows Server 2008 Server Core
-
2. Automation Essentials
-
5. Creating CMD and BAT Files
-
5.1. Starting the Command Interpreter
- 5.1.1. Using the CMD Switches
-
5.1.2. Modifying Config.NT
- 5.1.2.1. Using ANSI.SYS to Control the Environment
- 5.1.2.2. Setting the DOS Location
- 5.1.2.3. Running DOS Applications Only
- 5.1.2.4. Displaying the Config.NT Commands
- 5.1.2.5. Controlling the Expanded Memory EMM Entry
- 5.1.2.6. Setting the Number of Accessible Files
- 5.1.2.7. Controlling Extended Memory with HIMEM.SYS
-
5.1.3. Modifying AutoExec.NT
- 5.1.3.1. Setting the Code Page Number with the CHCP Utility
- 5.1.3.2. Adding DPMI Support Using the DosX Utility
- 5.1.3.3. Enabling Graphics Character Support with the Graf Tabl Utility
- 5.1.3.4. Printing Command Line Graphics with the Graphics Utility
- 5.1.3.5. Saving Memory Using the LH Command
- 5.1.3.6. Adding CD Support with MSCDexNT Utility
- 5.1.3.7. Installing the Network Redirector Using the Re Dir Utility
- 5.1.4. Defining Application Compatibility with the SetVer Utility
-
5.1.5. Using Common DOS Utilities
- 5.1.5.1. Comparing the Contents of Disks with the Disk Comp Utility
- 5.1.5.1. Copying One Disk to Another with the Disk Copy Utility
- 5.1.5.2. Modifying Data Files with the Edit Utility
- 5.1.5.3. Formatting a Disk with the Format Utility
- 5.1.5.4. Loading Older DOS Applications with the Load Fix Utility
- 5.1.5.5. Terminating a Session Using the Logoff Utility
- 5.1.5.6. Configuring System Devices with the Mode Utility
- 5.1.5.7. Managing Environment Variables with the Set Command
- 5.1.5.8. Managing Environment Variables with the SetX Utility
- 5.1.5.9. Executing Applications Using the Start Command
- 5.1.5.10. Determining the Operating System Version with the Ver Command
- 5.1.5.11. Getting Volume Information with the Vol Command
- 5.1.6. Using Debugging Utilities
-
5.2. Working at the Command Prompt
- 5.2.1. Redirecting Command Line Output to the Clipboard with the Clip Utility
- 5.2.2. Clearing the Display with the CLS Command
- 5.2.3. Managing Usernames and Passwords with CmdKey
- 5.2.4. Changing Screen Colors with the Color Command
- 5.2.5. Working with the System Date Using the Date Command
- 5.2.6. Tracking Command Line Actions with the DosKey Utility
- 5.2.7. Obtaining Command Line Help with the Help Utility
- 5.2.8. Working with the System Time Using the Time Command
- 5.2.9. Changing the Command Window Title with the Title Command
-
5.3. Creating Batch Files
- 5.3.1. Using the Call Command
- 5.3.2. Using the Choice Command
- 5.3.3. Using the Echo Command
- 5.3.4. Using the Exit Command
- 5.3.5. Using the ForFiles Utility
- 5.3.6. Using the For Command
- 5.3.7. Using the Goto Command
- 5.3.8. Using the If Command
- 5.3.9. Using the Pause Command
- 5.3.10. Using the Prompt Command
- 5.3.11. Using the Rem Command
- 5.3.12. Using the Shift Command
- 5.3.13. Using the TimeOut Utility
- 5.3.14. Using the WaitFor Utility
- 5.4. Testing Batch Files
-
5.1. Starting the Command Interpreter
-
6. Working with Scripts
- 6.1. Understanding Scripting Languages
- 6.2. Executing Scripts
- 6.3. Scripting Networking Solutions with the NetSH Utility
- 6.4. Creating a Basic Script
- 6.5. Using the Scripting Objects
- 6.6. Impersonating a User with the RunAs Utility
- 6.7. Changing the Environment
- 6.8. Testing Scripts
- 6.9. Managing Windows in a New Way
-
7. Editing and Compiling Batch Files and Scripts
- 7.1. Editing All File Types with WinVi
- 7.2. Obtaining a Better Notepad with Notepad+
- 7.3. Creating Executable Batch Files with Batch File Compiler 5.2
- 7.4. Develop and Compile Batch Files with Quick Batch File Compiler
- 7.5. Understanding JavaScript and VBScript Compilers
- 7.6. Editing Script Files with Script Editor 2.1
- 7.7. Managing Windows in a New Way
- 8. Performing Task Automation
-
5. Creating CMD and BAT Files
-
3. Working with the Hardware
-
9. Managing the Hard Drive
- 9.1. Opening Remote Directories with the Append Utility
- 9.2. Determining the Current Directory and Changing Directories with the CD and ChDir Commands
- 9.3. Converting FAT Partitions to NTFS with the Convert Utility
- 9.4. Improving Disk Access Performance with the Defrag Utility
- 9.5. Managing Partitions with the DiskPart Command
- 9.6. Managing Disk Performance with the DiskPerf Utility
- 9.7. Managing RAID Setups Using the DiskRAID Utility
- 9.8. Managing the File System with the FltMC Utility
- 9.9. Monitoring the File System with the FSUtil Command
- 9.10. Working with iSCSI Using the iSCSICli Utility
- 9.11. Creating Symbolic Links and Hard Links with the MKLink Command
- 9.12. Mounting a Volume with the MountVol Utility
- 9.13. Setting and Viewing Application Paths with the Path Command
- 9.14. Storing and Retrieving Directories with the PushD and PopD Commands
- 9.15. Removing a Directory with the RD and RmDir Commands
- 9.16. Managing Removable Storage with the RSM Utility
- 9.17. Associating a Folder to a Drive with the Subst Utility
- 9.18. Displaying a Directory Structure with the Tree Utility
- 9.19. Managing the Volume Shadow Service with the VSSAdmin Utility
- 9.20. Managing Windows in a New Way
-
10. Managing the Network
- 10.1. Getting the Media Access Control Information with the GetMAC Utility
-
10.2. Managing the Network with the Net Utility
- 10.2.1. ACCOUNTS
- 10.2.2. COMPUTER
- 10.2.3. CONFIG
- 10.2.4. CONFIG SERVER
- 10.2.5. CONTINUE
- 10.2.6. FILE
- 10.2.7. GROUP
- 10.2.8. HELP
- 10.2.9. HELPMSG
- 10.2.10. LOCALGROUP
- 10.2.11. NAME
- 10.2.12. PAUSE
- 10.2.13. PRINT
- 10.2.14. SEND
- 10.2.15. SESSION
- 10.2.16. SHARE
- 10.2.17. START
- 10.2.18. STATISTICS
- 10.2.19. STOP
- 10.2.20. TIME
- 10.2.21. USE
- 10.2.22. USER
- 10.2.23. VIEW
- 10.3. Managing Windows in a New Way
-
11. Working with TCP/IP
- 11.1. Managing the Address Resolution Protocol with the ARP Utility
- 11.2. Discovering User Information with the Finger Utility
- 11.3. Getting the Local Hostname with the Hostname Utility
- 11.4. Managing the Internet Protocol with the IPConfig Utility
- 11.5. Obtaining Multicast Router Information with the MRInfo Utility
- 11.6. Getting NetBIOS over TCP/IP Status with the NBTStat Utility
- 11.7. Performing Network Diagnostics with the NetDiag Utility
- 11.8. Getting Network Statistics with the NetStat Utility
- 11.9. Tracking Servers with the NSLookup Utility
- 11.10. Tracing Transmission Paths with the PathPing Utility
- 11.11. Checking Connections with the PING Utility
- 11.12. Manipulating the Network Routing Tables with the Route Utility
- 11.13. Checking Connections using RPC with the RPCPing Utility
- 11.14. Managing Files with the TFTP Utility
- 11.15. Tracking the Network Path with the TraceRt Utility
- 11.16. Managing Windows in a New Way
-
12. Managing Other Hardware
- 12.1. Working with Line Printers
- 12.2. Determining Memory Status with the Mem Utility
- 12.3. Obtaining General System Information with the MSInfo32 Utility
- 12.4. Performing a Formatted Printout with Notepad
- 12.5. Managing Power Settings with the PowerCfg Utility
- 12.6. Performing Unattended Driver Installation with the PnPUnattend Utility
- 12.7. Managing PnP Setups Using the PnPUtil Utility
- 12.8. Printing Data Files with the Print Utility
- 12.9. Managing the System Time with the W32Tm Utility
- 12.10. Managing Windows in a New Way
-
9. Managing the Hard Drive
-
4. Working with the Software
-
13. Managing Applications
- 13.1. Obtaining Driver Information with the DriverQuery Command
- 13.2. Installing Applications with the MSIExec Utility
- 13.3. Accessing the Windows Package Manager with the PkgMgr Utility
- 13.4. Adding and Removing Applications with the OCSetup Utility
- 13.5. Verifying Application and Role Status Using the OCList Utility
- 13.6. Adding and Removing Servers with the RegSvr32 Utility
- 13.7. Managing Compatibility Databases with SDBInst
- 13.8. Configuring Windows Error Reporting with ServerWEROptin
- 13.9. Managing Windows in a New Way
-
14. Working with Data
- 14.1. Comparing Two Files with the Comp Utility
- 14.2. Copying Files with the Copy Command
- 14.3. Removing Files with the Del and Erase Commands
- 14.4. Compressing Files with the Diantz and MakeCab Utilities
- 14.5. Modifying Files with the Edlin Utility
- 14.6. Repairing System Databases with the ESEnTUtl Utility
- 14.7. Decompressing Files with the Expand Utility
- 14.8. Performing Advanced File Comparison with the FC Utility
- 14.9. Moving Files and Renaming Files and Directories with the Move Command
- 14.10. Recovering Lost Files with the Recover Utility
- 14.11. Renaming a File with the Ren and Rename Commands
- 14.12. Performing Robust File Transfers with the RoboCopy Command
- 14.13. Replacing Existing Files with the Replace Utility
- 14.14. Sorting File Content with the Sort Utility
- 14.15. Taking Ownership of Files with the TakeOwn Utility
- 14.16. Outputting Data Files with the Type Command
- 14.17. Validating File Operations with the Verify Command
- 14.18. Performing Backups with the WBAdmin Utility
- 14.19. Performing Bulk File Transfers with the XCopy Utility
- 14.20. Working with File Associations and Types
- 14.21. Working with ODBC Data Sources
- 14.22. Managing Windows in a New Way
-
15. Managing Files and Directories
- 15.1. Changing File and Directory Attributes with the Attrib Utility
- 15.2. Determining File and Directory Status with the ChkDsk Utility
- 15.3. Performing Boot Time Disk Checks with the ChkNTFS Utility
- 15.4. Encrypting Data with the Cipher Utility
- 15.5. Compressing Data with the Compact Utility
- 15.6. Finding Files and Directories with the Dir Command
- 15.7. Locating Information in Files with the Find and FindStr Utilities
- 15.8. Changing File and Directory Access with the ICACLS Command
- 15.9. Detecting Shared Open Files with the OpenFiles Command
- 15.10. Finding Files and Directories with the Where Utility
- 15.11. Managing Windows in a New Way
- 16. Configuring the System Setup
-
17. Creating System Connections
- 17.1. Remote System Management
- 17.2. Managing FTP Servers with the FTP Utility
-
17.3. Working with Terminal Server
- 17.3.1. Locating Terminal Servers with the QAppSrv Utility
- 17.3.2. Obtaining Processes with the QProcess Utility
- 17.3.3. Getting Session Information with the QWinSta Utility
- 17.3.4. Terminating a Session with the Reset Utility
- 17.3.5. Resetting the Hardware and Software with the RWinSta Utility
- 17.3.6. Monitoring Other Sessions with the Shadow Utility
- 17.3.7. Attaching a User Session with the TSCon Utility
- 17.3.8. Disconnecting an Active Session with the TSDiscon Utility
- 17.3.9. Ending Processes with the TSKill Utility
- 17.3.10. Shutting Down Terminal Server with the TSShutDn Utility
- 17.4. Working with Remote Access Server
- 17.5. Communicating with Telnet
- 17.6. Managing Windows in a New Way
-
18. Monitoring System Events and Performance
- 18.1. Recording System Status Information
-
18.2. Working with Performance Information
- 18.2.1. Adding Performance Counters with the LodCtr Utility
- 18.2.2. Managing Performance Logs and Alerts with the LogMan Utility
- 18.2.3. Viewing the Results of Changes with the PerfMon Utility
- 18.2.4. Reconfiguring Performance Logs with the ReLog Utility
- 18.2.5. Tracking Performance with the TypePerf Utility
- 18.2.6. Removing Performance Counters with the UnlodCtr Utility
- 18.3. Managing Windows in a New Way
-
19. Configuring Directory Services
- 19.1. Managing Directory Services Using the WMIC NTDomain Alias
- 19.2. Creating New Objects Using the DSAdd Utility
- 19.3. Listing Objects Using the DSGet Utility
- 19.4. Editing Existing Objects Using the DSMod Utility
- 19.5. Moving Existing Objects Using the DSMove Utility
- 19.6. Managing Active Directory with the DSQuery Utility
- 19.7. Deleting Objects Using the DSRm Utility
- 19.8. Managing the Active Directory Database with the NTDSUtil Utility
- 19.9. Working with Users, Groups, and Computers
- 19.10. Managing Windows in a New Way
-
13. Managing Applications
-
5. Working with the User
-
20. Managing System Users
- 20.1. Auditing User Access with the AuditPol Utility
- 20.2. Configuring Profiles with the CMStP Utility
- 20.3. Obtaining Group Policy Results with the GPResult Command
- 20.4. Managing Group Policies with the GPUpdate Utility
- 20.5. Obtaining Session Status Information with the Query Utility
- 20.6. Obtaining User Login Information with the QUser Utility
- 20.7. Discovering User Identity with the WhoAmI Utility
- 20.8. Managing Windows in a New Way
- 21. Securing the System
-
20. Managing System Users
-
6. Helpful Third-Party Utilities
- 22. Obtaining Command Prompt Enhancers
-
23. Increasing Productivity at the Command Line
- 23.1. Obtaining Additional Information with ToggIt Command Line Helper
- 23.2. Using Quick Shutdown to End a Session Fast
- 23.3. Creating a Friendlier Interface with PromptPal
- 23.4. Getting a More Functional Command Line with WinOne
- 23.5. Automating Email Using sendEmail
- 23.6. Viewing XML Files Using XML Notepad 2007
- 23.7. Managing Windows in a New Way
- 7. Working with IIS 7
- A. 52 Indispensable Command Line Tricks and Techniques
- B. Alphabetical Command List
- C. Topical Command List
- D. Listing of Best Practices
- Glossary
Product information
- Title: Administering: Windows Server® 2008 Server Core
- Author(s):
- Release date: January 2008
- Publisher(s): Sybex
- ISBN: 9780470238400
You might also like
book
Windows Server 2008 Portable Command Guide: MCTS 70-640, 70-642, 70-643, and MCITP 70-646, 70-647
All essential Windows Server 2008 and R2 MCTS 70-640, 70-642 and 70-643, and MCITP 70-646 and …
book
Windows Server® 2008 Server Core Administrator's Pocket Consultant
Visit the catalog page for Windows Server® 2008 Server Core Administrator's Pocket ConsultantVisit the errata page …
book
MCTS 70-643 Exam Cram: Windows Server 2008 Applications Infrastructure, Configuring
MCTS Exam Cram Windows Server 2008 Applications Infrastructure, Configuring Exam 70-643 Patrick Regan Covers the critical …
book
Windows 7 Portable Command Guide: MCTS 70-680, and MCITP 70-685 and 70-686
With hundreds of Windows 7 OS commands, options, and command arguments to remember, a MCTS 70-680, …