Настройка windows server 2022 с нуля

В этой статье мы рассмотрим самые базовые настройки Windows Server 2022 - это Active Directory, DNS, DHCP, настройки терминальных лицензий, добавление пользователей... Эти настройки являются не обязательными, но как правило применяются как базовые для большинства задач.

В этой статье мы рассмотрим самые базовые настройки Windows Server 2022 — это Active Directory, DNS, DHCP, настройки терминальных лицензий, добавление пользователей… Эти настройки являются не обязательными, но как правило применяются как базовые для большинства задач.

— Скачать бесплатно дистрибутив Windows Server 2022 Standard и Datacenter можете в нашем каталоге.

— Пошаговая инструкция по установке Windows Server 2022 в нашей прошлой статье.

— Приобрести ключи активации для Windows Server 2022 Standard и Datacenter можете так же в нашем каталоге.

1) При установке Windows Server 2022 например на русском языке, добавляется по умолчанию только одна раскладка клавиатуры — «Русский язык», для настроек нам необходима еще английская раскладка клавиатуры. Добавим ее.

Заходим в меню «Пуск» => Параметры => Время и язык.

Во вкладке «Язык» нажимаем на «Добавление языка».

Выбираем «Английский» => Далее.

Можем оставить все галки, кроме назначения языком интерфейса и нажимаем «Установить».

Теперь дожидаемся установки языкового пакета, после установки можете перезагрузить сервер и у Вас появится возможность переключения языка раскладки на английский язык.

2) Следующим шагом, нам нужно задать имя серверу для более простого подключения к нему. Заходим в проводник => Слева «Этот компьютер» => Свойства.

В меню «О программе» нажимаем «Дополнительные параметры системы».

В новом окне выбираем вкладку «Имя компьютера» => Изменить.

Задаем имя компьютера, имя может быть любое. Рекомендуем не использовать кириллицу, а только латиницу и цифры.

Для применения настроек — перезагружаем сервер.

3) Далее, зададим локальный статический IP адрес сервера. Это так же необходимо для бесперебойного подключения к нему. (мы рекомендуем помимо всего использовать так же статический публичный IP для корректного подключения к нему из внешней сети интернет). Так же, данная настройка обязательна для последующей настройки DHCP сервера.

В поиск вводим ncpa.cpl

Правой кнопкой мыши на сетевую карточку => Свойства.

Мы будем настраивать Ipv4, выделяем его курсором и нажимаем «Свойства».

Задаем настройки IP Вашей сети. Внимание! На скриншоте ниже — это пример, у вас должны быть Ваши собственные настройки под Вашу сеть.

3) Теперь переходим к добавлению ролей и компонентов в Active Directory (Диспетчере серверов).

Нажимаем меню «Пуск» => Диспетчер серверов.

Добавить роли и компоненты.

В следующем окне просто нажимаем «Далее».

В меню «Тип установки» выбираем пункт => Установка ролей и компонентов.

Далее «Выбираем сервер из пула». Он у нас должен быть один.

Далее, выбираем нужные Вам роли (функионал сервера), в случае чего, вы всегда сможете добавить что-либо еще, если что-то понадобится дополнительное.

Мы выберем на примере DHCP-сервер, DNS-сервер (Внимание! DNS (домен) не всегда нужен под рабочие задачи, убедитесь, что он нужен именно Вам, прежде чем его выбирать для установки. Мы его устанавливаем лишь для примера.), Доменные службы и Службы для удаленных рабочих столов (для подключения к серверу по RDP).

После выбора нужных служб идем далее.

Далее, пролистываем до меню «Службы ролей» в подпункт «Службы удаленных рабочих столов» и выбираем здесь пункты «Лицензирование удаленных рабочих столов», «Узел сеансов удаленных рабочих столов» и «Шлюз удаленных рабочих столов».

Пролистываем до конца в меню «Подтверждение», нажимаем «Установить» и дожидаемся установки служб.

После перезагрузите сервер для применения настроек.

4) После перезагрузки заходим в меню Active Directory (Диспетчер серверов) и перейдем в настройки доменных служб (DNS), если вы не выбирали данную службу, то пропустите этот пункт настройки.

Выбираем пункт «Добавить новый лес» => и задаем имя для домена, он может быть любым, например названием вашей компании, или название вашего сайта. Настоятельно рекомендуем задавать только на латинице (или цифры).

В параметрах контроллера домена задаем пароль для Вашего домена.

Параметр NetBIOS как правило задается автоматически от имени домена.

Доходим до проверки предварительных требований и нажимаем «Установить». Дождитесь установки.

После установки домена можете проверить в свойствах системы, что Ваш сервер добавлен в домен.

5) Перейдем к настройке DHCP, чтобы сервер мог раздавать IP адреса на клиентские ПК.

Нажимаем «Далее».

Оставляем по умолчанию.

В этой настройке готово.

Теперь в диспетчере серверов, в меню слева выбираем пункт DHCP => Правой кнопкой мыши на Ваш сервер => Диспетчер DHCP

Раскрываем ветку DHCP => Ваш сервер => IPv4, правой кнопкой мыши на этот пункт => Создать область.

В новом окне «Далее».

Задаем любое имя области.

Далее задаем диапазон IP адресов, который будет раздавать сервер на локальные компьютеры, а так же маску подсети. (На скриншоте ниже — это пример, у вас может быть свой диапазон).

При желании, можете исключить какой-либо промежуток IP адресов, либо просто нажмите «Далее».

Задаем срок действия раздачи IP адреса на компьютеры. Мы зададим большой срок в 365 дней, у вас он может быть любой под Ваши задачи.

Выбираем пункт «Да, настроить эти параметры сейчас».

Можете добавить адрес маршутизатора (роутера) из вашей сети.

Можете добавить WINS-сервер, если у вас уже он был ранее настроен на сервере, то он добавится автоматически. Либо можете пропустить данный пункт настройки.

Активировать эту область сейчас.

Готово.

Теперь видим, что область успешно создана.

6) Теперь приступим к лицензированию удаленных рабочих столов (RDP / RDS), чтобы Вы могли подключаться к серверу с клиентских ПК по RDP.

— Первое, что для этого нужно — это ключ активации Windows Server 2022 RDS User или Device CAL. Приобрести его можете в нашем каталоге на следующей странице.

— Чем отличается User CAL от Device CAL можете ознакомиться в нашей прошлой статье.

— Для активации ключа RDS теперь можете воспользоваться следующей инструкцией по настройке и активации данного функционала в нашей прошлой статье. Инструкция является универсальной, начиная от 2012r2 версии до 2022 версии Windows Server.

7) Следующим шагом рассмотрим как добавить пользователя в Windows Server, в случае, если Вы не устанавливали на сервер домен (DNS). С созданными пользователями Вы можете под их данными подключаться к серверу по RDP.

Заходим в Active Directory => Средства => Управление компьютером => Локальные пользователи и группы => Пользователи => Новый пользователь.

Задаем имя пользователя, можете так же указать его должность, или краткое описание. Обязательно задаем ему пароль для входа. При желании можете установить пункты запрета на смену пароля пользователю и отключение срока действия пароля.

Пользователь создан. Нажав на него двойным кликом курсором мыши можете задать пользователю более детальные настройки, при необходимости.

Обновлено 11.06.2021

Windows Server 2022 logo

Добрый день! Уважаемые читатели и гости одного из крупней1ших IT блогов Рунета Pyatilistnik.org. В прошлый раз мы с вами починили кнопку Пуск в Windows Server 2019. На дворе почти 2021 год, рынки лихорадит, пандемия еще не ушла, но это не причина не развиваться, нужно всегда идти вперед. В сегодняшней статье мы с вами установим и настроим новую серверную операционную систему Windows Server 2022. Мы посмотрим, что нового в ней, что улучшили и добавили. Думаю вам будет интересно.

Что нового в Windows Server 2022 ?

Перед тем, как установить и настроить Windows Server 2022 давайте посмотрим, что же нового добавила компания Microsoft. Хочу выделить, что давно я не видел столько улучшений и нововведений по сети и сетевому стеку.

  • Библиотека MsQuic — это реализация Microsoft QUIC, сетевого протокола транспортного уровня общего назначения, первоначально разработанного Джимом Роскиндом из Google. QUIC по-прежнему является черновиком Интернет-протокола, но он используется Google Chrome для подключений к собственным серверам Google. Microsoft Edge и Firefox поддерживают QUIC, но по умолчанию он отключен. QUIC использует мультиплексные соединения HTTP/3 и UDP для повышения производительности веб-приложений там, где в настоящее время используется TCP. Microsoft утверждает, что QUIC поддерживает веб-обработку HTTP/3 и передачу файлов SMB. Microsoft открывает исходный код библиотеки QUIC, MsQuic , на GitHub по лицензии MIT. QUIC стандартизируется Инженерной группой Интернета (IETF). MsQuic — это клиентское и серверное решение, оптимизированное для различных шаблонов использования и используемое несколькими продуктами и услугами Microsoft. MsQuic в настоящее время находится в предварительной версии и поддерживает Windows и Linux.
  • Улучшение производительности протокола UDP — UDP становится очень популярным протоколом, несущим все больше и больше сетевого трафика. С протоколом QUIC, построенным на основе UDP, и растущей популярностью RTP и пользовательских (UDP) потоковых и игровых протоколов, пора вывести производительность UDP на уровень, равный TCP. В Windows Server 2022 реализует UDP Segmentation Offload (USO) . USO переносит большую часть работы, необходимой для отправки пакетов UDP с ЦП на сетевую карту. В дополнение к USO в Windows Server 2022 включается UDP Receive Side Coalescing (UDP RSC), которое объединяет пакеты и снижает использование ЦП для обработки UDP. В дополнение к этим двум новым улучшениям мы внесли сотни улучшений в путь передачи данных UDP, как для передачи, так и для приема.
  • Улучшения производительности протокола TCP — Windows Server 2022 использует TCP HyStart++ для уменьшения потери пакетов при запуске соединения (особенно в высокоскоростных сетях) и SendTracker+RACK для уменьшения времени ожидания повторной передачи (RTO). Эти функции включены в транспортном стеке по умолчанию и обеспечивают более плавный сетевой поток данных с лучшей производительностью на высоких скоростях.
  • Поддержка PktMon в TCPIP. Инструмент межкомпонентной сетевой диагностики для Windows теперь поддерживает TCP/IP, обеспечивая видимость сетевого стека. PktMon можно использовать для захвата пакетов, обнаружения отбрасывания пакетов, фильтрации пакетов и подсчета для сценариев виртуализации, таких как сеть контейнеров и SDN. Проблемы с сетевым подключением часто трудно диагностировать. В одной передаче данных задействовано несколько машин; как минимум две конечные точки и сложная сетевая инфраструктура посередине. В последнее время, с внедрением виртуализации сети, в конечные точки интегрировано больше возможностей инфраструктуры, таких как маршрутизация и коммутация. Дополнительная сложность конечных точек часто приводит к проблемам с подключением, которые трудно диагностировать. Эта новая инфраструктура требует более комплексного подхода к диагностике сети. Packet Monitor (PacketMon) — это встроенный кросс-компонентный инструмент сетевой диагностики для Windows. Его можно использовать для захвата пакетов, обнаружения отбрасывания пакетов, фильтрации и подсчета пакетов. Этот инструмент особенно полезен в сценариях виртуализации, таких как сеть контейнеров, SDN и т. Д. Он доступен в комплекте с помощью команды pktmon.exe и расширений Windows Admin Center.
  • Улучшение производительности  RSC в vSwitch — RSC в vSwitch была улучшена производительность. Функция объединения сегментов приема (RSC) в vSwitch, впервые выпущенная в Windows Server 2019, позволяет объединять и обрабатывать пакеты как один больший сегмент при входе в виртуальный коммутатор. Это значительно сокращает количество циклов процессора, потребляемых обработкой каждого байта (циклов/байт). Однако в своей первоначальной форме, как только трафик покинет виртуальный коммутатор, он будет повторно сегментирован для перемещения через VMBus. В Windows Server 2022 сегменты будут оставаться объединенными по всему пути данных до тех пор, пока они не будут обработаны предполагаемым приложением. Это улучшает два сценария:
  1. Трафик с внешнего хоста, полученный виртуальной сетевой картой
  2. Трафик от виртуальной сетевой карты к другой виртуальной сетевой карте на том же хосте

