Book description
One of the secrets to the ever-increasing popularity of Windows Server can be found in the simplicity its administration. The easy-to-use GUI, consistent set of tools, and wizards that walk you through complex tasks allow you to install, configure and maintain Windows servers without any knowledge of programming or scripting languages or learning complicated command-line syntax. It's possible, in fact, to accomplish about 90% of all Windows administration without ever opening a command prompt or running a script! But what about the other ten percent of the time? While it's true that most common, day-to-day tasks of Windows administration can be performed from the GUI, it's not always the best way, especially with complex or repetitive tasks Scripts and command-line tools often provide a faster, more flexible approach. Windows Server Hacks reveals techniques that go well beyond basic management tasks found in most handbooks to help busy system administrators master the more powerful features of Windows Server. Windows Server Hacks focuses on scripts and other tools that will make your life as an administrator much easier. These tools, or hacks--quick and dirty solutions to problems, or clever ways of doing things--were created by other professionals who've also had to struggle to find solutions to administering Windows environments. You'll save valuable time using their scripts, tools, tips, and advice. Plus, you can easily learn to customize the scripts to create even more powerful tools for your own, specific needs. The book includes secrets of the masters in such areas as Active Directory, User Management, Group Policy, DNS and DHCP, File and Print, IIS, performance and security. The hundred, industrial strength hacks in the book range from those that deal with general administration to more esoteric hacks in the areas of network deployment, patch management, and backup and recovery. No matter which Windows server you use--NT, IIS, 2000, or 2003--this book will put the knowledge and expertise of veteran system administrators and hackers to work for you. Windows Server Hacks will make your life easier while expanding your understanding of the capabilities of Windows Server.
Publisher resources
Table of contents
- A Note Regarding Supplemental Files
- Credits
- Foreword: I’m a Sci-Fi freak
- Preface
-
1. General Administration
- Hacks #1-16
- Use Run As to Perform Administrative Tasks
- Drag and Drop to the Run Menu
- Find and Replace Registry Keys from a Command Line
- Automatically Log On After Booting
- Wait for and Optionally Terminate a Process
- Shut Down a Remote Computer
- Rename Mapped Drives
- Execute a Command on Each Computer in a Domain
- Add, Remove, or Retrieve Environment Variables
- Extend Group Policy
- Disable EFS
- Get Event Log Information
- Shortcut to Remote Assistance
- Desktop Checker
- Top Five Tools
- myITforum.com
-
2. Active Directory
- Hacks #17-24
- Retrieve the List of Old Domain Computer Accounts
- Automate Creation of OU Structure
- Modify All Objects in the OU
- Delegate Control of an OU to a User
- Send OU Information in Active Directory to an HTML Page
- Display Active Directory Information
- Store and Display Contact Information in Active Directory
- Restore the Active Directory Icon in Windows XP
-
3. User Management
- Hacks #25-35
- Search for Domain Users
- Manage User Accounts in Active Directory
- Get a List of Disabled Accounts
- Get User Account Information
- Check for Passwords that Never Expire
- Enumerate Group Membership to a CSV File
- Modify User Properties for All Users in a Particular OU
- Check Group Membership and Map Drives in a Logon Script
- Script Creation of a User’s Home Directory and Permissions
- Prevent Ordinary Users from Creating Local Accounts
- Put a Logoff Icon on the Desktop
-
4. Networking Services
- Hacks #36-47
- Manage Services on Remote Machines
- Simplify DNS Aging and Scavenging
- Troubleshoot DNS
- Manually Recreate a Damaged WINS Database
- Change WINS for All Enabled Adapters
- Ensure DHCP Server Availability
- Change a Network Adapter’s IP Info
- Change from Static IP to DHCP
- Release and Renew IP Addresses
- Use netsh to Change Configuration Settings
- Remove Orphaned Network Cards
- Implement Windows 2000 Network Load Balancing
-
5. File and Print
- Hacks #48-53
- Map Network Drives
- Determine Who Has A Particular File Open on the Network
- Display a Directory Tree
- Automate Printer Management
- Set the Default Printer Based on Location
-
Add Printers Based on Name of Computer
-
The Code
- Perform initial tasks
- Determining workstation settings
- Adding mappings based on group membership
- Setting the IE home page and final message
- Connecting to a shared network printer
- Mapping a drive to a shared folder
- Gathering local group memberships
- Gathering global group memberships
- Determining if user belongs to a specified group
- Gathering basic information about the local system
- Determining if the script is running in a terminal server session
- Setting up IE for use as a status message window
- Using IE as a status message window
- Running the Hack
-
The Code
- 6. IIS
- 7. Deployment
-
8. Security
- Hacks #69-78
- Fundamentals of a Virus-Free Network
- Antivirus FAQ
- Rename the Administrator and Guest Accounts
- Get a List of Local Administrators
- Find All Computers that Are Running a Service
- Grant Administrative Access to a Domain Controller
- Secure Backups
- Find Computers with Automatic logon Enabled
- Security FAQ
- Microsoft Security Tools
-
9. Patch Management
- Hacks #79-89
- Best Practices for Patch Management
- Beginners Guide to Enterprise Patch Management
- Patch-Management FAQ
- Enumerate Installed Hotfixes
- Apply Patches in the Correct Order
- Windows Update FAQ
- Obtain Updates via the Windows Update Catalog
- Use Automatic Updates Effectively
- Use Group Policy to Configure Automatic Updates
- Automatic Updates FAQ
-
Software Update Services FAQ
- Operating System Support
- Active Directory Support
- Separating Workstations and Servers
- Control Panel Icon
- Approving Updates After First Synchronization
- Downloading and Testing Updates
- Order of Updates
- Detecting Connection
- Knowing When the Server Is Synching
- Cleaning the Updates Directory
- Modifying SUS IIS Rights
- Analyzing the SUS Log Files
- TimeExpire
- SUS and Name-Resolution Issues
- SUS Feedback
-
10. Backup and Recovery
- Hacks #90-100
- Collect Disaster Recovery Files
- Back Up Individual Files from the Command Line
- Back Up System State on Remote Machines
- Back Up and Restore a Certificate Authority
- Back Up EFS
- Work with Shadow Copies
- Back Up and Clear the Event Logs
- Back Up the DFS Namespace
- Recover with Automated System Recovery
- Recovery Roadmap
- Data Recovery of Last Resort
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: Windows Server Hacks
- Author(s):
- Release date: March 2004
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596006471
You might also like
book
Windows Server 2003 Network Administration
This book is the Windows Server version of the classic TCP/IP Network Administration. Like the book …
book
Windows NT TCP/IP Network Administration
Windows NT TCP/IP Network Administration is a complete guide to setting up and running a TCP/IP …
book
Windows Server 2008 Active Directory Domain Services
This guide is intended to assist designers in the decision-making process by providing a clear and …
book
Windows Server Cookbook
This practical reference guide offers hundreds of useful tasks for managing Windows 2000 and Windows Server …