Installing Windows Server
# CHAPTER 2
Installing Windows Server
1. Introduction
The journey of a systems administrator begins with deployment. Installing Windows Server is superficially similar to installing a standard version of Windows, but the architectural choices made during those first five minutes dictate the security and performance of the server for years to come. Do you install the full graphical interface, or do you opt for a minimalist, text-only environment? How do you properly name and secure the machine before introducing it to the network? In this chapter, we will walk through the hardware prerequisites, demystify the critical choice between "Desktop Experience" and "Server Core," and execute the essential post-installation configurations.2. Learning Objectives
By the end of this chapter, you will be able to:- Identify the minimum hardware requirements for installing Windows Server.
- Differentiate between the "Server Core" and "Desktop Experience" installation types.
- Understand how to create bootable installation media.
- Navigate the Windows Server installation wizard.
- Execute mandatory post-installation tasks (Computer Name, Static IP, Updates).
3. Hardware Requirements
Before installing Windows Server, the physical hardware or Virtual Machine must meet Microsoft's minimum specifications. For Windows Server 2022:- Processor: 1.4 GHz 64-bit processor
- RAM: 512 MB (2 GB for Desktop Experience installation)
- Disk Space: 32 GB absolute minimum
- Network: An Ethernet adapter capable of at least gigabit throughput.
*(Note: These are absolute minimums. A production database server will likely require 64GB+ of RAM and massive SSD arrays).*
4. Server Core vs. Desktop Experience
During the installation wizard, you will be presented with a critical choice:1. Desktop Experience: This installs the full Graphical User Interface (GUI). You get a Start menu, File Explorer, and graphical tools.
- *Pros:* Extremely easy to learn and manage for beginners.
- *Cons:* Consumes heavily on RAM and CPU, requires more frequent reboots for graphical updates, and presents a larger "attack surface" for hackers.
2. Server Core: This installs a stripped-down, purely command-line interface. When the server boots, you see nothing but a black terminal window.
- *Pros:* Uses almost zero RAM for the OS, highly secure, requires fewer patches, and rarely needs to reboot.
- *Cons:* Requires advanced knowledge of PowerShell or remote management tools.
*Best Practice:* Microsoft highly recommends Server Core for production environments. However, for the duration of this beginner course, we will assume you are utilizing the Desktop Experience to visualize the concepts.
5. The Installation Process
- 1. Boot Media: Insert the Windows Server ISO via a USB drive (using tools like Rufus) or mount the ISO file directly to a Virtual Machine in Hyper-V/VMware.
- 2. Boot the System: Press any key to boot from the CD/DVD/USB.
- 3. Language & Time: Select your regional settings and click "Install Now."
-
4.
Select OS Edition: Choose
Windows Server 2022 Standard (Desktop Experience). *(If you accidentally choose just "Standard", you will get Server Core!)*
- 5. Accept Terms: Accept the EULA.
- 6. Installation Type: Choose Custom: Install Windows only (advanced). (You are installing a fresh OS, not upgrading an old one).
- 7. Drive Selection: Select the unallocated hard drive space and click Next. The installation will now copy files and reboot.
6. Post-Installation Configuration
Once the server boots up, you must create the local Administrator password. After logging in, do NOT immediately start installing roles. You must prep the server first using the Server Manager dashboard orsconfig.
The 3 Mandatory Steps:
-
1.
Change the Computer Name: By default, Windows names the server something random like
WIN-X89234K. You must rename it to something logical (e.g.,DC01for Domain Controller 01) and restart the server.
- 2. Set a Static IP Address: Servers cannot use dynamic IP addresses that change randomly. You must open Network Connections and assign a permanent, static IP address.
- 3. Install Windows Updates: A fresh installation is highly vulnerable to security exploits. Run Windows Update immediately.
7. Diagrams/Visual Suggestions
*Visual Concept: The Installation Crossroad* Display a screenshot mockup of the "Select the operating system you want to install" screen. Highlight the difference between:Windows Server 2022 Standard (Point an arrow to this labeling it "Server Core - Terminal Only").
Windows Server 2022 Standard (Desktop Experience) (Point an arrow to this labeling it "Full GUI - Mouse and Windows").
This is the most common mistake beginners make during setup; a visual distinction is critical.
8. Best Practices
-
Use the
sconfigUtility: If you accidentally install Server Core, or simply want a fast way to configure a server, typesconfigin the terminal. This launches a text-based, menu-driven interface that allows you to easily change the computer name, set a static IP, and download updates without needing complex PowerShell commands.
9. Common Mistakes
- Forgetting to set a Static IP: If an administrator installs a File Server and leaves the IP configuration on DHCP (automatic), the IP address might change after a weekend reboot. On Monday morning, all 500 employee laptops will fail to connect to the shared drives because they are looking for the old IP address.
10. Mini Project: Server Preparation Walkthrough
Let's simulate the post-installation environment preparation using PowerShell.- 1. Open PowerShell as Administrator on your new server.
- 2. Rename the Computer:
- 3. *(After Reboot)* Set a Static IP Address:
You have just configured a production-ready baseline server in two minutes!
11. Practice Exercises
- 1. Explain the architectural and security advantages of deploying "Server Core" instead of the "Desktop Experience."
- 2. Detail the three mandatory post-installation configuration steps that must occur before promoting a Windows Server into a production environment.
12. MCQs with Answers
During the Windows Server installation wizard, an administrator selects the option Windows Server 2022 Datacenter (without any parentheses). What interface will the administrator see when the server completes its final boot sequence?
Which text-based utility is built directly into Windows Server Core to rapidly facilitate changing the computer name, downloading updates, and configuring network adapters without requiring complex PowerShell syntax?
13. Interview Questions
- Q: A junior engineer argues that all new servers should be installed with the "Desktop Experience" because it is easier to manage. As a senior administrator, present a technical argument for why "Server Core" is the preferred Microsoft standard for enterprise infrastructure.
- Q: Explain the catastrophic network consequences of failing to assign a Static IP address to a newly deployed DNS or File Server.
-
Q: Walk me through the exact PowerShell cmdlets you would execute to change a newly installed server's hostname to
WEB-01and reboot the machine.