Эти улучшения RSC в vSwitch будут включены по умолчанию; с вашей стороны не требуется никаких действий.

  • Поддержка балансировки нагрузки Direct Server Return (DSR) для контейнеров и Kubernetes — Direct Server Return (DSR) — это реализация асимметричного распределения сетевой нагрузки в системах с балансировкой нагрузки, что означает, что трафик запроса и ответа использует другой сетевой путь. Использование разных сетевых путей помогает избежать лишних переходов и снижает задержку, за счет чего не только ускоряется время ответа между клиентом и службой, но и снимается некоторая дополнительная нагрузка на балансировщик нагрузки. Использование DSR — это прозрачный способ повышения производительности сети для ваших приложений практически без изменений инфраструктуры. Дополнительная информация
  • Введение в правила соответствия/защиты виртуальных машин с отказоустойчивой кластеризацией (Virtual Machine (Role) Affinity/AntiAffinity) —  В прошлом мы полагались на свойство группы AntiAffinityClassNames, чтобы разделять роли, но не учитывали особенности сайта. Если был DC, который должен был быть на одном сайте, и DC, который должен был быть на другом сайте, это не было гарантировано. Также было важно не забыть ввести правильную строку AntiAffinityClassNames для каждой роли. Приведу примеры командлетов PowerShell:
    • New-ClusterAffinityRule — Позволяет вам создать новое Affinity или AntiAffinityrule. Есть четыре разных типа правил (-RuleType)
    • DifferentFaultDomain — Позволяет держать группы в разных доменах сбоя
    • DifferentNode — сохранить группы на разных узлах (примечание может быть на другом или одном домене сбоя)
    • SameFaultDomain — Позволяет держать группы в одном домене сбоя
    • SameNode — Позволяет держать группы на одном узле
    • Set-ClusterAffinityRule — Позволяет вам включить (по умолчанию) или отключить правило
    • Add-ClusterGroupToAffinityRule — Добавить группу в существующее правило
    • Get-ClusterAffinityRule — Показать все или определенные правила
    • Add-ClusterSharedVolumeToAffinityRule — Для хранилища Affinity / AntiAffinity, где общие тома кластера могут быть добавлены к текущим правилам
    • Remove-ClusterAffinityRule — Удаляет определенное правило
    • Remove-ClusterGroupFromAffinityRule — Удаляет группу из определенного правила
    • Remove-ClusterSharedVolumeFromAffinityRule — Удаляет определенный общий том кластера из определенного правила
    • Move-ClusterGroup -IgnoreAffinityRule — Позволяет принудительно переместить группу на узел или в домен сбоя, что в противном случае было бы предотвращено. В PowerShell, диспетчере кластеров и центре администрирования Windows в качестве напоминания будет показано, что группа нарушает правила.

    При перемещении роли объект сходства гарантирует, что ее можно перемещать. Объект также ищет и проверяет другие объекты, в том числе диски, поэтому при желании вы можете иметь сродство хранилища с виртуальными машинами (или ролями) и общими томами кластера (сродство хранилища). Вы можете добавлять роли к множеству, например, контроллерам домена. Вы можете установить правило AntiAffinity, чтобы контроллеры домена оставались в другом домене сбоя. Затем вы можете установить правило привязки для каждого контроллера домена к их конкретному диску CSV, чтобы они могли оставаться вместе. Если у вас есть виртуальные машины SQL Server, которые должны находиться на каждом сайте с определенным контроллером домена, вы можете установить правило соответствия одного и того же домена сбоя между каждым SQL и их соответствующим контроллером домена. Поскольку теперь это объект кластера, если вы попытаетесь переместить виртуальную машину SQL с одного сайта на другой, он проверяет все связанные с ней объекты кластера. Он видит, что на том же сайте есть соединение с DC. Затем он видит, что у DC есть правило, и проверяет его. Он видит, что контроллер домена не может находиться в том же домене сбоя, что и другой контроллер домена, поэтому перемещение запрещено.

    Есть встроенные переопределения, чтобы при необходимости вы могли принудительно выполнить ход. Вы также можете легко отключить/включить правила, если хотите, по сравнению с AntiAffinityClassNames с ClusterEnforcedAffinity, где вам нужно было удалить свойство, чтобы оно переместилось и появилось. Мы также добавили функциональность в режим стока, где, если он должен переместиться в другой домен и есть правило AntiAffinity, препятствующее этому, мы обойдем это правило. Любые нарушения правил отображаются как в Cluster Admin, так и в Windows Admin Center.

  • BitLocker Protector для отказоустойчивых кластеров (Flexible BitLocker Protector) — BitLocker уже довольно давно доступен для отказоустойчивой кластеризации. Требование заключалось в том, что все узлы кластера должны находиться в одном домене, поскольку ключ BitLocker привязан к объекту имени кластера (CNO). Однако для этих кластеров на границе, кластеров рабочих групп и многодоменных кластеров Active Directory может отсутствовать. Без Active Directory нет CNO. В этих кластерных сценариях не было защиты данных в состоянии покоя. Начиная с Windows Server 2022, Microsoft представили собственный ключ BitLocker, хранящийся локально (зашифрованный) для использования кластером. Этот дополнительный ключ будет создан только в том случае, если кластерные диски защищены BitLocker после создания кластера.
  • Улучшенная защита — 2020 и последующие годы показали, что на первое место теперь нужно ставить компьютерную безопасность и Windwos Server 2022 безусловно несет в себе огромную проделанную работу в данном направлении. Улучшили защиту ядра, в составе которой защита микропрограмм, многоуровневая защита оборудования и самой операционной системы. Windows Server 2020 использует System Guard для безопасной загрузки и Trusted Platform Module 2.0. Это позволяет защищаться от уязвимостей микропрограмм. Нельзя забывать и про виртуализации, тут сервер использует VBS, например целостность кода, Credential Guard, защищенного гипервизором (HVCI).

В задачи Credential Guard использует безопасность на основе виртуализации для изоляции секретов, чтобы только привилегированное системное программное обеспечение могло получить к ним доступ. Несанкционированный доступ к этим секретам может привести к атакам с кражей учетных данных, таким как Pass-the-Hash или Pass-The-Ticket. Credential Guard в Защитнике Windows предотвращает эти атаки, защищая хэши паролей NTLM, билеты предоставления билетов Kerberos и учетные данные, которые хранятся приложениями в качестве учетных данных домена. В свою очередь HVCI использует аппаратную защиту и не дает вредоносному коду попасть в систему. Windows Server 2022 получил быстрый и безопасный протокол передачи зашифрованного гипертекста (HTTPS) и безопасности транспортного уровня (TLS) 1.3.

  • Новые сетевые тесты Cluster Validation — Сетевые конфигурации продолжают усложняться. Был добавлен новый набор тестов проверки кластера, чтобы помочь проверить правильность настройки конфигураций. Эти тесты включают:
  • Список сетевых показателей порядка (версия драйвера — driver versioning)
  • Проверить конфигурацию сети кластера (конфигурация виртуального коммутатора — virtual switch configuration)
  • Предупреждение о подтверждении конфигурации IP
  • Успех сетевой коммуникации
  • Встроенные конфигурации объединения коммутаторов (симметрия, vNIC, pNIC)
  • Проверка успешной настройки брандмауэра Windows
  • QOS (PFC и ETS) настроены

(Примечание относительно настроек QOS выше: это не означает, что эти настройки действительны, просто они реализованы. Эти настройки должны соответствовать вашей физической конфигурации сети, и поэтому MS не может подтвердить, что они установлены на соответствующие значения)

  • Образы контейнеров Server Core стали на 20 процентов меньше — Размер загружаемого образа контейнера Windows Server 2022 Core был уменьшен на 20%, что должно быть значительной победой для любого рабочего процесса, который извлекает образы контейнеров Windows. Это было достигнуто за счет оптимизации набора предварительно скомпилированных образов .NET в машинном коде, включенных в образ контейнера Server Core. Если вы используете .NET Framework с контейнерами Windows, в том числе Windows PowerShell, используйте образ .NET Framework , который будет включать дополнительные предварительно скомпилированные образы .NET в машинном коде для поддержания производительности в этих сценариях, а также получить выгоду от уменьшенного размера.
  • Новые возможности протокола SMB — Еще больше поднимая планку безопасности, SMB теперь поддерживает шифрование AES-256. Также повышается производительность при использовании шифрования SMB или подписи с помощью SMB Direct с сетевыми картами с поддержкой RDMA. SMB теперь также имеет возможность выполнять сжатие для повышения производительности сети. Сжатие SMB теперь доступно с помощью инструментов командной строки robocopy и xcopy и /compress. Если целевое устройство также поддерживает сжатие SMB, при передаче файлов должно наблюдаться значительное повышение производительности. Современные устройства с Windows Server 2019 и Windows 10 уже поддерживают сжатие. Windows Server 2022 содержит инструменты, позволяющие администраторам использовать их.
  • Службы миграции хранилища получают поддержку многоуровневой службы синхронизации файлов Azure (AFS).
  • Windows Server 2022 получил еще две новые возможности по работе с облаком, Azure Arc  и  служба миграции хранилища. Azure Arc это инструмент позволяющий1 упростить управление приложениями, кластерами Windows, Linux, SQL Server и Kubernetes в центрах обработки данных прямо из Azure. Azure Arc использует Azure Policy, Azure Monitor и Azure Defender. Теперь Windows Admin Center может включать включить подключение к Azure Arc.
  • Windows Server 2022 теперь еще более просто позволяет производить миграцию данных с хранилищ NetApp FAS на сервера с Windows. Для этого используются службы миграции хранилища.
  • Windows Server 2022 поддерживает 48 ТБ оперативной памяти, 2048 логических ядер CPU на 64 физических сокетах.

