Reader small image

You're reading from  Mastering Windows Server 2022 - Fourth Edition

Product typeBook
Published inMay 2023
PublisherPackt
ISBN-139781837634507
Edition4th Edition
Right arrow
Author (1)
Jordan Krause
Jordan Krause
author image
Jordan Krause

Jordan Krause has been an IT professional for more than 20 years and has received 9 Microsoft MVP awards for his work with Microsoft server and networking technologies. One of the world's first experts on Microsoft DirectAccess, he has a passion for helping companies find the best ways to enable a remote workforce. Committed to continuous learning, Jordan holds certifications as an MCSE, MCSA, and MCITP Enterprise Administrator, and has authored numerous books on Microsoft technologies. Jordan lives in beautiful West Michigan (USA), but works daily with companies around the world.
Read more about Jordan Krause

Right arrow

Preface

The world of servers has always been an interesting place. For more than 20 years, Microsoft has been separated from the pack and has distinguished itself as the leader of serving power in corporate datacenters across the globe. Indeed, there is not much for competition in the server operating system space. During my career I have had the privilege of working within the walls of many hundreds of different networks and environments, and without a single exception they have all been in some way powered by Windows Server. You may think I have blinders on; a lifer in Microsoft technology would naturally seek out work within Microsoft environments, right? But rest assured, I’m no stranger to the sudo command. I fully recognize the uses and benefits that Linux servers offer in certain circumstances, especially in web hosting. Containers bring to light another engaging topic in the Microsoft vs Linux conversation, but as you will find within the pages of this book, we are now seeing ways that these two technologies interact and coexist like they never have before, rather than try to outdo one another.

As many businesses and IT administrators shift attention to cloud resources, the Microsoft trend continues. There are many options for hosting compute resources in the cloud, and serving up data from those resources. Over the last few years, Microsoft has been taking significant steps to outpace competition and build unique ways to tie on-premise datacenters together with Azure. Technology like Azure Stack HCI, the ability to essentially host your own instance of Azure inside datacenter walls, is one of these entities that provides an incredibly unique spin on cloud technology.

Why would I dare to talk about cloud technology in a book that is clearly pointed at administering Windows Servers? Because knowledge of local Windows Server administration is still completely relevant in a cloudy world. When companies started moving resources into the cloud, I heard a lot of speakers and presentations state things like “Moving to the cloud won’t negate the need for IT staff, your people will just need different skillsets.” These speakers were clearly implying that IT would still be necessary, but they would now be administering cloud-based resources rather than on-premise infrastructure. Cloud transitions are happening every day, but what has proven surprising to some is that this transition is much less about replacing one set of skills with another, but rather maintaining all existing skillsets and tacking on new learning to handle the existence of cloud platforms.

Whether you are running Azure, AWS, or any of the other cloud hosting platforms, it is very likely that within your cloud tenant you have virtual machines that are still running some version of the Windows Server operating system. Windows Server is not magically different simply because it is now running on a VM inside Azure instead of running on a VM inside Hyper-V. It is still Windows Server, and it still needs to be administered, maintained, and troubleshot in the same ways that you have always done with your servers.

Maintaining a skillset to administer Windows Server and its roles is still essential to our IT departments, which loops us back to answering my question about Azure. Even in an infrastructure fully transitioned into the cloud, it is still very likely that you need to maintain the ability to administer Windows Server, which I believe surprised a lot of IT resource coordinators, following cloud migration projects.

A lot of fresh IT engineers are coming into the workforce prepared with some knowledge of SaaS resource administration, like Microsoft 365 and SharePoint, and this is wonderful! One of my primary motivations in writing this book is to provide a resource for new and growing admins to be successful in their careers. You may have learned through school or certification exams how to begin working in these new cloud platforms, but perhaps lack the foundational knowledge of the Microsoft technology that underpins a lot of Azure, Windows Servers. So many of the roles that exist inside Windows Server are foreign to engineers, but this is critical information to know as you continue your IT career journey and grow into more advanced positions. To pinpoint just one example, I often ask questions during interviews about DNS. It is entirely surprising to me how often answers to these questions come up short. DNS has been one of the staple roles in any Windows Server environment for as far back as I can remember, but until you have worked with it and gone through some of the learning hardships firsthand, it seems this is a common area that is somehow missed during standard IT learning.

I use DNS as an example because it’s true, but also because it is very meme-worthy. “It’s always DNS”. You may have heard some of your tenured administrators say these words, but until you experience it for yourself, may not quite appreciate their significance. The answer to so many questions lie within this one little role, incorrect configuration of DNS can cause multitudes of problems. I found the following graphic on the internet and take no credit for it, but also find it completely true, and hilarious.

A picture containing text  Description automatically generated

