Windows Server 2022 & Powershell All-in-One For Dummies. Sara Perrott
Чтение книги онлайн.

Читать онлайн книгу Windows Server 2022 & Powershell All-in-One For Dummies - Sara Perrott страница 28

СКАЧАТЬ Name WIN-<randomstring> This will be a randomly generated name starting with WIN-. You should change the name based on your organization’s naming standards. When you change the name, you’ll be required to restart the system. IP Address Assigned by DHCP By default, your brand-new server is using DHCP to automatically receive an IP address. If your organization uses DHCP to manage IP addresses, you’re good to go. If not, you may need to set a static IP address. Domain or Workgroup Workgroup named WORKGROUP Windows Server 2022 begins life joined to a workgroup named WORKGROUP. If it’s going to be a standalone server, then that setting may work well for you. Servers in workgroups are not domain joined. If your server needs to be joined to a domain, you’ll want to change this setting. Doing so will require a reboot. Windows Update Automatic update download Updates are downloaded automatically, but they aren’t installed until you allow them to be. Microsoft Defender Firewall Public and private profiles: On Core OS functionality: Allowed In its default state Microsoft Defender Firewall has a public and a private profile. Core functionality needed for the operating system to function is allowed automatically. The domain profile will appear if the server becomes domain joined. Microsoft Defender Antivirus Real-time protection: On Provides real-time virus/malware scanning. It prevents malware from installing and/or running on your server. Automatic sample submission is also enabled by default. This sends sample files to Microsoft for analysis. Roles and Features Some roles/features are installed Some roles and features are enabled out of the box to allow the server basic functionality. It’s important to note that just because a role or feature is selected, that doesn’t mean that the role as a whole is installed. Remote Management Enabled Allows the server to be managed by PowerShell remotely. Also allows applications or commands that require Windows Management Instrumentation (WMI) to manage the server. Remote Desktop Disabled Allows users to connect to the desktop of the server remotely. Allowed users can be configured individually or by security groups.

      When you start with a freshly installed server, it isn’t configured to do much of anything. You’ll need to take some basic configuration steps. Some of these steps are the basics like setting the day and time; others are tasks that will allow you to manage your systems remotely.

      Here’s the basic process:

       Activate Windows Server 2022.

       Set the date, time, and time zone.

       Change the computer name.

       Add to the domain (if there is one to join).

       Configure the networking.

       Configure the server to receive Windows updates.

       Add roles and features.

       Setup the Windows Server OS for remote administration.

       Configure the Windows Server firewall.

      You can find the specifics on how to do each of these tasks in the following section.

      When you’re deploying new servers, you have to perform certain tasks, such as activating the operating system with a valid Microsoft product key, setting the time zone, changing the name, and adding the server to the domain. In this section, I explain how to provide information for the server on both Windows Server 2022 with Desktop Experience and Server 2022 Core.

      Windows Server 2022 with Desktop Experience

      Many system administrators got their start with the graphical user interface (GUI) of a Windows Server operating system. Windows Server 2022 continues the tradition of the GUI with the Desktop Experience installation. Let’s take a look at what is involved with configuring Windows Server 2022 with Desktop Experience.

      Activation

      One of the first things that you do after installing the Windows Server operating system is activate it with a valid product key. You can do this through the desktop interface or through PowerShell.

      In this section, I cover activating through the desktop interface. I cover activation through PowerShell in the later section on activation for Server Core.

      1 Log into the server.Server Manager opens automatically.

      2 In Server Manager, click Local Server in the navigation pane.

      3 To start the activation process, click the Not Activated hyperlink next to Product ID.A dialog box launches automatically asking for the product key.

      4 Enter your product key and click Next.You’re prompted to activate Windows.

      5 Click Activate.You get a confirmation that Windows has been activated.

      6 Click Close.You’re left on the Activation screen shown in Figure 4-1, where you see that your version of Windows is now activated.

Snapshot of the Activation screen showing that Windows Server 2022 is activated.

      FIGURE 4-1: The Activation screen showing that Windows Server 2022 is activated.

      Time zone

      1 In Server Manager, click Local Server in the left-hand menu.

      2 Click the hyperlink next to Time Zone.This may already be set to the correct time zone for your area.

      3 Click the Change Time Zone button.

      4 Select your time zone from the drop-down list.

      5 If you’re in an area that uses Daylight Saving Time, click the check box next to Automatically Adjust Clock for СКАЧАТЬ