Как скачать Windows Server 2022

На текущий момент, есть два варианта, это вступить в программу Windows Server Insider Preview, или же загрузить у меня с mail облака. Предварительная версия Windows Server 2022 доступна в формате ISO на 18 языках и в формате VHDX только на английском языке. Следующие ключи позволяют неограниченное количество активаций:

  • Standard: MFY9F-XBN2F-TYFMP-CCV49-RMYVH
  • Datacenter : 2KNJJ-33Y9H-2GXGX-KMQWH-G6H67
  • Windows Server 2022 Выпуски Server Core Datacenter и Standard доступны на 18 поддерживаемых серверных языках в формате ISO и в формате VHDX только на английском языке. Следующие ключи позволяют неограниченное количество активаций:
  • Standard: V6N4W-86M3X-J77X3-JF6XW-D9PRV
  • Datacenter : B69WH-PRNHK-BXVK3-P9XF7-XD84W

Ключи действительны только для предварительных сборок. После того, как активация ключей предварительного просмотра отключена, вы по-прежнему можете устанавливать и использовать предварительные сборки для разработки и тестирования без активации.

https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server или https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewserver?lc=1033

Установка Windows Server 2022

Давайте теперь посмотрим как устанавливается Windows Server 2022. Методов установке несколько:

  • Установка по сети с помощью WDS сервера.
  • Загрузочная флешка с Windows Server 2022. Это нормальный метод, так как это не массовая операция, флешку сделать можно.
  • ПО сети через порт управления на физическом сервере, где будет монтироваться ISO образ. У каждого вендора он называется по разному, например ILO, IPMI, IMM, IDRAC.
  • Через USB-коробку Zalman, которая выступает в роли виртуального DVD-ROM работающего по сети и умеющего монтировать ISO файлы.
  • Через сторонний PXE сервер

Не важно, как вы подсунете дистрибутив с Windows Server 2022, сам процесс установки будет везде одинаковый, если вы конечно не используете файл ответов. Первое, как обычно вы увидите приглашение нажать «Enter«, чтобы инициировать работу мастера установки Server 2022.

Загрузка установки Windows Server 2022

Далее вас встречает классическое окно с выбором языка, который будет использоваться в качестве основного в интерфейсе мастера установки Windows Server 2022. Я оставлю все по умолчанию «Русский.»

Выбор языка установки Windows Server 2022

небольшой бонус, если вы начинающий системный администратор, то можете не знать, что если тут нажать одновременно Shift+F10, то вы сможете вызвать командную строку

Можете ее смело закрывать, это ни на что не влияет, у вас может быть вопрос для чего это может быть, вот пара примеров, устранение ошибки 0xc0000098 или сбросить пароль администратору домена.

Вызов командной строки при установке Windows Server 2022

На следующем экране вам необходимо просто нажать кнопку «Установить«. Обратите внимание, что тут есть кнопка «Восстановление системы«, которое содержит инструменты, если у вас есть проблемы с загрузкой или повреждением файловой системы.

Кнопка установки Windows Server 2022

Если у вас есть лицензионный ключ, то вы можете указать его на данном шаге, если нет, то просто нажмите «У меня нет ключа продукта«.

Окно ввода ключа продукта в мастере установки Windows Server 2022

Теперь вам нужно выбрать редакцию Windows Server 2022, на выбор будет четыре варианта:

  • Windows Server 2022 SERVERSTANDARDCORE — Стандартная версия, без каких либо программных ограничений со всеми компонентами, в режиме ядра (без GUI), ограничение 4 виртуальные машины Hyper-V, которые лицензируются хостом
  • Windows Server 2022 SERVERSTANDARD — То же самое, только с графическим режимом
  • Windows Server 2022 SERVERDATACENTERCORE — Так же максимальная версия, но уже с неограниченным количеством лицензируемых виртуальных машин на хосте, так же без графического интерфейса
  • Windows Server 2022 SERVERDATACENTER — Максимальная версия с графическим режимом.

Я буду устанавливать стандартную версию с графическим режимом.

Выбор редакции Windows Server 2022

Далее вы «должны» прочитать лицензионное соглашение и если вас все устраивает, то поставить галку и нажать далее.

Принятие лицензионного соглашения в мастере установки Windows Server 2022

Теперь вам нужно определиться с типом установки, их существует два:

      • Обновление: Установка с сохранением файлов, параметров и приложений — Данный тип я иногда применяю в своей работе, когда не хочу переустанавливать сервисы и хочу перейти на более свежую версию ОС, в случаях с виртуальными машинами это прокатывает, так как перед этим действием можно сделать снапшот и в случае чего просто откатиться обратно.
      • Выборочная: только установка Windows — по сути это чистая инсталляция Windows Server 2022, где вам нужно размечать диск и после установки в ОС не будет ничего предустановленного. Вы должны выбирать именно этот метод.

Выбор типа установки Windows Server 2022

В моем примере есть только одна неразмеченная область, у вас может быть иначе, но в любом случае вы должны определиться куда будет производится установка системы. После чего просто нажмите далее.

Выбор диска для установки Windows Server 2022

Начинается установка Windows Server 2022, тут все проходит в несколько этапов: распаковка дистрибутива и копирование его на диск, установка драйверов и обновлений

установка Windows Server 2022

Через пару перезагрузок вы увидите форму в которой вам для учетной записи администратора нужно придумать пароль, напоминаю, что пароль должен соответствовать стандартам безопасности, (Заглавная буква, прописная, спецсимвол и цифра).

Задаем пароль в Windows Server 2022

После этого вы увидите стандартную картинку с пещерой и побережьем от компании Microsoft.

Экран приветствия Windows Server 2022

Нажмите CTRL+ALT+DELETE, что открыть форму авторизации. Вбиваем пароль от учетной записи администратора и авторизовываемся в системе.

Авторизация в Windows Server 2022

После авторизации вы в правом нижнем углу можете лицезреть надпись Windows Server 2022 Standard

надпись Windows Server 2022 Standard

В параметрах системы, в разделе «О программе» есть область характеристик Windows, тут вы так же обнаружите выпуск и версию сборки.

Версия выпуска Windows Server 2022

Далее можно переходить к базовой настройке Windows Server 2022 Standard, перед вводом ее в продакшен.

windows server 2022 installation guide

This article is a step-by-step Windows Server 2022 installation guide.

In it, you’ll learn:

  • An overview of Windows Server 2022 installation 
  • Who should install Windows Server 2022
  • Windows Server 2022 new features 
  • How to install Windows Server 2022
  • How to install Server 2022 Updates
  • And many more!

Let’s dive in!

Windows Server 2022 Installation Overview

Windows Server 2022 is based on Windows Server 2019 and was announced in 2021 with a ten-year support cycle. It’s designed for small-to-medium-sized businesses and offers increased stability and performance. 

If you’re looking to upgrade your IT infrastructure to be more reliable and efficient, then the time has never been better!

Some of the new features in Windows Server 2022 include the following:

  • AMD CPUs now support nested virtualization.
  • As the default web browser, Microsoft Edge is bundled with the system.
  • Improved security features to increase protection against all sorts of attacks, such as malware, privacy, and network attacks.
  • Enhancements to UDP/TCP performance.
  • Hybrid capabilities in Azure.

You can find more information on the product page

Who should install Windows Server 2022?

The latest version of Microsoft Windows Server is the perfect fit for businesses and professionals who want to take their job more seriously, or educational institutions can benefit from Windows Server 2022.

It also works well with other professionals like engineers and educational organizations, giving them more uses than before! Windows Server 2022 offers peace of mind for safety-conscious employers in charge of running a business where you want people’s data secure.

Specifically, there has been an increased focus on the cloud, a foundation for data centers that provide our increasingly mobile world with technology-based communications. If you need support for cloud functionality, Windows Server 2022 is the perfect server OS to get invested in.

In conclusion, with the recent release of Windows Server 2022, businesses and organizations can now take their jobs seriously. This new version is tailored more specifically towards professionals in data centers who provide cloud services worldwide!

Why Install Windows Server 2022?

Answer: Windows Server 2022 has New, better, more efficient features

Windows Server 2022 New Features

Let’s look at the new features included in Windows Server 2022 release. Refer to the official Microsoft documentation for complete details on new features and enhancements.

  • Advanced multi-layer security in Server 2022 security module provides the comprehensive protection that servers need in today’s modern tech world.
  • Server 2022 is built on three key pillars: Advanced protection, simplified security, and preventative defense.
  • TLS 1.3 and HTTPS are enabled by default on Windows Server 2022. Typically, this protects clients’ data connecting to the server and eliminates obsolete cryptographic algorithms. It also enhances security over older versions and aims to encrypt as much of the handshake as possible.
  • DNS Client in Server 2022 now supports DNS-over-HTTPS (DoH) which encrypts DNS queries using the HTTPS protocol.
  • New improvements to Windows Admin Center to manage Server 2022 include capabilities to both reports on the current state of the Secured-core features.
  • HotPatching – A new way to install updates on new Windows Server Azure Edition virtual machines (VMs) that doesn’t require a reboot after installation
  • Several platform improvements for Windows Containers, including application compatibility and the Windows Container experience with Kubernetes.
  • Microsoft Edge is included with Windows Server 2022, replacing Internet Explorer.

How to install Windows Server 2022

Installing Windows Server 2022 can be a major change for your organization. 

Note: To ensure you have the necessary tools and resources, carefully read through this guide. You’ll learn how installing a new Windows Server operating system can affect all areas of IT in an effective way that’ll meet current needs while preparing for future innovations. 

Let’s discuss it in detail here below!

Part 1: Windows Server 2022 Hardware Requirements

Before we dive into the installation, let’s look at the minimum hardware/system requirements for installing Windows Server 2022 operating system.

  • Processor: 1.4 GHz 64-bit processor Compatible with x64 instruction set. Supports NX and DEP, CMPXCHG16b, LAHF/SAHF, and prefetch.
  • Memory/RAM: 512 MB (2GB for Server with Desktop Experience installation option). ECC (Error Correcting Code) type or similar technology, for physical host deployments
  • Disk Space: Minimum 32 GB (Windows Server 2022 using the Server Core installation option).
  • Network Requirements: An Ethernet adapter capable of at least 1 gigabit per second throughput. Compliant with the PCI Express architecture specification
  • Additional requirements: UEFI 2.3.1c-based system and firmware that supports secure boot; Trusted Platform Module; Graphics device and monitor capable of Super VGA (1024 x 768) or higher-resolution.

