Table of Contents

Acknowledgments xiii

Foreword xv

Introduction xvii

Who Is This Book For? xvii

How This Book Is Organized xviii

Conventions Used in This Book xviii

Other Server Core Resources xix

Contact the Author xix

Support xx

1 Examining Server Core 1

What Is Server Core? 1

Full vs. Server Core 3

The Server Core GUI 3

Supported Server Roles 6

Supported Optional Features 7

Server Core Architecture 9

Driver Support 10

Service Footprint 11

Why Is Server Core Useful? 14

Benefits of Server Core 14

Possible Usage Scenarios 15

Non-Usage Scenarios 16

2 Deploying Server Core 17

Planning for Installation 17

System Requirements 17

Upgrade Constraints 18

Manually Installing Server Core 18

Performing a Manual Install from DVD 18

Performing a Manual Install over the Network 20

Deploying Server Core Using the Windows AIK 21

Types of Unattended Installs 21

Installing the Windows AIK 22

Creating a Basic Answer File for Unattended Installs 23

Performing an Unattended Install from a DVD 31

Performing an Install from a Configuration Set 32

Performing an Install from Image 37

Deploying Server Core Using Windows Deployment Services 40

Deploying Server Core Using Microsoft Deployment 44

3 Initial Configuration 47

Methods for Performing Initial Configuration 47

Setting the Local Administrator Password 47

Managing Local Users and Groups 49

Changing the Computer Name 51

Configuring TCP/IP Networking Settings 53

Configuring Date and Time Settings 58

Configuring Regional and Language Settings 59

Configuring Automatic Updates 60

Configuring Windows Error Reporting 62

Participating in the Customer Experience Improvement Program 64

Activating Windows 65

Enabling Remote Desktop 67

Enabling Remote Administration of Windows Firewall 69

Joining a Domain 71

Other Initial Configuration Tasks 72

4 Installing Roles and Features 77

Understanding Roles and Features 77

Tools for Installing Roles and Features 78

Understanding Packages 79

Understanding Package Names 80

Understanding Package Dependencies 82

Enumerating Installed Roles and Features 83

Enumerating Installed Roles and Features Using Oclist 84

Using Find to Simplify the Output of Oclist 84

Enumerating Installed Roles and Features Using WMI 85

Installing and Uninstalling Roles and Features Using Ocsetup 86

Installing a Role or Feature Using Ocsetup 86

Installing the DHCP Server Role 86

Verifying Installation of the Role 86

Uninstalling the DHCP Server Role 86

Installing the Web Server (IIS) Role 87

Adding HTTP Logging to the Web Server (IIS) Role 87

Installing Roles and Features That Have Dependencies 87

Removing Roles and Features That Have Dependencies 88

Installing Multiple Roles and Features Using Ocsetup with an Answer File 88

Unattended Installation of Roles and Features 89

Sysprep Support for Server Roles 92

Permanently Removing Unneeded Roles and Features 93

5 Local Management 95

Using the Command Prompt 95

Starting the Command Prompt 95

Customizing the Command Prompt 100

Running Multiple Commands 103

Command Redirection 103

Working with Environment Variables 104

Commands for Common Tasks 107

Using Scripts 110

WMI Support in Server Core 111

Using WMIC 116

6 Remote Management 117

Using Remote Desktop 117

Enabling Remote Desktop Using Scregedit.wsf 117

Enabling Remote Desktop Using an Answer File 118

Using Scregedit.wsf to Require Network Level Authentication for Remote Desktop 119

Using an Answer File to Require Network Level Authentication for Remote Desktop 119

Using Remote Desktop to Administer Server Core 120

Using TS Remote App for Publishing Cmd to Administer Server Core 122

Managing Terminal Services on Server Core 124

Using WinRS 125

Configuring WinRM on Server Core 125

Using WinRS to Administer Server Core in a Domain 126

Using WinRS to Administer Server Core in a Workgroup 126

Requirements for Using WinRS 127

Configuring WinRM and WinRS Using Group Policy 128

Using MMC Snap-ins and RSAT 128

Using MMC Consoles to Administer Server Core in a Domain 128

Using MMC Snap-ins to Administer Server Core in a Workgroup 132

Using RSAT to Administer Server Core in a Domain 133

Installing RSAT on a Full Installation of Windows Server 2008 134

Installing RSAT on Windows Vista SP1 134

Using RSAT to Administer Server Core Remotely in a Domain 135

Using RSAT to Administer Server Core Remotely in a Workgroup 136

Using Other GUI Tools 136

Using Windows Explorer Remotely 137

Using Task Scheduler Remotely 137

Using Registry Editor Remotely 138

Using Group Policy 138

Group Policy Tools on Server Core 138

Using WMI Filters to Administer Server Core with Group Policy 138

Managing Local Group Policy on Server Core 140