Technical books are supposed to be a little mundane, that is why they are called technical books. It’s the nature of the industry, I suppose. I tried to resist this stereotype wherever possible, you may even find a dad joke or two scattered throughout these pages. I genuinely hope that you find this book to be a helpful resource, and that information learned here can be directly applied to your work in Information Technology.

Who this book is for

Anyone interested in Windows Server 2022 or in learning more in general about a Microsoft-centric datacenter will benefit from this book. An important deciding factor when choosing which content was appropriate for such a volume was making sure that anyone who had a baseline in working with computers could pick this up and start making use of it within their own networks. If you are already proficient in Microsoft infrastructure technologies and have worked with prior versions of Windows Server, then there are some focused topics on the aspects and parts that are brand new and only available in Server 2022. On the other hand, if you are currently in a desktop support role, or if you are coming fresh into the IT workforce, care was taken in the pages of this book to ensure that you will receive a rounded understanding, not only of what is brand new in Server 2022, but also what core capabilities it includes as carryovers from previous versions of the operating system, and that are still crucial to be aware of when working in a Microsoft-driven datacenter.

What this book covers

Chapter 1, Getting Started with Windows Server 2022, gives us an introduction to the latest Server operating system and an overview of the new technologies and capabilities that it can provide. We will also spend a little bit of time exploring the updated interface for those who may not be comfortable with it yet.

Chapter 2, Installing and Managing Windows Server 2022, dives right into the very first thing we will have to do when working with Server 2022: install it! While this seems like a simple task, there are a number of versioning and licensing variables that need to be understood before you proceed with your own installation. From there, we will start to expand upon Microsoft’s centralized management mentality, exploring how we can now manage and interact with our servers without ever having to log into them.

Chapter 3, Active Directory, leads us into the most core and essential role that exists in a Windows Server environment. AD is the central repository for many different types of data inside most corporate infrastructures, and without understanding the tools that exist to interface with this directory you will not be able to do much work with those fancy new servers.

Chapter 4, DNS and DHCP, segues into two other important roles that exist in almost every network. DNS and DHCP are both necessary technologies and concepts to understand for any IT administrator, and both happen to be roles that can be serviced from Windows Server 2022. We’ll dig into both.

Chapter 5, Group Policy, showcases a fantastic policy engine that can be used inside any Active Directory environment to create a centralized management location for your users and workstations. Whether you are interested in setting up password policies, configuring lockdowns on your systems, automatically mapping network drives, or even distributing software, Group Policy is a powerful tool that is often underutilized.

Chapter 6, Certificates, jumps into one of the pieces of Windows Server that has existed for many years, and yet most server administrators that I meet are unfamiliar with it. We’ll take a closer look at certificates as they become more and more commonly required for new technologies that we roll out. By the end of this chapter, you should be able to spin up your own PKI and start issuing certificates for free!

Chapter 7, Networking with Windows Server 2022, begins with an introduction to that big, scary IPv6, and continues from there into building a toolbox of items that are baked into Windows Server 2022 and can be used in your daily networking tasks. We will also discuss the parts and pieces that make up Software-Defined Networking.

Chapter 8, Remote Access, takes a look at the different remote access technologies that are built into Windows Server 2022. Follow along as we explore the capabilities provided by VPN, DirectAccess, Web Application Proxy, and Always On VPN.

Chapter 9, Hardening and Security, gives some insight into security and encryption functions that are built into Windows Server 2022. Security is the primary focus of CIOs everywhere, so we’ll explore what protection mechanisms are available to us out of the box.

Chapter 10, Server Core, throws us into the shrinking world of headless servers. Server Core has flown under the radar for many years but is critical to understand as we bring our infrastructures into a more security-conscious mindset. We’ll make sure you have the information necessary to make your environment more secure and more efficient, all while lowering the amount of space and resources that are consumed by those servers.

Chapter 11, PowerShell, gets us into the newer, bluer (or black or yellow or purple, or whatever color you desire!) command-line interface so that we can become comfortable using it and also learn why it is so much more powerful than Command Prompt. PowerShell is quickly becoming an indispensable tool for administering servers, especially in cases where you are adopting a centralized management and administration mindset. We will also take a look at the latest Microsoft command-line interface, Windows Terminal.

Chapter 12, Redundancy in Windows Server 2022, looks at some platforms in Server 2022 that provide powerful data and computing redundancy. Follow along as we discuss Network Load Balancing, Failover Clustering, Storage Spaces Direct, and build our own instance of Storage Replica.

Chapter 13, Containers, incorporates the terms open source and Linux into a Microsoft book! Application containers are quickly becoming the new standard for hosting modern, scalable applications. Learn how to start enhancing your DevOps story using tools such as Windows Server containers, Hyper-V containers, Docker, and Kubernetes.

Chapter 14, Hyper-V, covers a topic that every server administrator should be very familiar with. Organizations have been moving their servers over to virtual machines en masse for many years. We’ll use this chapter to make sure you understand how that hypervisor works and give you the resources required to build and manage one if and when you have the need.