Part 2: Windows Server 2022 Installation Options

Again, when you install Windows Server 2022, what options do you have? 

Answer: You get two installation options to install Windows Server 2022.

Choose the install option that servers you need based on the information provided below.

  • Server Core – In many cases, this is the recommended installation option. Server Core is a smaller installation that includes the core components of Windows Server and supports all server roles. However, it doesn’t include a local graphical user interface (GUI). It’s mostly used for remotely managed deployments usually through PowerShell, Windows Admin Center, or other server management tools.
  • Server with Desktop Experience – If you want a complete installation, including a full GUI, this is your option. This option has a larger footprint than server core. It is the most preferred option by organizations.

Part 3: Step-By-Step Guide to Windows Server 2022 Installation

Let’s dive right in!

Step 1. Download the Windows Server 2022 ISO

The first and most crucial step in installing the new Windows Server 2022 is acquiring the installer file. This file is an ISO that contains the identical content of an optical disc. This file will allow you to create a boot media and then install your new server operating system.

  1. To get the Windows Server 2022 ISO image, you first need to sign up at Microsoft’s official Windows Insider page. Navigate to this webpage in any browser of your choice.
  2. Click on Windows Server 2022, and then select Download the ISO from the available options. Click Continue.
    download windows server 2022 ISO
  3. You’ll be required to fill in your information to be eligible for downloading the Windows Server 2022 ISO image. Make sure to enter your information accurately, as verification may be required later. When done, click Continue.
    windows server 2022 ISO detailed requirements
  4. Choose the language you want to use when installing Windows Server 2022. You can currently choose from 8 different languages, including English, Spanish and Japanese. Once selected, click on the Download button.
    windows server 2022 ISO language selection
  5. The download may take up to a couple of hours to complete. Ensure you don’t disconnect your computer from power or the internet while the process is happening, or else it may be lost!

Step 2. Make the bootable ISO image for Windows Server 2022

After successfully downloading the Windows Server 2022 ISO file, it’s time to prepare your boot environment. You can either install Windows Server 2022 on a physical host or virtual machine using an ISO image.

Follow one of the relevant guides by Microsoft to create your bootable media:

  • Create a Bootable USB Flash Drive
  • Create Windows Server bootable USB (Rufus)

If you have access to MSDN (via Visual Studio Subscriptions and Benefits), you have the option to download Windows Server 2022 ISO from there. All you have to do is generate a new key by clicking Get Key and using this for activation of your installation of Windows Server 2022.

Step 3. Install Windows Server 2022

With the boot media ready, you can now proceed to install Windows Server 2022. As it is an extensive operating system with many editions available for purchase or download, your company may want to choose which edition to install before beginning the process and installing the desired edition properly!

You can pick from the following editions when using the latest Windows Server 2022:

  • Windows Server 2022 Standard
  • Windows Server 2022 Essential
  • Windows Server 2022 Datacenter

As you may know, each version has different strengths, features, and prices. When thinking about licensing, keep in mind that all editions of Windows Server 2022 require a legal license in order to use. Now, let’s get on with the installation process. Continue with the approach you prefer between Server Core and Desktop Experience.

Step 3.1 Installing Windows Server 2022 (Server Core)

If you want to install Windows Server 2022 using Server Core, follow the instructions in this section. Server Core is a minimal installation method that uses a Command Prompt to handle commands on the server. It’s suitable for smaller businesses that need to save space and resources.

  1. Power on your physical or virtual machine using the boot media you created. You’ll be asked to press any key when it asks for an input, which is used as a launching point for installing Microsoft’s newest server operating system.
    boot prompt
  2. Next, you’ll need to select a language of your choice, as well as keyboard layout preference and your time/currency settings. Click «Next» in the window that pops up, and let’s get started!
    windows server region selection
  3. Click on the Install now button to initiate the installation process for Windows Server 2022. This will begin the installation of the Server Core edition of Microsoft’s server platform.
    windoes server 2022 begin installation
  4. In the next window, choose the Windows Server 2022 server option you want to install with Server Core that gives you access and use for some of Microsoft’s powerful command-line tools. Click Next to proceed.
    Select the edition of Windows server 2022 you want to install
  5. Next, you need to read the License terms and agree to them for the installation process to continue by checking the “I accept all license agreements” box.
    accept terms and conditions
  6. When installing, select “Custom: Install Windows Server Operating System only” if you’re installing the OS on a fresh server. Otherwise, if upgrading from a previous version of Windows Server, choose the “Upgrade: Install Microsoft Server Operating System and keep files, settings, and applications” option.
    select your prfered installtion
  7. Select a partition to install Windows Server onto. You can optionally create a new partition or use the entire drive size. When done selecting the designated OS partition, proceed by clicking “Next.”
    partion your operating system
  8. The installer will begin installing the necessary system files. You’ll see when it’s completed, and the system reboots automatically.
    windows server 2022 installtion progress
  9. After a successful installation, the system should immediately reboot and prompt you for an administrator password. Enter this information before re-entering it once again to verify it, and then continue.
    server core interface
  10. Next, you’ll be taken directly into Microsoft’s PowerShell interface, where you can begin managing your newly installed Windows Server 2022 operating system via the Server Core interface.
    serve core interface

Step 3.2 Installing Windows Server 2022 (Desktop Experience)

If you want to install Windows Server 2022 using Desktop Experience, follow the instructions in this section. The Desktop Experience installation has a dedicated GUI (Graphical User Interface) similar to a regular Windows operating system, making server management easier.

  1. Follow the same instructions as the Server Core installation until your system restarts after installing the operating system. Also, make sure to select Desktop Experience when choosing your Windows Server 2022 version.
  2. After your system restarts, you’ll be greeted with a graphical interface. You’ll be prompted to create an administrator password before you can proceed. Click Finish when you’re done.
    desktop experience setup interface
  3. The login screen will appear when you press Ctrl + Alt + Del. Enter the password set in the previous step to continue accessing your server.
    windows log in screen
  4. You should see the Server Manager launch by default. You can begin configuring your server here or explore more options in the Control Panel accessible in the same way as it is on regular Windows operating systems.
    server manager + Dashboard in WIndows server 2022

Step 4. Configure your network on Windows Server 2022

The previous sections covered how to install Windows Server 2022, but now it’s time for configuration. The first things that need configuring on your network are IPs and gateway addresses so that system admins can manage the server remotely and reach other parts of their environments, including internet-based services.

Step 4.1 Network configuration on Windows Server 2022 Server Core

The instructions below will help you configure the network if you installed Windows Server 2022 with a Server Core installation.

  1. To configure the network for Windows Server 2022, run the following command in the Command Prompt area: 
  2. You’ll see a menu open on the screen. Choose option 8 for Network Settings. You’ll be taken to your network configuration page, where all of these adjustments are made for both wired and wireless networks!
    choose the network settings option 8
  3. To begin configuration, you need to select which IP to configure first. In this example case, we’ll choose 1 since our server has only one network connection. Normally, you might see multiple options here — select the one you want to work with first.
    neteork settings interface
  4. Once you have selected your IP for configuration, you can begin customizing your settings. The computer’s network settings will be automatically updated. The process should take no more than five minutes to complete.

Step 4.2 Network configuration on Windows Server 2022 Desktop Experience

The instructions below will help you configure the network if you install Windows Server 2022 with a desktop experience.

  1. Open the Search interface in your taskbar by clicking on the magnifying glass icon. You can also bring it up with the Windows + S keyboard shortcut.
  2. Type in words Control Panel and click on the first matching search result. When it opens, navigate to Network and Internet > Network Connections.
  3. Right-click on the network you want to configure. We only have one network connection to the server computer in our example; however, you may see many possible options. Pick whichever you want to configure, and choose Properties from the context menu.
  4. You can begin configuring the network connection using the GUI, which resembles Windows 10’s.
    configure network in desktop experience

How to install Server 2022 Updates

  1. Click Start > Settings
  2. Select Update and Security. 
  3. Click Check for Updates. 
  4. Now you should see the latest updates available for your Server 2022. 
  5. Click Install Now to begin the installation of updates.

Final thoughts

Congratulations on completing the installation of Windows Server 2022. We hope that you found this guide helpful and that it will help you get up to speed with your new server software. If not, we’re here for you! Our Help Center and Blog offer a variety of articles on how to set up different services and features,so be sure to check there first if you need more information or assistance.

As always, feel free to contact us via available options. We’re here to answer any questions about our product and service offerings.

If you want to get early access to our newest blog posts, promotions, and discount codes, don’t forget to subscribe to our newsletter! You’ll get the best price on all products we offer at SoftwareKeep.

That’s all for today. Thanks for reading today’s article — see you next time!

Read next

» Microsoft Windows Server 2022 Buyer’s Guide
» Pricing and licensing for Windows Server 2022
» Windows Server 2022 vs 2019: Features and Security — All you need to know

Windows Server 2022 Installtion FAQ

How do I get Windows Server 2022?

There are two ways. First, Windows Server 2022 is available in the Microsoft Volume Licensing Center for customers with existing licensing agreements, or in the Azure Marketplace for use as an Azure virtual machine. Or you can get your Windows Server 2022 from SoftwareKeep. Alternatively, you can download evaluation versions from the Windows Evaluation Center, with ISO and VHD installer options.

Can you get Windows Server for free?

No. but Microsoft has a free trial for Windows servers. For example, you can upgrade to Windows Server 2019 or Windows Server 2022 for greater innovation, built-in security, and container support. Get started with a 180-day free trial.

How many editions of Windows Server 2022 are there

There are three editions/versions of Windows Server 2022: Essentials, Standard, and Data Center.

windows server 2022 installation guide

This article is a step-by-step Windows Server 2022 installation guide.

In it, you’ll learn:

  • An overview of Windows Server 2022 installation 
  • Who should install Windows Server 2022
  • Windows Server 2022 new features 
  • How to install Windows Server 2022
  • How to install Server 2022 Updates
  • And many more!

Let’s dive in!

Windows Server 2022 Installation Overview

Windows Server 2022 is based on Windows Server 2019 and was announced in 2021 with a ten-year support cycle. It’s designed for small-to-medium-sized businesses and offers increased stability and performance. 

If you’re looking to upgrade your IT infrastructure to be more reliable and efficient, then the time has never been better!

Some of the new features in Windows Server 2022 include the following:

  • AMD CPUs now support nested virtualization.
  • As the default web browser, Microsoft Edge is bundled with the system.
  • Improved security features to increase protection against all sorts of attacks, such as malware, privacy, and network attacks.
  • Enhancements to UDP/TCP performance.
  • Hybrid capabilities in Azure.

You can find more information on the product page

Who should install Windows Server 2022?