Using Windows PowerShell 141

7 Active Directory Domain Services Role 143

Installing AD DS on Server Core 143

Creating a New Forest Using Unattended Dcpromo 144

Creating a New Domain Tree Using Unattended Dcpromo 158

Creating a New Child Domain Using Unattended Dcpromo 159

Installing a Replica Domain Controller into an Existing Domain Using Unattended Dcpromo 160

Removing a Domain Controller Using Unattended Dcpromo 165

Preparing an Existing Active Directory Environment for Windows Server 2008 Domain Controllers 169

Managing Server Core Domain Controllers 172

Managing Server Core Domain Controllers Using MMC Consoles 172

Managing Server Core Domain Controllers Using Command-Line Utilities 174

Performing Common Active Directory Management Tasks 175

Working with Server Core Read-Only Domain Controllers 182

Additional Limitations of RODCs 183

Preparing a Forest for RODCs 184

Installing an RODC on Server Core 185

Configuring the Password Replication Policy for an RODC 186

8 DHCP Server Role 189

Installing the DHCP Server Role on Server Core 189

Installing the DHCP Server Role from the Command Prompt 189

Installing the DHCP Server Role Using an Answer File 189

Starting the DHCP Server Service 190

Removing the DHCP Server Role 191

Managing a Server Core DHCP Server 192

Managing DHCP Servers 192

Viewing and Modifying DHCP Server Configuration 197

Creating and Managing Scopes 199

Maintaining DHCP Servers 207

9 DNS Server Role 213

Installing the DNS Server Role on Server Core 213

Installing the DNS Server Role on a Domain Controller 213

Installing the DNS Server Role from the Command Prompt 216

Installing the DNS Server Role Using an Answer File 217

Removing the DNS Server Role 218

Managing a Server Core DNS Server 218

Managing DNS Servers 218

Configuring DNS Servers 220

Creating and Managing Zones 222

Creating and Managing Resource Records 227

Performing Other DNS Management Tasks 234

Maintaining DNS Servers 240

10 File and Print Services Roles 245

Installing and Managing the File Services Role on Server Core 245

Installing File Services Role Services from the Command Line 245

Installing File Services Role Services Using an Answer File 246

Managing Disks and File Systems 247

Managing Shared Folders 266

Implementing DFS 272

Installing and Managing the Print Services Role on Server Core 282

Managing Server Core Print Servers Using Print Management 282

Managing Server Core Print Servers from the Command Line 284

11 Web Server Role 295

Understanding the Web Server Role 295

Understanding IIS 7.0 Components and Their Dependencies 295

Understanding the Limitations of IIS 7.0 on Server Core 303

Installing the Web Server Role 303

Installing a Default Web Server 304

Installing a Classic ASP Web Server 305

Installing All IIS 7.0 Components 306

Installing PHP on Server Core 306

Installing the Web Server Role Using an Answer File 307

Managing the Web Server Role 308

Using Appcmd.exe 308

Common Management Tasks 310

12 Hyper-V and Other Roles 321

Installing and Managing the Hyper-V Role on Server Core 321

Hyper-V Terminology 321

Installing the Hyper-V Role 324

Managing the Hyper-V Role 327

Installing and Managing the AD LDS Role on Server Core 348

Installing the AD LDS Role 349

Managing the AD LDS Role 349

Installing and Managing the Streaming Media Services Role on Server Core 353

Installing the Streaming Media Services Role 353

Managing the Streaming Media Services Role 354

13 Maintaining Server Core 357

Managing Services 357

Managing Services from the Command Line 357

Managing Services Using the Services Snap-in 363

Managing Devices and Device Drivers 364

Managing Devices from the Command Line 364

Managing Devices Using the Device Manager Snap-in 369

Managing Processes 371

Displaying Processes and Process Details 372

Stopping a Process 374

Starting a Process 376

Managing Scheduled Tasks 376

Managing Scheduled Tasks from the Command Line 376

Managing Scheduled Tasks Using the Task Scheduler Snap-in 380

Event Logging 382

Viewing Events from the Command Line 383

Viewing Events Using Event Viewer 390

Configuring Event Subscriptions 391

Performance Monitoring 397

Collecting and Analyzing Performance Data Using the Reliability and Performance Monitor 397

Collecting and Analyzing Performance Data from the Command Line 398

Backup and Recovery 403

Installing the Windows Server Backup Feature 404

Performing Backup and Recovery Using the Windows Server Backup Snap-in 405

Performing Backup and Recovery from the Command Line 410

Installing Software Updates 416

Installing Updates Manually 417

Viewing Installed Updates 418

Uninstalling Updates 419

Installing Applications 421

Supported Types of Applications 421

Installing and Uninstalling Applications 422

Index 425

 

 

© Microsoft. All Rights Reserved.