Windows Server 2022 & Powershell All-in-One For Dummies. Sara Perrott. Читать онлайн. Newlib. NEWLIB.NET

Автор: Sara Perrott
Издательство: John Wiley & Sons Limited
Серия:
Жанр произведения: Зарубежная компьютерная литература
Год издания: 0
isbn: 9781119867838
Скачать книгу

      

As a general rule, you can update to the newest Windows Server operating system directly as long as you’re within the last two major releases.

If you’re running this edition … You can upgrade to these editions …
Windows Server 2016 Standard Windows Server 2022 Standard or Datacenter
Windows Server 2016 Datacenter Windows Server 2022 Datacenter
Windows Server 2019 Standard Windows Server 2022 Standard or Datacenter
Windows Server 2019 Datacenter Windows Server 2022 Datacenter

      You also need to check with your application vendors to ensure that the applications on the server are compatible with Windows Server 2022. If they aren’t, then you may need to upgrade your applications before you upgrade the server operating system.

      

There is no direct upgrade path from Windows Server operating systems that are older than Windows Server 2016. If you’re migrating from an older server, start with a clean installation. If you can’t use a clean installation, you’ll need to upgrade to either Windows Server 2016 or Windows Server 2019 to be able to upgrade to Windows Server 2022.

      After you’ve verified that you’re on a compatible version, you can begin the upgrade install. For this example, I’ll start with a Windows Server 2019 Standard installation and upgrade it to Windows Server 2022 Standard. Follow these steps:

      1 Log in as the administrator on the system that you want to upgrade.

      2 Insert the disc or other installation media into the system that you’re wanting to upgrade, and run setup.exe.The next screen asks if you want to download updates and drivers ahead of time (see Figure 3-6).FIGURE 3-6: Choose to either keep your files and settings or start fresh.

      3 On the Install Windows Server screen, click Next.Any relevant updates will be downloaded. You may be required to reboot before you're able to continue. On the Install Windows Server screen, you’ll see a Change How Setup Downloads Updates link. Clicking this link allows you to not patch the server at the time of installation. I don’t recommend doing this unless the server doesn’t have an Internet connection, because it will be potentially vulnerable to attack until it’s patched.

      4 Select Windows Server 2022 Standard with Desktop Experience (or whichever version you want) and click Next.

      5 Read through the license terms if you have time on your hands, and then click Accept.On the next screen, you choose whether to keep your personal files and apps or keep nothing. If you’re sticking with the same experience (Core or Desktop), you’ll see both options. If you’re changing the experience, the only option you’ll have will be to keep nothing.

      6 If you have the option, select the Keep Personal Files and Apps radio button, and then click Next.If you want to start clean, you can select Nothing. Just be aware that you will lose data if you choose this option. In my case, because I’m using evaluation media, I can only choose Nothing. This screen is shown in Figure 3-6. If the Keep Files, Settings, and Apps option is grayed out, it may be because you’re trying to change the user experience (for example, from Core to Desktop), or you may be using evaluation media rather than retail media. In either case, you have to choose Nothing.The installer fetches any applicable updates and presents you with a summary screen.

      7 If everything looks correct, click Install.The installer begins the upgrade install to Windows Server 2022. It may restart several times during this process.That’s it — you’re done!

      Windows Deployment Services (WDS) is a role that can be installed on a Windows Server operating system. It serves as a combination of a Preboot Execution Environment (PXE) server and a Trivial File Transfer Protocol (TFTP) server and enables you to install Windows over a network connection by choosing the network interface card as the boot device.

      Installing WDS is fairly straightforward. You can choose to install it as a stand-alone server or integrate it with Active Directory. You tell it what the boot file is that you want to use. The easiest one to start with is the boot.wim file on the Windows Server installation media, which contains the Windows Preinstallation Environment (WinPE). This is typically located under the Sources directory on the installation media.

      From there, you need to create the installation files. The simplest way to get started with this is to copy install.wim from the Windows Server 2022 installation media (again in the Sources directory) to the system that will serve as your WDS server. You'll have the same edition and experience options that you would’ve gotten from the installation wizard on disc. After WDS is fully configured, it serves images over the network. All you need to do is tell your new server to boot from the network.

If you’re doing a network install, and the server isn’t in the same subnet as the WDS server, you need to set Dynamic Host Configuration Protocol (DHCP) options 66 and 67. Option 66 specifies the hostname or IP address of the WDS server, and Option 67 is the bootfile name. You may also need to create a firewall rule to allow UDP ports 67 and 68 if there is a firewall between the two networks.

      

If you use the default boot.wim option from the installation media, you’ll receive a deprecation notice, but you can proceed in configuring with the boot.wim. Future versions of Windows Server won't support this option. You can, however, use custom boot.wim files. Microsoft recommends moving to either Microsoft Endpoint Configuration Manager or Microsoft Deployment Toolkit products for more granular customization and deployment of images.

      Performing Initial Configuration Tasks

      IN THIS CHAPTER

      

Understanding the default settings in Windows Server 2022

      

Getting an overview of the configuration process

      

Providing the information your server needs to be set up properly