The latest version of Microsoft Windows Server is the perfect fit for businesses and professionals who want to take their job more seriously, or educational institutions can benefit from Windows Server 2022.

It also works well with other professionals like engineers and educational organizations, giving them more uses than before! Windows Server 2022 offers peace of mind for safety-conscious employers in charge of running a business where you want people’s data secure.

Specifically, there has been an increased focus on the cloud, a foundation for data centers that provide our increasingly mobile world with technology-based communications. If you need support for cloud functionality, Windows Server 2022 is the perfect server OS to get invested in.

In conclusion, with the recent release of Windows Server 2022, businesses and organizations can now take their jobs seriously. This new version is tailored more specifically towards professionals in data centers who provide cloud services worldwide!

Why Install Windows Server 2022?

Answer: Windows Server 2022 has New, better, more efficient features

Windows Server 2022 New Features

Let’s look at the new features included in Windows Server 2022 release. Refer to the official Microsoft documentation for complete details on new features and enhancements.

  • Advanced multi-layer security in Server 2022 security module provides the comprehensive protection that servers need in today’s modern tech world.
  • Server 2022 is built on three key pillars: Advanced protection, simplified security, and preventative defense.
  • TLS 1.3 and HTTPS are enabled by default on Windows Server 2022. Typically, this protects clients’ data connecting to the server and eliminates obsolete cryptographic algorithms. It also enhances security over older versions and aims to encrypt as much of the handshake as possible.
  • DNS Client in Server 2022 now supports DNS-over-HTTPS (DoH) which encrypts DNS queries using the HTTPS protocol.
  • New improvements to Windows Admin Center to manage Server 2022 include capabilities to both reports on the current state of the Secured-core features.
  • HotPatching – A new way to install updates on new Windows Server Azure Edition virtual machines (VMs) that doesn’t require a reboot after installation
  • Several platform improvements for Windows Containers, including application compatibility and the Windows Container experience with Kubernetes.
  • Microsoft Edge is included with Windows Server 2022, replacing Internet Explorer.

How to install Windows Server 2022

Installing Windows Server 2022 can be a major change for your organization. 

Note: To ensure you have the necessary tools and resources, carefully read through this guide. You’ll learn how installing a new Windows Server operating system can affect all areas of IT in an effective way that’ll meet current needs while preparing for future innovations. 

Let’s discuss it in detail here below!

Part 1: Windows Server 2022 Hardware Requirements

Before we dive into the installation, let’s look at the minimum hardware/system requirements for installing Windows Server 2022 operating system.

  • Processor: 1.4 GHz 64-bit processor Compatible with x64 instruction set. Supports NX and DEP, CMPXCHG16b, LAHF/SAHF, and prefetch.
  • Memory/RAM: 512 MB (2GB for Server with Desktop Experience installation option). ECC (Error Correcting Code) type or similar technology, for physical host deployments
  • Disk Space: Minimum 32 GB (Windows Server 2022 using the Server Core installation option).
  • Network Requirements: An Ethernet adapter capable of at least 1 gigabit per second throughput. Compliant with the PCI Express architecture specification
  • Additional requirements: UEFI 2.3.1c-based system and firmware that supports secure boot; Trusted Platform Module; Graphics device and monitor capable of Super VGA (1024 x 768) or higher-resolution.

Part 2: Windows Server 2022 Installation Options

Again, when you install Windows Server 2022, what options do you have? 

Answer: You get two installation options to install Windows Server 2022.

Choose the install option that servers you need based on the information provided below.

  • Server Core – In many cases, this is the recommended installation option. Server Core is a smaller installation that includes the core components of Windows Server and supports all server roles. However, it doesn’t include a local graphical user interface (GUI). It’s mostly used for remotely managed deployments usually through PowerShell, Windows Admin Center, or other server management tools.
  • Server with Desktop Experience – If you want a complete installation, including a full GUI, this is your option. This option has a larger footprint than server core. It is the most preferred option by organizations.

Part 3: Step-By-Step Guide to Windows Server 2022 Installation

Let’s dive right in!

Step 1. Download the Windows Server 2022 ISO

The first and most crucial step in installing the new Windows Server 2022 is acquiring the installer file. This file is an ISO that contains the identical content of an optical disc. This file will allow you to create a boot media and then install your new server operating system.

  1. To get the Windows Server 2022 ISO image, you first need to sign up at Microsoft’s official Windows Insider page. Navigate to this webpage in any browser of your choice.
  2. Click on Windows Server 2022, and then select Download the ISO from the available options. Click Continue.
    download windows server 2022 ISO
  3. You’ll be required to fill in your information to be eligible for downloading the Windows Server 2022 ISO image. Make sure to enter your information accurately, as verification may be required later. When done, click Continue.
    windows server 2022 ISO detailed requirements
  4. Choose the language you want to use when installing Windows Server 2022. You can currently choose from 8 different languages, including English, Spanish and Japanese. Once selected, click on the Download button.
    windows server 2022 ISO language selection
  5. The download may take up to a couple of hours to complete. Ensure you don’t disconnect your computer from power or the internet while the process is happening, or else it may be lost!

Step 2. Make the bootable ISO image for Windows Server 2022

After successfully downloading the Windows Server 2022 ISO file, it’s time to prepare your boot environment. You can either install Windows Server 2022 on a physical host or virtual machine using an ISO image.

Follow one of the relevant guides by Microsoft to create your bootable media:

  • Create a Bootable USB Flash Drive
  • Create Windows Server bootable USB (Rufus)

If you have access to MSDN (via Visual Studio Subscriptions and Benefits), you have the option to download Windows Server 2022 ISO from there. All you have to do is generate a new key by clicking Get Key and using this for activation of your installation of Windows Server 2022.

Step 3. Install Windows Server 2022

With the boot media ready, you can now proceed to install Windows Server 2022. As it is an extensive operating system with many editions available for purchase or download, your company may want to choose which edition to install before beginning the process and installing the desired edition properly!

You can pick from the following editions when using the latest Windows Server 2022:

  • Windows Server 2022 Standard
  • Windows Server 2022 Essential
  • Windows Server 2022 Datacenter

As you may know, each version has different strengths, features, and prices. When thinking about licensing, keep in mind that all editions of Windows Server 2022 require a legal license in order to use. Now, let’s get on with the installation process. Continue with the approach you prefer between Server Core and Desktop Experience.

Step 3.1 Installing Windows Server 2022 (Server Core)

If you want to install Windows Server 2022 using Server Core, follow the instructions in this section. Server Core is a minimal installation method that uses a Command Prompt to handle commands on the server. It’s suitable for smaller businesses that need to save space and resources.

  1. Power on your physical or virtual machine using the boot media you created. You’ll be asked to press any key when it asks for an input, which is used as a launching point for installing Microsoft’s newest server operating system.
    boot prompt
  2. Next, you’ll need to select a language of your choice, as well as keyboard layout preference and your time/currency settings. Click «Next» in the window that pops up, and let’s get started!
    windows server region selection
  3. Click on the Install now button to initiate the installation process for Windows Server 2022. This will begin the installation of the Server Core edition of Microsoft’s server platform.
    windoes server 2022 begin installation
  4. In the next window, choose the Windows Server 2022 server option you want to install with Server Core that gives you access and use for some of Microsoft’s powerful command-line tools. Click Next to proceed.
    Select the edition of Windows server 2022 you want to install
  5. Next, you need to read the License terms and agree to them for the installation process to continue by checking the “I accept all license agreements” box.
    accept terms and conditions
  6. When installing, select “Custom: Install Windows Server Operating System only” if you’re installing the OS on a fresh server. Otherwise, if upgrading from a previous version of Windows Server, choose the “Upgrade: Install Microsoft Server Operating System and keep files, settings, and applications” option.
    select your prfered installtion
  7. Select a partition to install Windows Server onto. You can optionally create a new partition or use the entire drive size. When done selecting the designated OS partition, proceed by clicking “Next.”
    partion your operating system
  8. The installer will begin installing the necessary system files. You’ll see when it’s completed, and the system reboots automatically.
    windows server 2022 installtion progress
  9. After a successful installation, the system should immediately reboot and prompt you for an administrator password. Enter this information before re-entering it once again to verify it, and then continue.
    server core interface
  10. Next, you’ll be taken directly into Microsoft’s PowerShell interface, where you can begin managing your newly installed Windows Server 2022 operating system via the Server Core interface.
    serve core interface

Step 3.2 Installing Windows Server 2022 (Desktop Experience)

If you want to install Windows Server 2022 using Desktop Experience, follow the instructions in this section. The Desktop Experience installation has a dedicated GUI (Graphical User Interface) similar to a regular Windows operating system, making server management easier.

  1. Follow the same instructions as the Server Core installation until your system restarts after installing the operating system. Also, make sure to select Desktop Experience when choosing your Windows Server 2022 version.
  2. After your system restarts, you’ll be greeted with a graphical interface. You’ll be prompted to create an administrator password before you can proceed. Click Finish when you’re done.
    desktop experience setup interface
  3. The login screen will appear when you press Ctrl + Alt + Del. Enter the password set in the previous step to continue accessing your server.
    windows log in screen
  4. You should see the Server Manager launch by default. You can begin configuring your server here or explore more options in the Control Panel accessible in the same way as it is on regular Windows operating systems.
    server manager + Dashboard in WIndows server 2022

Step 4. Configure your network on Windows Server 2022

The previous sections covered how to install Windows Server 2022, but now it’s time for configuration. The first things that need configuring on your network are IPs and gateway addresses so that system admins can manage the server remotely and reach other parts of their environments, including internet-based services.

Step 4.1 Network configuration on Windows Server 2022 Server Core

The instructions below will help you configure the network if you installed Windows Server 2022 with a Server Core installation.

  1. To configure the network for Windows Server 2022, run the following command in the Command Prompt area: 
  2. You’ll see a menu open on the screen. Choose option 8 for Network Settings. You’ll be taken to your network configuration page, where all of these adjustments are made for both wired and wireless networks!
    choose the network settings option 8
  3. To begin configuration, you need to select which IP to configure first. In this example case, we’ll choose 1 since our server has only one network connection. Normally, you might see multiple options here — select the one you want to work with first.
    neteork settings interface
  4. Once you have selected your IP for configuration, you can begin customizing your settings. The computer’s network settings will be automatically updated. The process should take no more than five minutes to complete.

Step 4.2 Network configuration on Windows Server 2022 Desktop Experience

The instructions below will help you configure the network if you install Windows Server 2022 with a desktop experience.

  1. Open the Search interface in your taskbar by clicking on the magnifying glass icon. You can also bring it up with the Windows + S keyboard shortcut.
  2. Type in words Control Panel and click on the first matching search result. When it opens, navigate to Network and Internet > Network Connections.
  3. Right-click on the network you want to configure. We only have one network connection to the server computer in our example; however, you may see many possible options. Pick whichever you want to configure, and choose Properties from the context menu.
  4. You can begin configuring the network connection using the GUI, which resembles Windows 10’s.
    configure network in desktop experience

