Your guidebook to Windows® Server 2022
It takes a lot of technology know-how to become a network administrator. It never hurts to have a little help when questions come up and you don't have the answers memorized. This book serves as your handy assistant for getting your Windows® Server 2022 network running and keeping it humming along. Peek inside for help in installing, configuring, securing, and operating a Windows network. It's an ideal reference for those new to Windows Server, as well as old pros looking for a little help.
8 Books In 1...
Sara Perrott is a senior cybersecurity risk manager in the financial services industry and an instructor at Bellevue College. She is the author of Windows Server 2019 & PowerShell All-in-One For Dummies and coauthor of multiple study guides for the AWS Certified SysOps Administrator exam.
Introduction 1
About This Book 1
Foolish Assumptions 2
Icons Used in This Book 2
Beyond the Book 3
Where to Go from Here 3
Book 1: Installing and Setting Up Windows Server 2022 5
Chapter 1: An Overview of Windows Server 2022 7
Extra! Extra! Read All About It! Seeing What's New in Windows Server 2022 8
Deciding Which Windows Server 2022 Edition Is Right for You 9
Walking the Walk: Windows Server 2022 User Experiences 10
Seeing What Server Manager Has to Offer 13
Windows Admin Center: Your New Best Friend 15
Extending and Improving Your Datacenter 18
Chapter 2: Using Boot Diagnostics 19
Accessing Boot Diagnostics 19
Using Advanced Boot Options 22
Performing a Memory Test 28
Using the Command Prompt 30
Working with Third-Party Boot Utilities 31
Chapter 3: Performing the Basic Installation 33
Making Sure You Have What It Takes 34
Performing a Clean Install 38
Upgrading Windows 41
Performing a Network Install with Windows Deployment Services 43
Chapter 4: Performing Initial Configuration Tasks 45
Understanding Default Settings 46
Getting an Overview of the Configuration Process 47
Providing Computer Information 48
Updating Windows Server 2022 58
Customizing Windows Server 2022 62
Configuring Startup Options with BCDEdit 69
Book 2: Configuring Windows Server 2022 73
Chapter 1: Configuring Server Roles and Features 75
Using Server Manager 75
Understanding Server Roles 80
Understanding Server Features 87
Chapter 2: Configuring Server Hardware 103
Working with Device Manager 104
Using the Add Hardware Wizard 113
Performing Hard-Drive-Related Tasks 114
Performing Printer-Related Tasks 133
Performing Other Configuration Tasks 140
Chapter 3: Using the Settings Menu 145
Accessing the Settings Menu 145
Understanding Settings Menu Items 146
Chapter 4: Working with Workgroups 155
Knowing What a Workgroup Is 156
Knowing If a Workgroup Is Right for You 156
Comparing Centralized and Group Sharing 157
Configuring a Server for a Workgroup 157
Managing Workgroups 166
Examining the Peer Name Resolution Protocol 169
Chapter 5: Promoting Your Server to Domain Controller 171
Understanding Domains 172
Preparing to Create a Domain 175
Performing Domain Configuration Prerequisites 178
Configuring the Server as a Domain Controller 186
Wrapping Things Up 200
Chapter 6: Managing DNS and DHCP with IP Address Management 203
Installing IP Address Management 204
Configuring IP Address Management 205
Using IP Address Management 209
Book 3: Administering Windows Server 2022 217
Chapter 1: An Overview of the Tools Menu in Server Manager 219
Accessing the Server Manager Tools Menu 219
Working with Common Administrative Tools 222
Installing and Using Remote Server Administration Tools 229
Chapter 2: Setting Group Policy 233
Understanding How Group Policy Works 234
Starting the Group Policy Editor 235
Performing Computer Management 237
Performing User Configuration 241
Viewing Resultant Set of Policy 244
Chapter 3: Configuring the Registry 247
Starting Registry Editor 248
Importing and Exporting Registry Elements 248
Finding Registry Elements 250
Understanding Registry Data Types 251
Understanding the Hives 252
Loading and Unloading Hives 256
Connecting to Network Registries 257
Setting Registry Security 259
Chapter 4: Working with Active Directory 263
Active Directory 101 263
Configuring Objects in Active Directory 264
Chapter 5: Performing Standard Maintenance 279
Activating Windows 279
Configuring the User Interface 282
Understanding How User Access Control Affects Maintenance Tasks 290
Adding and Removing Standard Applications 291
Measuring Reliability and Performance 292
Protecting the Data on Your Server 296
Performing Disk Management Tasks 300
Automating Diagnostic Tasks with Task Scheduler 302
Working with Remote Desktop 306
Working with Remote Server Administration Tools 308
Working with Admin Center 310
Creating a Windows Recovery Drive 312
Chapter 6: Working at the Command Line 313
Opening an Administrative Command Prompt 313
Configuring the Command Line 314
Setting Environmental Variables 320
Getting Help at the Command Line 321
Understanding Command Line Symbols 323
Chapter 7: Working with PowerShell 325
Opening an Administrative PowerShell Window 326
Configuring PowerShell 327
Customizing PowerShell a Little Further 332
Using a Profile Script 333
Setting Environmental Variables 334
Getting Help in PowerShell 336
Understanding PowerShell Punctuation 337
Book 4: Configuring Networking in Windows Server 2022 339
Chapter 1: Overview of Windows Server 2022 Networking 341
Getting Acquainted with the Network and Sharing Center 342
Using the Network Connections Tools 344
Configuring TCP/IP 348
Understanding DHCP 351
Defining DNS 352
Chapter 2: Performing Basic Network Tasks 359
Viewing Network Properties 359
Connecting to Another Network 361
Managing Network Connections 365
Chapter 3: Accomplishing Advanced Network Tasks 371
Working with Remote Desktop Services 371
Working with Network Policy and Access Services 382
Troubleshooting at the Command Line 386
Chapter 4: Diagnosing and Repairing Network Connection Problems 389
Using Windows Network Diagnostics 390
Repairing Individual Connections 392
Network Troubleshooting at the Command Line 393
Working with Windows Firewall 395
Making Sense of Common Configuration Errors 397
Working with Other Troubleshooting Tools 398
Book 5: Managing Security with Windows Server 2022 401
Chapter 1: Understanding Windows Server 2022 Security 403
Understanding Basic Windows Server Security 403
Working with Files and Folders 409
Creating a Local Security Policy 413
Paying Attention to Windows Security 414
Chapter 2: Configuring Shared Resources 419
Comparing Share Security with File System Security 420
Sharing Resources 424
Configuring Access with Federated Rights Management 426
Working with Active Directory Rights Management Services 431
Chapter 3: Configuring Operating System Security 439
Understanding and Using User Account Control 439
Managing User Passwords 445
Understanding Credential Guard 446
Configuring Startup and Recovery Options 450
Hardening Your Server 452
Chapter 4: Working with the Internet 457
Firewall Basics 457
Configuring Windows Defender Firewall with Advanced Security 461
Chapter 5: Understanding Digital Certificates 471
Certificates in Windows Server 2022 472
Types of Certificates in Active Directory Certificate Services 475
Chapter 6: Installing and Configuring AD CS 479
Introducing Certificate Authority Architecture 480
Installing a Certificate Authority 481
Configuring Certificate Auto-Enrollment 496
Chapter 7: Securing Your DNS Infrastructure 499
Understanding DNSSEC 499
Understanding DANE 505
Protecting DNS Traffic with DNS-over-HTTPS 509
Book 6: Working with Windows Powershell 513
Chapter 1: Introducing PowerShell 515
Understanding the Basics of PowerShell 515
Using PowerShell 521
Running PowerShell Remotely 538
Getting Help in PowerShell 540
Identifying Security Issues with PowerShell 541
Chapter 2: Understanding the .NET Framework 547
Introducing the Various Versions of .NET Framework 547
Focusing on New Features in .NET 4.8 550
Viewing the Global Assembly Cache 551
Understanding .NET Standard and .NET Core 553
Chapter 3: Working with Scripts and Cmdlets 555
Introducing Common Scripts and Cmdlets 555
Executing Scripts or Cmdlets 557
Working from Another Location 559
Performing Simple Administrative Tasks with PowerShell Scripts 560
Chapter 4: Creating Your Own Scripts and Advanced Functions 565
Creating a PowerShell Script 566
Defining a Script Policy 572
Signing a PowerShell Script 573
Creating a PowerShell Advanced Function 573
Chapter 5: PowerShell Desired State Configuration 581
Getting an Overview of PowerShell Desired State Configuration 582
Creating a PowerShell Desired State Configuration Script 586
Applying the PowerShell Desired State Configuration Script 588
Push and Pull: Using PowerShell Desired State Configuration at Scale 590
Book 7: Installing and Administering Hyper-V 593
Chapter 1: What Is Hyper-V? 595
Introduction to Virtualization 595
Type 1 and Type 2 Hypervisors 596
Installing and Configuring Hyper-V 597
Chapter 2: Virtual Machines 607
Creating a Virtual Machine 607
Configuring a Virtual Machine 611
Shielded Virtual Machines 618
Chapter 3: Virtual Networking 619
Identifying the Types of Virtual Switches 620
Creating a Virtual Switch 621
Getting into Advanced Hyper-V Networking 625
Chapter 4: Virtual Storage 637
Understanding Virtual Disk Formats 637
Considering Types of Disks 638
Adding Storage to the Host 639
Adding Storage to the Virtual Machine 643
Chapter 5: High Availability in Hyper-V 651
Hyper-V Replica 651
Live Migration 656
Storage Migration 660
Failover Clustering 661
Book 8: Installing, Configuring, and Using Containers 667
Chapter 1: Introduction to Containers in Windows Server 2022 669
Understanding Containers 670
Considering Use Cases for Containers 672
Deciding What Type of Containers You Want to Use 673
Managing Containers at Scale 674
Chapter 2: Docker and Docker Hub 675
Introduction to Docker 675
Introduction to Docker Hub 677
Chapter 3: Installing Containers on Windows Server 2022 685
Installing Windows Containers 686
Installing Hyper-V Containers 687
Installing Docker 688
Testing Your Container Installation 689
Chapter 4: Configuring Docker and Containers on Windows Server 2022 695
Working with Dockerfile 695
Applying Custom Metadata to Containers and Other Objects 698
Configuring Containers 700
Configuring the Docker Daemon with daemon.json 702
Chapter 5: Managing Container Images 705
Making Changes to Images and Saving the Changes You Make 705
Pushing Images to Docker Hub 709
Pulling Images from Docker Hub 711
Handling Image Versioning 713
Chapter 6: Container Networking 715
Considering the Different Types of Network Connections 716
Viewing Your Network Adapters and Virtual Switches 717
Configuring a Network Address Translation Network Connection 718
Configuring a Transparent Network Connection 719
Configuring an Overlay Network Connection 720
Configuring an l2bridge Network Connection 721
Configuring an l2tunnel Network Connection 722
Removing a Network Connection 723
Connecting to a Network 723
Chapter 7: Container Storage 725
Getting Acquainted with Container Storage 725
Creating a Volume Inside of a Container 726
Working with Persistent Volumes 729
Index 733