Chapter 15, Remote Desktop Services, showcases an enormous functionality set built into Windows Server 2022, indeed the administration of RDS servers is a skillset unto its own. Providing users with virtual desktop sessions on a farm (collection) of Windows Servers can literally change your entire ideology about how users access their information.

Chapter 16, Troubleshooting, provides information about tools and software included with Windows Server that can be used to troubleshoot common problems. Server 2022 seems to be Microsoft’s most stable and reliable server operating system to date, yet as you all know nothing is perfect, and issues are bound to present themselves. Here we discover tools like Resource Manager, Performance Monitor, and System Insights that help to keep our servers tuned and running well.

To get the most out of this book

Each technology that we discuss within the pages of this book is included in, or relates directly to, Windows Server 2022. If you can get your hands on a piece of server hardware and the Server 2022 installer files, you will be equipped to follow along and try these things out for yourself. We will talk about and reference some enterprise-class technologies that come with stiffer infrastructure requirements to make them work fully, and so you may have to put the actual testing of those items on hold until you are working in a more comprehensive test lab or environment, but the concepts are all still included in this book.

We will also discuss some items that are not included in Server 2022 itself, but that are used to extend its capabilities and features. Some of these items help tie us into an Azure cloud environment, and some are provided by third parties, such as using Docker and Kubernetes on your Server 2022 to interact with application containers. Ultimately, you do not need to use these tools to manage your new Windows Server 2022 environment, but they do facilitate some pretty cool things that I think you will want to explore.

As I have done with my own test lab used throughout the pages of this book, if you have one server or high-powered computer available and download the Windows Server 2022 installer to use on top of it, you can easily enable yourself the ability to create many virtual machines and different instances of Server 2022. In this case, you may want to skip ahead to certain sections of Chapter 2 and Chapter 14, so that you are equipped to install a host operating system and configure Hyper-V upon it, then loop back to the beginning of the book so you have the same platform available as I did when building out these pages and the servers I used to populate them.

Download the color images

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://packt.link/4zrrF.

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. For example: “Inside DNS, I am going to create an alias record that redirects intranet to web1.”

Any command-line input or output is written as follows:

Uninstall-WindowsFeature -Name Windows-Defender

Bold: Indicates a new term, an important word, or words that you see on the screen. For instance, words in menus or dialog boxes appear in the text like this. For example: “Select System info from the Administration panel.”

Warnings or important notes appear like this.

Tips and tricks appear like this.

Get in touch

Feedback from our readers is always welcome.

General feedback: Email feedback@packtpub.com and mention the book’s title in the subject of your message. If you have questions about any aspect of this book, please email us at questions@packtpub.com.

Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you reported this to us. Please visit http://www.packtpub.com/submit-errata, click Submit Errata, and fill in the form.

Piracy: If you come across any illegal copies of our works in any form on the internet, we would be grateful if you would provide us with the location address or website name. Please contact us at copyright@packtpub.com with a link to the material.

If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit http://authors.packtpub.com.

Share your thoughts

Once you’ve read Mastering Windows Server 2022, Fourth Edition, we’d love to hear your thoughts! Please click here to go straight to the Amazon review page for this book and share your feedback.

Your review is important to us and the tech community and will help us make sure we’re delivering excellent quality content.

Download a free PDF copy of this book

Thanks for purchasing this book!

Do you like to read on the go but are unable to carry your print books everywhere?

Is your eBook purchase not compatible with the device of your choice?

Don’t worry, now with every Packt book you get a DRM-free PDF version of that book at no cost.

Read anywhere, any place, on any device. Search, copy, and paste code from your favorite technical books directly into your application.

The perks don’t stop there, you can get exclusive access to discounts, newsletters, and great free content in your inbox daily

Follow these simple steps to get the benefits:

  1. Scan the QR code or visit the link below

https://packt.link/free-ebook/9781837634507

  1. Submit your proof of purchase
  2. That’s it! We’ll send your free PDF and other benefits to your email directly
lock icon
The rest of the chapter is locked
You have been reading a chapter from
Mastering Windows Server 2022 - Fourth Edition
Published in: May 2023Publisher: PacktISBN-13: 9781837634507
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime

Author (1)

author image
Jordan Krause

Jordan Krause has been an IT professional for more than 20 years and has received 9 Microsoft MVP awards for his work with Microsoft server and networking technologies. One of the world's first experts on Microsoft DirectAccess, he has a passion for helping companies find the best ways to enable a remote workforce. Committed to continuous learning, Jordan holds certifications as an MCSE, MCSA, and MCITP Enterprise Administrator, and has authored numerous books on Microsoft technologies. Jordan lives in beautiful West Michigan (USA), but works daily with companies around the world.
Read more about Jordan Krause