How to install Server 2022 Updates

  1. Click Start > Settings
  2. Select Update and Security. 
  3. Click Check for Updates. 
  4. Now you should see the latest updates available for your Server 2022. 
  5. Click Install Now to begin the installation of updates.

Final thoughts

Congratulations on completing the installation of Windows Server 2022. We hope that you found this guide helpful and that it will help you get up to speed with your new server software. If not, we’re here for you! Our Help Center and Blog offer a variety of articles on how to set up different services and features,so be sure to check there first if you need more information or assistance.

As always, feel free to contact us via available options. We’re here to answer any questions about our product and service offerings.

If you want to get early access to our newest blog posts, promotions, and discount codes, don’t forget to subscribe to our newsletter! You’ll get the best price on all products we offer at SoftwareKeep.

That’s all for today. Thanks for reading today’s article — see you next time!

Read next

» Microsoft Windows Server 2022 Buyer’s Guide
» Pricing and licensing for Windows Server 2022
» Windows Server 2022 vs 2019: Features and Security — All you need to know

Windows Server 2022 Installtion FAQ

How do I get Windows Server 2022?

There are two ways. First, Windows Server 2022 is available in the Microsoft Volume Licensing Center for customers with existing licensing agreements, or in the Azure Marketplace for use as an Azure virtual machine. Or you can get your Windows Server 2022 from SoftwareKeep. Alternatively, you can download evaluation versions from the Windows Evaluation Center, with ISO and VHD installer options.

Can you get Windows Server for free?

No. but Microsoft has a free trial for Windows servers. For example, you can upgrade to Windows Server 2019 or Windows Server 2022 for greater innovation, built-in security, and container support. Get started with a 180-day free trial.

How many editions of Windows Server 2022 are there

There are three editions/versions of Windows Server 2022: Essentials, Standard, and Data Center.

В первую очередь требуется установить ОС Windows Server 2022. В данной инструкции у нас она уже установлена на виртуальной машине.

Минимальные требования:

  • 64-разрядный процессор с тактовой частотой 1,4 ГГц.
  • ОЗУ 512 МБ (2 ГБ для варианта установки Сервер с рабочим столом).
  • Диск 32 ГБ.
  • Доступ к интернету..

После запуска Windows Server 2022, мы устанавливаем роли для настройки терминального сервера и шлюза удаленных рабочих столов.

Заходим в Диспетчер серверов → добавить роли и компоненты.

В оснастке Мастер добавления ролей и компонентов:

  • Тип установки — установка ролей и компонентов.
  • Роли сервера — службы удаленных рабочих столов.

Добавляем роли на сервере:

  • Тип установки — Установка ролей или компонентов.
  • Выбор сервера — Выбираем наш текущий сервер.
  • Роли сервера — Службы удаленных рабочих столов.
  • Службы ролей — Лицензирование удаленных рабочих столов, шлюз удаленных рабочих столов.

Подтверждаем установку компонентов и нажимаем Установить. Перезагружаем сервер.

Настройка сервера лицензирования

Заходим в Диспетчер серверов → Средства → Remote Desktop Services → Диспетчер лицензирования удаленных рабочих столов.

В диспетчере нажимаем ПКМ на наш сервер и выбираем Активировать сервер.

Попадаем в Мастер активации сервера, выбираем метод подключения Авто, вводим свои данные и нажимаем Далее.

В следующем пункте вводим Сведения об организации и нажимаем Далее.

Завершение работы мастера активации сервера выполняется с поставленной галочкой Запустить мастер установки лицензий чтобы попасть в оснастку установки лицензий.

В мастере установки лицензий появятся параметры сервера лицензирования, жмём Далее.

Лицензию выбираем в зависимости от того, какая у вас имеется.

Есть следующие типы лицензии:

  • Пакет лицензий (в розницу).
  • Соглашение Open License.
  • Соглашение Select License.
  • Соглашение Enterprise Agreement.
  • Соглашение Campus Agreement.
  • Соглашение School Agreement.
  • Лицензионное соглашение постановщика услуг.
  • Другое соглашение.
  • Лицензия Select Plus.

В нашем случае мы выбираем Соглашение Enterprise Agreement.

  • Выбираем версию продукта Windows Server 2022.
  • Тип лицензии — Клиентская лицензия служб удаленных рабочих столов на устройство.
  • Количество ставим в зависимости от приобретенной вами лицензией. В нашем случае мы активируем на 10 устройств.

В завершение установки осталось выполнить добавление групповых политик, для этого нажимаем Win+R (или ПКМ по меню Пуск и выбираем Выполнить).

В окне Выполнить вводим gpedit.msc и нажимаем ОК.

Попадаем в Редактор локальной групповой политики. Здесь требуется править две записи. Для того, чтобы указать сервер лицензирования, мы переходим в пункт: Конфигурация компьютера → Административные шаблоны → Компоненты Windows → Служба удаленных рабочих столов → Узел сеансов удаленных рабочих столов → Лицензирование → Использовать указанные серверы лицензирования удаленных рабочих столов>.

Включаем данную политику и вводим требуемый сервер лицензирования. В нашем случае мы будем ссылаться на свой локальный сервер 127.0.0.1 и применяем настройку.

Вызов панели для создания виртуальной машины

Рисунок 1 — Настройка сервера лицензирования

Для второго пункта мы переходи по следующему пути: Конфигурация компьютера → Административные шаблоны → Компоненты Windows → Служба удаленных рабочих столов → Узел сеансов удаленных рабочих столов → Лицензирование → Задать режим лицензирования удаленных рабочих столов.

Включаем политику и указываем режим лицензирования, в нашем случае мы активируем на устройство и применяем настройку.

Далее обновляем групповую политику. Для этого открываем строку Выполнить посредством нажатия комбинации Win+R, вводим команду gpupdate /force, жмём Enter.

Настройка по установке лицензий прошла успешно, далее мы настраиваем шлюз удаленных рабочих столов.

Настройка шлюза удаленных рабочих столов

Шлюз удаленных рабочих столов — это сервис-посредник между клиентами из внешней сети и сеансов внутренней сети, обеспечивает безопасный обмен данными между ними и прослушивает порт 443.
Заходим в Диспетчер серверов → Средства → Remote Desktop Services → Диспетчер шлюза удаленных рабочих столов. Нажимаем ПКМ по папке Политики и выбираем Создание новых политик авторизации. Откроется Мастер создания новых политик авторизации.

Далее выбираем следующие пункты:

  • Политики авторизации — Создать политику авторизации подключений к удаленным рабочим столам и авторизации ресурсов удаленных рабочих столов.
  • Политика авторизации подключений — пишем наименование политики (в нашем случае Users).
  • Требования — выбираем членство в группе для пользователей или компьютеров, которые смогут подключаться к серверу (в нашем случае, мы добавили группу пользователей Пользователи удаленного рабочего стола и Администраторы).
  • Перенаправление устройств — выбираем, что требуется перенаправить (мы выбрали Включить перенаправление устройств для всех клиентских устройств).
  • Время ожидания сеанса — по умолчанию.
  • Сводка по политике авторизации подключений к RD — параметры которые будут созданы в данной политике.
  • Политика авторизации ресурсов — пишем наименование политики (в нашем случае TS).
  • Группы пользователей — выбираем членство в группе для пользователей или компьютеров, которые смогут подключаться к серверу (в нашем случае, мы добавили группу пользователей Пользователи удаленного рабочего стола и Администраторы).
  • Сетевой ресурс — можем настроить группу терминальных серверов, куда можно подключиться, выберем Разрешить подключение пользователей к любому ресурсу (компьютеру).
  • Разрешенные порты — если настроен нестандартный порт, то в этом пункте можно это указать, выбираем Разрешить подключение только к порту 3389.
  • Сводка по политике авторизации ресурсов RD — параметры которые будут созданы в данной политике.

На данном этапе мы завершили настройку шлюза удаленных рабочих столов, за исключением установки сертификата.

Для того, чтобы установить сертификат на шлюз удаленных рабочих столов, мы воспользуемся утилитой win-acme.

Установка сертификата на шлюз удаленных рабочих столов через Let’s Encrypt

Скачиваем программу win-acme.

Копируем в папку C:Scriptswin-acme.

Создаем 2 bat-файла:

Файл C:Scriptswin-acmeRegister.bat:

@echo off

rem powershell.exe

:: Ввод данных:
set /p commonname_Data="Enter Domain name(exampe : v0162.esit.info) : "
powershell -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "Get-WebBinding |  Remove-WebBinding"
powershell -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "New-WebBinding -Name 'Default Web Site' -Port 443 -Protocol https   -SslFlags 0 -IPAddress "*" -HostHeader "*" "
powershell -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "New-WebBinding -Name 'Default Web Site' -Port 80 -Protocol http   -IPAddress "*" -HostHeader "*" "
powershell -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "Set-WebBinding -Name 'Default Web Site' -BindingInformation "*:443:*" -PropertyName  HostHeader  -Value '%commonname_Data%'"
powershell -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "Set-WebBinding -Name 'Default Web Site' -BindingInformation "*:80:*" -PropertyName  HostHeader  -Value '%commonname_Data%'"
@echo on
"C:Scriptswin-acmewacs.exe" --installation script --target iissite --siteid 1 --commonname %commonname_Data% --emailaddress [email protected] --accepttos --script "./scripts/PSScript.bat" --scriptparameters "./scripts/ImportRDGateway.ps1 {5}"

Файл C:Scriptswin-acmeScriptsPSScript.bat:

powershell.exe -ExecutionPolicy RemoteSigned -File %*
  • После этого запускаем C:Scriptswin-acmeRegister.bat.
  • Вводим домен на котором находится наш шлюз удаленных рабочих столов.
  • Если всё получилось, то в оснастке шлюза удаленных рабочих столов должен появится созданный сертификат, а в консоли — готовый результат.

Подключение пользователей

Следующем этапом мы создаем пользователей для подключение к удаленному рабочему столу через шлюз удаленных рабочих столов.

Вводим требуемые поля: пользователь и пароль.

  • В меню пуск находим оснастку Управление компьютером.
  • Нажимаем папку Локальные пользователи.
  • Выбираем папку Пользователи, нажимаем ПКМ → Новый пользователь.

Создаем нового пользователя, убираем срок действия пароля (если нужно) и добавляем его в группу Пользователи удаленного рабочего стола, для этого заходим в Панель управления → Система → Настройка удаленного рабочего стола → Выбрать пользователей → Добавить.

Добавляем созданных пользователей, после чего подключаемся к серверу.

На машине, с которой будем подключаться к серверу, ищем утилиту Подключение к удаленному рабочему столу на Windows 10 она находится по следующему расположению: Пуск → Стандартные → Windows → Подключение к удаленному рабочему столу.

В открытом окне вводим имя нашего сервера или локальный ip-адрес. В нашему случае имя сервера EFSOL-IT. Пользователя указываем, которого создали (EFSOL-ITuser001).

Далее, чтобы указать адрес шлюза удаленных рабочих столов, переходим во вкладку Дополнительно нажимаем Параметры вводим в окне Имя сервера.

Нажимаем ОК → Подключить.

При подключении к удаленному рабочему столу может появиться сообщение о сертификате, мы на него соглашаемся.

Установка терминального сервера произведена и шлюз удаленных рабочих столов успешно настроен.

Нужна помощь? Настройки Windows Server и обслуживание серверов мы осуществляем в рамках услуги ИТ-аутсорсинг. Также возможны разовые проектные работы.

Windows

What Is Windows Server 2022?

Windows Server 2022 is Microsoft’s latest version of Windows Server in the Long-Term Servicing Channel (LTSC). They release new versions on this channel about every three years or so.

The most recent version before Windows Server 2022 was Windows Server 2019. These releases receive ten full years of technical support from Microsoft via Mainstream support (through 10/13/2026) and Extended support (through 10/14/2031).

Table of Contents

  • What Is Windows Server 2022?
    • What are the new features in Windows Server 2022?
  • Prerequisites
    • Hardware requirements
    • Installation options
      • Server with Desktop Experience vs. Server Core
      • How to get installation media
  • Installing Windows Server 2022
  • Post-setup tasks
    • How to configure your network
    • How to install the latest Windows Server updates
  • Conclusion

Over the past few years, the Windows Server team released Windows Server Core releases with breaking new features – these were from the Semi-Annual Channel (SAC). The last release was Windows Server, version 20H2.

These releases are supported for 18 months. So, after August 9th of this year (2022), Microsoft will no longer offer any support for the Semi-Annual Channel of Windows Server.

What are the new features in Windows Server 2022?

Windows Server 2022 is built on the strong foundation of Windows Server 2019 and brings several innovations around three pillars: security, Azure hybrid integration and management, and application platform enhancements. Let’s go through some of the more substantial areas of improvement and innovation.

Secured-core server

A Secured-core server uses firmware, hardware, and driver capabilities to enable advanced security features for Windows Server. The overall design goal is to provide additional security protections that are useful against sophisticated and coordinated attacks.

Transport: HTTPS and TLS 1.3 enabled by default

Secure connections are at the heart of today’s systems on your network and the Internet. Transport Layer Security (TLS) 1.3 is the latest and most secure version of the Internet’s most deployed security protocol.

With HTTPS and TLS 1.3 enabled by default, protecting the data of clients connecting to the server is more streamlined and inherently automatic. To learn more about verifying your applications and services are ready for TLS 1.3, please visit Microsoft’s Security Blog.

Azure Arc enabled Windows Servers

Azure Arc enabled servers with Windows Server 2022 bring on-premises and multi-cloud Windows servers to Azure. The management experience is designed to be consistent whether you’re managing Azure virtual machines or hybrid Windows Server 2022 in your datacenters.

Application platform

There are many platform improvements for Windows Containers. The most impactful enhancements include application compatibility and the Windows Container experience with Kubernetes.

A welcome optimization effort was undertaken and now affords IT Pros a 30% faster startup time and better performance thanks to Microsoft engineers reducing the footprint by up to 40%.

You can now run applications that depend on Azure Active Directory with group Managed Services Accounts (gMSA) without domain joining the container host. In addition, Windows Containers now support Microsoft Distributed Transaction Control (MSDTC) and Microsoft Message Queuing (MSMQ).

Kubernetes also receives some welcome enhancements, including support for host-process containers for node configuration, IPv6, and consistent network policy implementation with Calico.

Microsoft Edge

For the first time in a long time, Internet Explorer is being replaced with Microsoft Edge as the default browser in Windows Server! However, the Internet Explorer application is still included for legacy compatibility.

Prerequisites

Hardware requirements

Because of the highly diverse scope of potential deployments of Windows Server, these guidelines should be considered when planning for your installations and scenarios for Windows Server 2022. These are most pertinent for installing on a physical host or a physical server. These generally include both the Server Core and Server with Desktop Experience installation options.

  1. Processor
    • 1.4 GHz 64-bit processor
    • Compatible with x64 instruction set
    • Supports NX and DEP
    • Supports CMPXCHG16b, LAHF/SAHF, and PrefetchW
    • Supports Second Level Address Translation (EPT or NPT)
  2. Memory (RAM)
    • 512 MB (2 GB for Server with Desktop Experience)
    • ECC (Error Correcting Code) or similar technology for physical deployments
  3. Storage Controller and Disk Space
    • PCI Express architecture specification storage controller
    • 32 GB disk space (minimum for Server Core and IIS Role installed)
  4. Network requirements (adapter)
    • Ethernet adapter capable of at least 1 Gbps throughput
    • PCI Express architecture
  5. Other requirements
    • DVD Drive (if you intend to install Windows using DVD media)
    • UEFI 2.3.1c-based system and firmware to support Secure Boot
    • Trusted Platform Module (TPM)
    • Graphics device and monitor capable of Super VGA (1024×768) or higher resolution
    • Keyboard, Mouse, Internet Access

Installation options

There are two installation options for Windows Server 2022 – Server Core installation (recommended by Microsoft) and Server with Desktop Experience. Let’s go through the basics and pros/cons of each.

Server with Desktop Experience vs. Server Core

For the past 30 years or so, versions of Windows Server were installed with a GUI (Graphical User Interface), now called the Desktop Experience. Starting with Windows Server 2008, Microsoft added a new ‘Server Core’ option that removes the GUI/Desktop environment from the installation and saves disk space, memory usage, security attack footprint, among other enhancements.

Their design goals were to give you a leaner Windows Server footprint, and have you manage it remotely. Efficiency and Security are the primary pros.

The main con to the Server Core option is the ease of manageability, but only at first. You can’t use Remote Desktop Protocol (RDP) to login to the server, install a server role or feature, or run Windows Update from the Control Panel.

However, as you migrate your ‘server management’ methodology to how Microsoft recommends it, you’ll probably find it actually works out better in terms of efficiency and ease of use. You can use Windows Admin Center to install roles and features, check how much disk space is free on your C: drive, and even check for Updates, install them, and schedule the reboot!

You can check out our separate guide on how to install Windows Server 2022 Core.

How to get installation media

There are several methods to download Windows Server and obtain the ISO file/installation media for Windows Server 2022:

  • You can browse your Visual Studio Subscriber Downloads (formerly MSDN Subscriber Downloads) website and download it there.
  • You can also browse the Volume Licensing Service Center (VLSC) or, more recently, the Microsoft 365 admin center. Navigate to Billing -> Licenses and, if you have permissions, you should see a ‘Volume License’ tab across the top to find the download.
  • If you’d like to download a 180-day evaluation ISO, you can browse the Microsoft Evaluation Center here.

Installing Windows Server 2022

OK, enough of my yakking… let’s boogie!

I wrote a series of articles in the summer of 2021 around upgrading my Hyper-V lab of Active Directory to Windows Server 2022. For this article, I have created a new Hyper-V virtual machine and will use this Windows Server VM to install Windows Server 2022.

After configuring the VM with my installation ISO, I started the VM and pressed a key to boot from the ISO.

Windows Server 2022 Setup - Initial Step

Windows Server 2022 Setup – Initial Step

Here, I click Next. And then Install now. (Notice the title bar – instead of saying Windows Server 2016 or Windows Server 2019, it now says ‘Microsoft Server Operating System Setup’).

Click 'Install now' to begin

Click ‘Install now’ to begin

Here, you can optionally enter your product key. This could be a retail key, a Volume License Key (VLK) from your organization, or an evaluation key. Note – You don’t have to enter one now… just click ‘I don’t have a product key’ if you want to handle this post-setup.

Activate Windows Server now or after the installation process is done

Activate Windows now… or later

Here, depending on what installation ISO you obtained, you’ll choose your product edition and the installation type. Here, I will choose ‘Windows Server 2022 Datacenter (Desktop Experience).

Choose what edition and installation option you want for the OS here

Choose what edition and installation option for Windows Server here

Check the box to accept the license terms and click Next.

You should read ALL the license terms before clicking Next

You should read ALL the license terms before clicking Next – 😉

Next, for what type of installation to choose, we’ll go with ‘Custom‘ as we are doing a clean installation with no existing operating system.

Choose  between the Upgrade or Custom installation options

Choose Upgrade or Custom to install Windows Server 2022

You’ll have a single, unallocated partition when doing a clean install, so click Next.

Choosing where to install the OS

Choosing where to install Windows Server 2022

Now, Setup will copy all the installation files, unpack the image, detect devices, and bring you to your first post-setup task.

Microsoft Server Operating System Setup is proceeding

Microsoft Server Operating System Setup is proceeding…

Post-setup tasks

The first step is to create the local Administrator password. Out of the box, this will require a complex password, so make sure it’s difficult enough to crack.

Creating a complex password for the local 'Administrator' account

Creating a complex password for the local ‘Administrator’ account

Then, press Ctrl-Alt-Del, or your virtual equivalent, and log in.

The Windows Server 2022 Lock Screen

The Windows Server 2022 Lock Screen
First screen after logging into Windows Server 2022
The first screen after logging into Windows Server 2022

You will notice that Server Manager launches automatically and reminds you to use Windows Admin Center to manage the server.

See? Microsoft recommends you use the Server Core option so you’re not logging into your servers needlessly. If you won’t do that, though, they will at least ask you to use Windows Admin Center to manage the server remotely. Yes, they are persistent…

Quick Tip – If you don’t want Server Manager to launch upon login, click the Manage menu in the upper right corner, then click Server Manager Properties. Next, check the box ‘Do not start Server Manager automatically at logon‘.

How to prevent Server Manager from loading every time you log on to the server

How to prevent Server Manager from loading every time you log on to the server

How to configure your network

There are quite a few post-setup tasks to perform, but because our environments are so diverse, it’s best to stick to the core tasks that are the most crucial to get your server on your network as soon as possible.

First, the network: It is highly likely that you will be setting a static IP address for your server. To perform this setup, in the Server Manager, click the ‘Configure this local server‘ link at the top.

The 'Local Server' Dashboard in Server Manager

The ‘Local Server’ dashboard in Server Manager

Then, click the hyperlink next to your Ethernet adapter (You may very well have more than one).

Network Connections (Control Panel)

Network Connections (Control Panel)

Right-click on the adapter and click Properties.

Now, click on ‘Internet Protocol Version 4 (TCP/IPv4)’ and click Properties.

Defining a static IP Address for your server's (first) Ethernet adapter

Defining a static IP Address for your server’s (first) Ethernet adapter

Go ahead and click ‘Use the following IP address‘ and enter your pertinent information. You and/or your network team or virtualization team should have the appropriate information to enter here.

Click OK and be sure to test and validate network and Internet access (if that is your design intent) before proceeding.

How to install the latest Windows Server updates

Before putting your new server into testing and/or production, you’ll want to run Windows Update to get the latest security fixes, bug fixes, and any new features.

To do this, back in Server Manager, you can click the hyperlinks in the upper right corner that describe ‘Last installed updates‘, ‘Windows Update‘. This will open the Settings -> Windows Update menu.

How to install the latest Windows Server updates

Start -> Settings -> Update & Security -> Windows Update

Click ‘Check for updates’ and you’ll get the latest cumulative updates for Windows Server, .NET Framework, etc.

After Windows Update prompts you to reboot, go ahead and reboot. Then, for good measure, open Windows Update again, click Check for Updates, just in case there are any more missed during the first run.

Windows Update in the process of downloading and installing the latest patches and updates

Windows Update – In process of downloading and installing the latest patches and updates…

Conclusion

You should now be educated and ready to start installing Windows Server 2022 in a test environment to begin validating your applications and services and see how they work on Windows Server 2022.

If you need more information about Windows Server 2022, Microsoft provides a lot of helpful and solid resources about the latest version of its Server OS. I recommend you to start on the Windows Server Documentation website.

В этой части мы установим и Windows Server Core 2022 (без графического интерфейса).

Рассмотрим установку сервера без графического интерфейса и его начальную настройку.

Нажмите на кнопку «Next».

Нажмите «Install now».

Если вы хотите установить Windows Server 2022 в режиме Server Core (без GUI), то вам нужно выбрать “Windows Server 2022 Standard” или “Windows Server 2022 Datacenter”.

В данном разделе рассматривается установка Windows Server 2022 Standard. Выбираем «Windows Server 2022 Standard» и нажимаем «Next».

Принимаем условия лицензии:

Имеются два варианта установки:

  • Upgrade: обновление существующей ОС. Доступен только если у вас уже установлена предыдущая версия сервера. Многими не рекомендуется такой вариант, так как он зачастую приносит проблемы со стабильность.
  • Custom: свежая установка ОС. Эту опцию мы и выберем, поскольку делаем установку на чистый диск.

Теперь нужно выбрать диск для установки. Если у вас несколько дисков или несколько разделов на одном диске, то вам нужно проявить осторожность и внимательно сделать выбор, чтобы случайно не стереть диск или раздел, которые вы не планировали очищать.

В моём случае всего один пустой диск, поэтому я просто нажимаю кнопку «Next».

Дожидаемся завершения процесса установки.

Как и для настольной версии, необходимо установить пароль администратора:

Дважды введите и запомните пароль администратора сервера. Для переключения между строчками используйте клавишу Tab:

Когда введёте пароль и подтверждение, нажмите Enter.

Система сообщает, что пароль был успешно изменён.

Смотрите также: Какой пароль подойдёт для Windows сервера (Введённый вами пароль не соответствует требованиям сложности пароля)

Включение начнётся с запуска утилиты SConfig.

Через SConfig можно выполнить настройку сети и других свойств системы, но мы не будем на этом останавливаться, поскольку все эти настройки мы выполним более удобным способом. Мы изменим только имя компьютера, с автоматически сгенерированного на более информативное.

Тем не менее, не будет лишним ознакомиться со всеми возможностями SConfig:

1) Domain/workgroup — присоединение компьютера к домену/рабочей группе

2) Computer name — смена имени компьютера

3) Add local administrator — добавить локального администратора

4) Remote management: Enabled — удалённое управление (включено)

5) Update setting: Download only — настройки обновления (только загружать)

6) Install updates — установить обновления

7) Remote desktop: Disabled — удалённый рабочий стол (отключено)

8) Network settings — настройки сети

9) Date and time — дата и время

10) Telemetry setting: Required — настройка телеметрии (требуется)

11) Windows activation — активация Windows

12) Log off user — выйти

13) Restart server — перезапустить сервер

14) Shut down server — выключить сервер

15) Exit to command line (PowerShell) — выйти в командную строку (PowerShell)

Для изменения имени компьютера, в приглашение (Enter number to select an option:) введите номер 2.

Введите новое имя компьютера:

Нам сообщается, что новое имя будет применено после перезагрузки компьютера. Чтобы перезагрузить компьютер прямо сейчас, введите «Y» и нажмите Enter.

Для разблокировки нажмите Ctrl+Alt+Delete:

Введите пароль администратора:

При включении сервера вновь запустится SConfig, если вы хотите отключить автозагрузку SConfig при входе в систему, в меню выберите опцию 15) Exit to command line (PowerShell) чтобы выйти в командную строку (PowerShell) и в командной строке выполните команду:

Set-SConfig -AutoLaunch $false

Более подробно о настройке сервера смотрите: Полное руководство по Active Directory, от установки и настройки до аудита безопасности

Связанные статьи:

  • Как установить Windows Server 2022 (100%)
  • Как изменить сетевое расположение с общедоступного на частное в Windows 10, Windows 11 и Windows Server 2016/2019/2022? (67.4%)
  • В чем разница между Windows и Windows Server? (67.4%)
  • Что такое Домен Windows и как он влияет на мой компьютер? (67.4%)
  • Как установить модуль Active Directory PowerShell на Windows Server, Windows 11 и Windows 10 (67.4%)
  • Как редактировать файл hosts для блокировки сайтов в Windows 10 и Windows 11 (RANDOM — 50%)

В этой заметке рассмотрим, как настроить Windows Server Core в PowerShell. В командной строке также можно настроить и Windows Server с графическим рабочим столом. Будет показано, как изменить имя компьютера, установить статичный IP адрес, настроить DNS сервера и перезагрузить компьютер.

Рассмотрим несколько команд PowerShell для настройки и управления сервером. Их можно выполнять как непосредственно сидя перед компьютером, так и удалённо.

Следующая команда присвоит серверу новое имя (server-core-1) и перезагрузит его, чтобы изменения вступили в силу:

Rename-Computer -NewName server-core-1 -Restart

Обычно для сервера требуется, чтобы он имел статический IP-адрес адрес, вместе с его настройкой нужно установить маску подсети, шлюз и адрес сервера DNS.

Чтобы настроить сетевой интерфейс нужно узнать его индекс:

Get-NetIPAddress

Вы можете использовать следующую команду для более удобного представления информации:

Get-NetIPAddress | Format-Table

На скриншоте видно, что интересующий нас сетевой интерфейс имеет индекс «6». Он единственный является реальным интерфейсом, остальные являются программными (виртуальными) псевдо интерфейсами.

Дополнительно вы можете выполнить сортировку по номеру индекса интерфейса:

Get-NetIPAddress | Sort-Object -Property InterfaceIndex | Format-Table

В качестве примера серверу будет присвоен IP адрес 192.168.1.3, маска подсети 255.255.255.0 (/24) и шлюз 192.168.1.1. Обратите внимание, вы должны заранее понимать, как устроена ваша сеть и знать какие IP-адреса свободны.

Чтобы понимать маски и IP-адреса смотрите статью «IP адрес».

Следующая команда присвоит серверу, то есть сетевому интерфейсу с указанным индексом, IP-адрес, маску и шлюз:

New-NetIPAddress -InterfaceIndex 6 -IPAddress 192.168.1.3 -PrefixLength 24 -DefaultGateway 192.168.1.1

Обратите внимание, что командлет New-NetIPAddress будет корректно работать только при переходе с динамического (DHCP) на статический IP адрес. При смене статического IP адреса и других настроек сети с помощью New-NetIPAddress вы столкнётесь с ошибкой. Начать необходимо с удаления старых настроек, подробности об этом смотрите в статье «Как в PowerShell установить IP, маску сети, шлюз по умолчанию и DNS для сетевого интерфейса».

Убедимся, что настройки успешно применены:

Get-NetIPAddress | Format-Table

Смотрите также: Как настроить сетевой интерфейс на использование динамичного IP адреса (DHCP)

При желании вы можете установить настройки DNS сервера. Но эти настройки всё равно будут переписаны на IP-адрес текущего сервера, так как на нём будет присутствовать роль «DNS Server», которая устанавливается вместе с ролью «Active Directory Domain Services».

Если вы хотите указать один DNS сервер, то используйте команду вида:

Set-DnsClientServerAddress -InterfaceIndex 6 -ServerAddresses IP_DNS

Для указания двух DNS серверов используйте синтаксис:

Set-DnsClientServerAddress -InterfaceIndex ИНДЕКС_ИНТЕРФЕЙСА -ServerAddresses ("IP_DNS_1","IP_DNS_2")

Например:

Set-DnsClientServerAddress -InterfaceIndex ИНДЕКС_ИНТЕРФЕЙСА -ServerAddresses ("8.8.8.8","8.8.4.4")

Проверим, что серверу присвоен корректный IP-адрес, маска подсети, шлюз и адрес сервера DNS, с помощью команды:

Get-NetIPConfiguration

Серверу присвоен корректный IP-адрес, маска подсети, шлюз и адрес сервера DNS.

Смотрите также: Эквивалент IPConfig в PowerShell

Перезагрузить компьютер в PowerShell вы можете командой:

Restart-Computer

Пример команды перезагрузки удалённого компьютера с именем Win-Server-Core и пользователем Administrator:

Restart-Computer -ComputerName Win-Server-Core -Credential Administrator -Force

Подробности смотрите в статье: Как в PowerShell перезагрузить компьютер

Выключить компьютер в PowerShell вы можете командой:

Stop-Computer

Пример команды выключения удалённого компьютера с именем Win-Server-Core и пользователем Administrator:

Stop-Computer -ComputerName Win-Server-Core -Credential Administrator -Force

Подробности смотрите в статье: Как в PowerShell выключить компьютер

Связанные статьи:

  • Как установить Active Directory Domain Services с помощью PowerShell (59.8%)
  • Как установить и использовать Модуль Active Directory для Windows PowerShell (54.2%)
  • Снижение уровня контроллеров домена в Windows Server в PowerShell и графическом интерфейсе (54.2%)
  • Управление ролями и функциями Windows Server с помощью PowerShell (50%)
  • Аналог Add-Computer в PowerShell 7 (50%)
  • Get-ADUser: поиск сведений о пользователях и фильтр пользователей по их свойствам в Active Directory (RANDOM — 50%)

Понравилась статья? Поделить с друзьями:
  • Настройка windows 10 home для максимальной производительности
  • Настройка windows server 2022 rdp без домена
  • Настройка безопасности windows 10 используя групповые политики
  • Настройка windows 10 home 64 bit после установки
  • Настройка windows server 2019 на virtualbox