Windows server core windows admin center

Windows Admin Center is a locally deployed, browser-based app for managing servers, clusters, hyper-converged infrastructure, and Windows 10 PCs. If you ever asked yourself if Windows Admin Center (WAC) runs on Windows Server Core, the answer is yes. Run and install Windows Admin Center on Windows Server Core, simply copy the MSI installer to the Windows Server, or download it directly. If you are running Windows Server in a Hyper-V virtual machine, PowerShell Direct and be very handy to copy files using the VMBus from the Hyper-V host to the virtual machine.

Copy Windows Admin Center MSI to Windows Server Core VM PowerShell Direct

Download Windows Admin Center (WAC) from here. You can simply use the following commands on your Hyper-V host to copy a file using PowerShell Direct.

$cred = Get-Credential
$s = New-PSSession -VMName WindowsServerInsider -Credential $cred
Copy-Item -Path .\WindowsAdminCenterPreview1908.msi -ToSession $s -Destination "C:\Users\Administrator"

Now you can run the MSI installer for Windows Admin Center. There is also an unattended option for WAC on Windows Server Core. You can find more about installing WAC here.

Install Windows Admin Center on Windows Server Core

After the installation has finished you can now remotely access the Windows Admin Center web portal form your workstation. However, if you install the new Microsoft Edge Insider Preview, which runs on Windows Server Core as well. You can access the console form your local machine. Don’t do that in production, but it is great if you are running demos or you need to troubleshoot the installation.

Install Microsoft Edge on Windows Server Core

You can download the Microsoft Edge Insider from here. Thanks to Jeff Woolsey for the tip.

The new Edge runs on Windows, Windows Server and yes, even Server Core. So, if you need WAC, running locally on Server Core… pic.twitter.com/1Allk4hD61

— Jeff Woolsey (@WSV_GUY) August 21, 2019

If you want to know more about Windows Admin Center check out my blog post and the Microsoft Docs. If you have any questions, please let me know in the comments. By the way, also make sure that you check out the Windows Admin Center Hybrid features, which allows you to easily connect Azure services.

Tags: Install WAC, Install WAC on Server Core, Microsoft, Microsoft Edge, Microsoft Edge Server Core, PowerShell Direct, Server Core, WAC, Windows Admin Center, Windows Server, Windows Server 2019, Windows Server Core Last modified: September 11, 2019

About the Author / Thomas Maurer

Thomas works as a Principal Program Manager & Chief Evangelist Azure Hybrid at Microsoft (Cloud + AI). He engages with the community and customers around the world to share his knowledge and collect feedback to improve the Azure hybrid cloud and edge platform. Prior to joining the Azure engineering team (Cloud + AI), Thomas was a Lead Architect and Microsoft MVP, to help architect, implement and promote Microsoft cloud technology.

If you want to know more about Thomas, check out his blog: www.thomasmaurer.ch and Twitter: www.twitter.com/thomasmaurer

Данная статья предназначена для тех, кто искал подробное и понятное руководство о том, как установить Windows Admin Center на Windows Server 2019 Server Core.

Мы будем рассматривать тот случай, когда у вас уже есть два сервера с установленной на них операционной системой Windows Server 2019 Server Core.

Подробно о том, как установить Windows Server 2019, вы можете прочитать в моем руководстве “Установка Windows Server 2019 Server Core”.

Кроме того, на одном из серверов должна быть установлена роль Active Directory Domain Services, а второй сервер должен быть включен в домен.

Узнать о том, как установить Active Directory Domain Services на Windows Server 2019 с GUI, вы можете, прочитав “Установка Active Directory Domain Services на Windows Server 2019”.

Также в моем руководстве “Установка Active Directory Domain Services на Windows Server 2019 Server Core”, вы можете узнать о том, как установить Active Directory Domain Services на Windows Server 2019 Server Core без GUI.

В данном руководстве в качестве имени сервера, на котором установлен Windows Admin Center, будет использоваться “heva-server-2.heyvaldemar.net”.

Заходим в систему под учетной записью с правами администратора и запускаем Windows PowerShell с помощью команды:

powershell

Установка Windows Admin Center на Windows Server 2019 Server

Загрузим установщик Windows Admin Center в папку “Temp” с помощью команды:

Start-BitsTransfer -Source http://aka.ms/WACDownload -Destination C:\Windows\Temp\wac.msi

Установка Windows Admin Center на Windows Server 2019 Server

Начался процесс загрузки установщика Windows Admin Center.

Установка Windows Admin Center на Windows Server 2019 Server

Установщик успешно загружен в папку “Temp”.

Теперь запустим установку Windows Admin Center с помощью команды:

msiexec /i C:\Windows\Temp\wac.msi /qn /L*v log.txt SME_PORT=443 SSL_CERTIFICATE-OPTION=generate

Установка Windows Admin Center на Windows Server 2019 Server

Windows Admin Center успешно установлен.

Для доступа к панели управления Windows Admin Center необходимо с рабочей станции перейти по ссылке https://heva-server-2.heyvaldemar.net, где heva-server-2.heyvaldemar.net — имя моего сервера. Соответственно, вам необходимо указать имя или IP-адрес вашего сервера с установленным Windows Admin Center.

В данном руководстве в качестве веб-браузера для подключения к “Windows Admin Center” используется Google Chrome.

На следующем шаге вы можете увидеть предупреждение “Your connection is not private”.

Установка Windows Admin Center на Windows Server 2019 Server

Нажимаем на кнопку “Proceed to heva-server-2.heyvaldemar.net (unsafe)”.

Установка Windows Admin Center на Windows Server 2019 Server

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

Нажимаем на кнопку “Sign in”.

Установка Windows Admin Center на Windows Server 2019 Server

Добро пожаловать в панель управления Windows Admin Center.

Нажимаем на кнопку “Skip tour”, чтобы немедленно начать работать с Windows Admin Center.

Установка Windows Admin Center на Windows Server 2019 Server

Теперь добавим сервер, которым планируется управлять при помощи Windows Admin Center.

Нажимаем на кнопку “Add”, которая находится в левом верхнем углу экрана.

Установка Windows Admin Center на Windows Server 2019 Server

В открывшемся меню выбираем “Servers”.

Установка Windows Admin Center на Windows Server 2019 Server

Далее необходимо перейти на вкладку “Search Active Directory”, чтобы добавить сервер, который включен в домен.

Установка Windows Admin Center на Windows Server 2019 Server

В поле “Server name” указываем имя сервера и нажимаем на кнопку “Search”.

В данном руководстве в качестве сервера, который планируется добавить в Windows Admin Center, будет использоваться “heva-server-1.heyvaldemar.net”.

Установка Windows Admin Center на Windows Server 2019 Server

Выбираем найденный сервер и нажимаем на кнопку “Add”.

Установка Windows Admin Center на Windows Server 2019 Server

Сервер успешно добавлен в Windows Admin Center.

Теперь к нему можно подключиться и управлять.

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

Установка Windows Admin Center на Windows Server 2019 Server

Далее необходимо выбрать “Use another account for this connection” и указать имя пользователя и пароль учетной записи, обладающей правами администратора на сервере, которым вы планируете управлять.

Также вы можете отметить пункт “Use these credentials for all connections”, чтобы использовать указанную учетную запись для других подключений.

Нажимаем на кнопку “Continue”.

Установка Windows Admin Center на Windows Server 2019 Server

Подключение к серверу успешно установлено.

Теперь вы можете управлять сервером, используя Windows Admin Center.

Установка Windows Admin Center на Windows Server 2019 Server


Эксклюзивы для подписчиков Patreon

Присоединяйтесь к моему Patreon и погрузитесь в мир Docker и DevOps. Здесь вас ждет эксклюзивный контент, разработанный специально для энтузиастов и профессионалов в области IT. Вашим наставником будет Владимир Михалев, опытный специалист, предлагающий ряд уровней членства от новичков до экспертов.

Что вы получите

🏆 Посты только для патронов: Полный доступ к глубоким статьям, которые раскрывают методы работы с Docker и DevOps, включая пошаговые инструкции, продвинутые советы и подробные анализы, недоступные широкой публике.

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

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

🏆 Влияние на будущий контент: Ваши предложения и отзывы напрямую влияют на выбор тем и создание учебных пособий, делая материалы максимально актуальными и полезными.

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

🏆 Особые скидки: Наслаждайтесь скидками на курсы и предстоящие мероприятия, которые доступны исключительно для членов Patreon.

🏆 Возможности для нетворкинг: Общайтесь с другими IT-специалистами и энтузиастами в поддерживающей атмосфере, расширяя вашу профессиональную сеть и обмениваясь знаниями.

🏆 Искренняя благодарность и обновления: Личная благодарность за вашу поддержку, которая стимулирует создание нового контента и постоянное развитие.

Присоединяйтесь ко мне сейчас и начните свое путешествие по освоению Docker и DevOps с эксклюзивными материалами и поддерживающим сообществом!

Мои курсы

🎓 Погрузитесь в мои обширные курсы по информационным технологиям, разработанные как для энтузиастов, так и для профессионалов. Независимо от того, хотите ли вы освоить Docker, покорить Kubernetes или углубить свои навыки в области DevOps, мои курсы предлагают структурированный путь к повышению вашего технического мастерства.

Мои услуги

💼 Загляните в мой каталог услуг и узнайте, как мы можем сделать вашу технологическую жизнь лучше. Будь то повышение эффективности вашей IT-инфраструктуры, развитие вашей карьеры или расширение технологических горизонтов — я здесь, чтобы помочь вам достичь ваших целей. От DevOps-трансформаций до сборки игровых компьютеров — давайте сделаем ваши технологии непревзойденными!

Пополнить запасы моего кофе

💡 Telegram | Boost

💖 PayPal

🏆 Patreon

💎 GitHub

🥤 BuyMeaCoffee

🍪 Ko-fi

Подпишись

⭐ Telegram | Блог

🎬 YouTube

🐦 Twitter

🎨 Instagram

🐘 Mastodon

🧵 Threads

🎸 Facebook

🧊 Bluesky

🎥 TikTok

💻 LinkedIn

📣 daily.dev Squad

🧩 LeetCode

🐈 GitHub

Этот контент создан искусственным интеллектом?

Нет! Каждая статья — результат моей работы, наполненной страстью к Docker и десятилетиями опыта в IT. Я применяю ИИ для улучшения грамматики, чтобы обеспечить четкость технических деталей, однако все идеи, стратегии и рекомендации исключительно мои. Этот метод иногда может вызывать срабатывание детекторов ИИ, но можете быть уверены, что вся представленная информация и опыт — подлинно мои.

Hello World, 

In our previous post, we have quickly provided a quick overview of the Windows Admin Center (WAC) software solution provided by Microsoft.  Windows Admin Center is a web based administration tool that allows sysadmins to perform their day to day jobs when working in a Windows based network.   Microsoft sells this tool as the next iteration of Server Manager and MMC tools since the tool provides a new way of managing the infrastructure 

In this post,  we will provide a quick step by step guide on how to perform a simple installation of the Windows Admin Center… 

Let’s do this ! 

Overview

More and more companies are moving into Core Editions because it’s more secure but because it has also a smaller footprint and can be patched more quickly as well.  However, not everyone is comfortable with Core editions where administration is done through Command line.   To overcome this situation,  Windows Admin Center can help traditional windows sysadmins to move forward and accept to have more Windows core editions servers running on their network. 

The move to core edition Server is driven by the current economical situation.  Indeed, Shortage of chips, hardware price increase, availability of hardware components pushes companies to do more with less.  To optimize resources, companies have started strong consolidation of their IT Infrastructure, chasing ghost and unused machines.  Another approach also consists of replacing classical admin Remote Desktop Servers which has can be expansive (RDS CAL Licensing) and deploy Windows Admin Center Server which is free and also require a smaller foot print. 

This post will assume that Windows Admin Center Software will be installed on a Core Edition Server and that Windows Admin Center will be installed in a Gateway configuration mode. This mode will allow a windows admin user to add more servers into the web interface and manage from this central web interface multiple servers available on the network.    

click on picture for better resolution – Source : Microsoft – Check this page

Step by Step Installation 

Step 0 – Install Windows 2022 Server Core Edition  

In order to install Windows Admin Center on top of a Core Server,  you will need to first install Windows on a server.  This can be a physical machine or a virtual machine.  We assume that the server will member of an Active Directory Forest/Domain.   To perform a Windows 2022 Core Edition, you can follow the steps provided in our blog to install Windows 2019 Core Edition. The process is exactly identical.

Step 1 – Download the Windows Admin tools 

You will need to obtain the Windows Admin Center software binaries.  You can obtain them by visiting Microsoft web site (https://www.microsoft.com/en-us/windows-server/windows-admin-center) and download the package to your computer and then transfer it to the Windows Core Edition server that will be hosting the Windows Admin Center 

You can also download the package directly from your Windows Core Edition server if it’s connected to the internet.  You will need to go the the Windows PowerShell Console and issue the following command

Invoke-WebRequest -Uri https://go.microsoft.com/fwlink/p/?linkid=2194936 -UserBasicParsing -outfile windowsAdminCenter-xxx.msi

Step 2 – Start the Installation process 

After downloading the windows admin center msi package, go to the directory where the file is located, and start the installation process. You will see the Welcome Page of the Installation Wizard. When ready, click on Next

click on picture for better resolution

In the License Agreement page, accept the Agreements and Press Next

click on picture for better resolution

In the Send Data Page,  specify your choice and Press Next

click on picture for better resolution

In the Update Page, select the option that fits your organization and Press Next

click on picture for better resolution

In the Install Page, Review the information provided and Press Next

click on picture for better resolution

In the Install Page, Select the options that fits your needs and your security Policy.  The options below are usually the standard one used for installing Windows Admin Center  

click on picture for better resolution

Note :  We have not checked the WinRM over HTTPS only because in our lab and in this scenario, we will be using a self signed certificates 

In the Next Page, specify the port to be used (443 is a good option) and we would recommend you to select the option to redirect any HTTP to HTTPS 

click on picture for better resolution

Wait for the installation to complete 

click on picture for better resolution

In the Summary page, review your settings and Click Finish

click on picture for better resolution

Step 3 – Test your installation and access your WAC 

Finally, it’s time to try your newly installed Windows Admin Center.  You will open your “favorite browser” even if Microsoft recommends you to use Edge.  In Edge, provide the url address of the Windows Admin center and see what’s happening 

You might get prompted for some credentials

click on picture for better resolution

If everything is ok,  you will see the Windows Admin Center page loading 

click on picture for better resolution

You will see in the main page, the server that is hosting the Windows Admin Center.  Obviously, you will have now to add servers that needs to be managed into this console and you will be able to access them 

click on picture for better resolution

Since we have just performed the installation, by clicking on the server hosting WAC, you will access a new page that will allow you to perform all necessary administration tasks on a server through a simple Web Browser

click on picture for better resolution

Final Notes 

This is it for this post !  

At this stage, you should have a working installation of Windows Admin Center in Gateway mode.  It’s time for you to see all the options that are available through the web interface and see how you can add additional servers to be managed.   The Tool is really user friendly, not to difficult to use and you can also have access to PowerShell or Remote Desktop, from the browser… WAC can help moving from a traditional way of managing servers (via RDP mainly) into a web interface or even through command line (CLI)

 We might publish some posts about Windows Admin Center to get even more information and configuration tips… but not sure. We need to start working on other topics as well…. 

Till next time 

See ya 

Recently, a blog post from Microsoft caught my attention as the discussion was around the adoption of Window Server 2019 Core edition. Microsoft detailed in this post that Windows Server 2019 Core edition has the fastest adoption rate of any Windows Server Core edition in since it was an official option. One of the boosts to the adoption of Windows Server 2019 Core edition is Windows Admin Center. Windows Admin Center provides the management front end that has long been missing with Windows Server Core edition. In this post, we will take a look at managing Windows Server 2019 Core with Windows Admin Center to get a look at the basic steps you need to manage Windows Server Core with Windows Admin Center as well as a good overview of the capabilities you will have with WAC and Windows Server 2019 Core edition.

What is Windows Admin Center and Why is it Important with Windows Server Core?

As I mentioned above, the Windows Admin Center solution is the long missing piece that Microsoft has needed to make Windows Server Core edition a success and a release that customers will actually pick when installing Windows Server in their environments.

The benefits to running Windows Server Core edition are obvious. You get a minimized security footprint, a much smaller, less bloated server operating system and a Windows Server version that provides what many have been looking for to compete with Linux installations over the years, simplicity.

Installing-Windows-Server-2019-Core-without-the-Desktop-experience

Installing Windows Server 2019 Core without the Desktop experience

However, the old Windows Server GUI administration mentality has long plagued the Windows Server Core edition. Many have struggled to be able to effectively manage Windows Server Core edition when coming from the GUI-driven Windows Server interface that administrators love/hate.

With the struggles that many IT admins have had with effectively interacting with Windows Server Core edition and being able to properly install, manage, configure, and troubleshoot the platform, many simply forgo the benefits of the minimized operating system and simply install the Windows Server Desktop version.

Windows Admin Center is a brand new management solution from Microsoft that is set to change the way administrators interact with Windows Servers, both GUI and Core versions. The great news as well with WAC is that it is free. This is no paid solution and is readily available from Microsoft as a free download.

What I really like about WAC is the way it brings all the tools that we know and love under one management tool. You have all the standard tools that you are used to with Windows Server, all in a single dashboard and readily accessible.

Windows Admin Center provides an extremely effective way to manage Windows Server. It is installed either on Windows Server or Windows client operating systems like Windows 10.

There are two installation modes:

  • Local Client – Install on a local Windows 10 client that has connectivity to the managed servers. Great for quick start, testing, ad-hoc or small scale scenarios.
  • Gateway Server – Install on a designated gateway server and access from any client browser with connectivity to the gateway server. Great for large-scale scenarios.
Local-Client-vs-Gateway-Server-installation-of-Windows-Admin-Center

Local Client vs Gateway Server installation of Windows Admin Center

Windows Admin Center, once installed, is accessed via a web browser. This allows easily accessing your WAC dashboards and managed servers for easy administration. In gateway server mode, you can have WAC installed on a server that everyone logs into for administration. This helps to centralize the layout of your tools in the environment for managing your servers by means of a management server running WAC for centralized administration.

Installing Windows Admin Center

The process to install Windows Admin Center is very straightforward. First, you will want to snag the latest release of WAC. The link below will take you directly to be able to download the latest releases.

  • https://docs.microsoft.com/en-us/windows-server/manage/windows-admin-center/understand/windows-admin-center

There is always the Preview version that contains all the features up to this point, however, may have some stability issues and other bugs.

There is always a stable, broadly tested version on the page as well that is probably the best option for use in production.

Beginning-the-installation-of-Windows-Admin-Center

Beginning the installation of Windows Admin Center
Allowing-Windows-Admin-Center-to-customize-the-trusted-hosts-entries

Overview of the installation modes during setup
Overview-of-the-installation-modes-during-setup

Overview of the installation modes during setup
Windows-Admin-Center-automatially-updates-trusted-hosts

Select-the-port-to-use-with-Windows-Admin-Center

Select the port to use with Windows Admin Center
Ready-to-manage-your-Windows-Server-2019-Core-install-with-Windows-Admin-Center

Ready to manage your Windows Server 2019 Core install with Windows Admin Center

Managing Windows Server 2019 Core from Windows Admin Center

The first thing you will want to do in Windows Admin Center is Add the server you want to manage with Windows Admin Center. There is a special configuration we need to enable for Windows Server Core however.

Below, I am attempting to add the Windows Server 2019 Core server to Windows Admin Center without any configuration changes. As you can see, Windows Admin Center attempts to add the server, but tells you basically that it can’t connect to the server in question. You can go ahead and add it to Windows Admin Center, but most likely you will not be able to manage it, unless you have made a chance to your Windows Server Core installation.

Notice the message below, “You can add this server to your list of connections, but we can’t confirm it’s available.” Inevitably, this means that it is not communicating with your Windows Server Core server.

Attempting-to-add-a-Windows-Server-2019-Core-server-to-Windows-Admin-Center

Attempting to add a Windows Server 2019 Core server to Windows Admin Center

Enable Remote Management for Windows Server 2019

If you have used any version of Windows Server Core edition prior to Windows Server 2019, you are most likely already familiar with sconfig. If not, it is easy to become acquainted with this utility. It provides a simple, menu driven interface that allows you to quickly perform very common admin tasks on your Windows Server Core installation. By default, this utility launches once you login with Windows Server Core.

Notice Option 4 – Configure Remote Management. This simple menu option allows you to configure the remote management configuration for your Core installation, simply and easily.

Configuring-remote-management-on-Windows-Server-2019-Core-with-sconfig

Configuring remote management on Windows Server 2019 Core with sconfig

After choosing option 4, select Option 1 – Enable Remote Management.

Enable-Remote-Management-using-sconfig

Enable Remote Management using sconfig

You will quickly see a dialog box pop up saying Successfully enabled Remote Management which confirms the remote management features and connectivity settings have been enabled.

Successfully-enabled-remote-management-using-sconfig

Successfully enabled remote management using sconfig

Now we get a different response. Windows Admin Center is now able to connect remotely to the Windows Server Core installation. Now, we are simply being prompted for credentials. You have a few options here.

Windows-Admin-Center-can-now-connect-since-Remote-Management-has-been-configured

Windows Admin Center can now connect since Remote Management has been configured

Now let’s take a look at Managing Windows Server 2019 Core with Windows Admin Center. There are so many things you can do with Windows Admin Center that makes life very easy to manage Windows Server 2019 Core installations. Let’s go through a few of the capabilities of Managing Windows Server 2019 Core with Windows Admin Center.

As mentioned earlier, one of the hurdles to using Windows Server Core is the lack of easy GUI tools to configure, manage, and interact with the system.

Adding Roles and Features

No doubt, one of the first things you will want to do with your Windows Server 2019 Core installation is add roles and features to the server. Whether, you are going to use it as a domain controller, file server, DNS, DHCP, etc, you will need to install the appropriate role.

Using Windows Admin Center, simply clcik the Roles & Features menu. Once you highlight a role/feature, you can place a check in the box next to it. This enables the +Install button at the top. This makes Roles & Features installation easy on Windows Server 2019 Core.

Adding-Roles-and-Features-to-Windows-Server-2019-Core-with-Windows-Admin-Center

Adding Roles and Features to Windows Server 2019 Core with Windows Admin Center

Remote PowerShell with Windows Admin Center

Using Remote PowerShell on your Windows Server 2019 Core installation is extremely easy with Windows Admin Center. Click the PowerShell menu option on the left. You will then be prompted for credentials on your Windows Server 2019 Core server. Enter your credentials and you will be able to use remote PowerShell right from the interface of Windows Admin Center!

Using-remote-PowerShell-with-Windows-Admin-Center-on-your-Windows-Server-2019-Core-installation

Using remote PowerShell with Windows Admin Center on your Windows Server 2019 Core installation

Enable Remote Desktop with Windows Admin Center

You will most likely want to have Remote Desktop enabled on your Windows Server 2019 Core installation. Under the Settings menu > Remote Desktop you will have the familiar menu presented to enable remote desktop with NLA and other options.

Enable-remote-desktop-on-Windows-Server-2019-Core-using-WAC

Enable remote desktop on Windows Server 2019 Core using WAC

Managing Windows Server 2019 Core Services with Windows Admin Center

Managing your Windows Server 2019 Core services is easily accomplished using Windows Admin Center. Click Services and you will see your services with the ability to start, pause, and configure settings for the services.

Managing-services-on-Windows-Server-2019-Core-with-Windows-Admin-Center

Managing services on Windows Server 2019 Core with Windows Admin Center

Configure Network Settings Remotely on Windows Server Core

Windows Admin Center Network menu allows you to configure your network settings for the Windows Server Core installation. You can change all the expected settings from address, gateway, DNS, and others.

Configure-network-settings-on-Windows-Server-2019-Core-with-Windows-Admin-Center

Configure network settings on Windows Server 2019 Core with Windows Admin Center

Configure System Insights

System Insights provides a powerful, predictive analytics, performance, and monitoring platform, built right into Windows Admin Center. When you click on System Insights, you will be prompted to Install the plugin. This will be done for you automatically.

Configure-System-Insights-from-Windows-Admin-Center

System Insights information gathering for Windows Server 2019 Core

After installing System Insights, you will have the ability to forecast CPU, networking, storage consumption, and volume consumption. Keep in mind it will take a while for the initial metrics to pull and the forecast to be generated. This provides a great tool for capacity management and other purposes.

System-Insights-information-gathering-for-Windows-Server-2019-Core

System Insights information gathering for Windows Server 2019 Core

Enable Azure Backups

Windows Admin Center provides great built-in integration with Microsoft Azure. Backup is a great example of this. Right from the Windows Admin Center interface, you can configure Azure Backup for your Windows Server Core installation.

Configure-Azure-Backup-from-Windows-Admin-Center

Configure Azure Backup from Windows Admin Center

Viewing Events on your Windows Server 2019 Core Server with Windows Admin Center

Viewing events on the server by using the Events menu allows viewing all the expected event logs as you would see in the normal management console locally on the server.

Viewing-events-on-your-Windows-Server-Core-server-from-Windows-Admin-Center

Viewing events on your Windows Server Core server from Windows Admin Center

Managing Files Remotely on your Windows Server 2019 Core Installation

Using the Files menu, you can easily browse the files on your remote Windows Server Core server.

Browsing-files-remotely-on-your-Windows-Server-2019-Core-server

Browsing files remotely on your Windows Server 2019 Core server

Remotely Managing Windows Firewall using Windows Admin Center

Managing your Windows Firewall settings using Windows Admin Center provides all the functionality you will need to configure your firewall exceptions and configuration.

Managing-firewall-settings-remotely-using-Windows-Admin-Center

Managing firewall settings remotely using Windows Admin Center

Managing Local Users and Groups with Windows Admin Center

Using Windows Admin Center, you can easily add local users and groups to your remote Windows Server Core installation.

Managing-Local-Users-and-Groups-with-Windows-Admin-Center

Managing Local Users and Groups with Windows Admin Center

View PowerShell Script Examples

One of the coolest features I like about Windows Admin Center is that it gives you tons of PowerShell script examples in the context of each menu you are in. For example, below, we are in the Files menu. If you hit the PowerShell icon as pointed out, you will have a dropdown menu under Script that gives you many examples of PowerShell scripts in the context of working with your Files. The same is true of all the other menus. Really, really cool.

Viewing-PowerShell-Scripts-for-each-menu-in-context

Wrapping Up

Managing Windows Server 2019 Core with Windows Admin Center is the gold standard for managing your Windows Server Core installations moving forward. Windows Admin Center is a game changer for the adoption rate of Windows Server Core installations across the board.

It provides all the needed tools in a single pane of glass management interface that allows easily configuring, managing, and provisioning needed components on your Windows Server Core installations. Since it is a free download from Microsoft, there is no downside to downloading the tool and using it.

Время на прочтение5 мин

Количество просмотров35K

В данной статье мы продолжаем рассказывать про работу с Windows Server Core 2019. В прошлых постах мы рассказали как готовим клиентские виртуальные машины на примере нашего нового тарифа VDS Ultralight с Server Core за 99 рублей. Затем показали как работать с Windows Server 2019 Core и как установить на него GUI. Сегодня мы поговорим про управление с помощью Windows Admin Center. 

Фото: ТАСС

Головной болью было, наверное, по соображениям безопасности, разделять роли серверов. Заводить несколько машин, чтобы физически разделить контроллер домена и файловый сервер.
Благо нам на помощь пришла виртуализация, и теперь изолированно друг от друга могут работать несколько служб, которые из соображений безопасности не могут работать на том же сервере. Виртуализация принесла массу удобства, развертывание виртуальных машин из одного шаблона экономит время специалистам, и физически, все в одной коробке с мощным железом.

Машин все меньше, а серверов все больше, даже у меня, для «просто посмотреть» образовалось два контроллера домена, файловый сервер, сервер под Java приложения и еще пачка веб серверов, поэтому давайте поговорим о том, как можно эффективно управлять серверами на Windows, не отрывая левой руки от кофе.

— С помощью Powershell!

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

TL;DR

Windows Admin Center лучше подходит для управления стоковыми компонентами. На текущий момент только RSAT может управлять установленными ролями. 

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

Сводная таблица того, он умеет и не умеет:

Управление системой

Управление ролями

Превью — установка бета версий компонентов для WAC, не входит в состав сборки. Перечислять все не нужно, потому что буквально все компоненты управляются только с помощью RSAT.

Нюансы

Powershell в Windows Admin Center не имеет своей среды сценариев аналогичной Powershell ISE.
Windows Admin Center не поддерживает Powershell ниже 5.0, на старых машинах обязательно нужно ставить новый Powershell, если хотите использовать его.

Главным минусом Windows Admin Center в микро инстансах является потребление оперативной памяти сервера. Он создает четыре сессии по 50-60 мегабайт каждая, и каждая эта сессия остается даже после закрытия Windows Admin Center. 

Та же самая проблема и с Powershell через Enter-PSSession, он так же создает новую сессию, и если просто закрыть окно терминала, сессия весом и 70 мегабайт так и останется на удалённом сервере, если её не закрыть её перед выходом с помощью Exit-PSSession или Remove-Pssession.
При использовании Windows Admin Center с этим придется мириться, он отнимет около 170 мегабайт ОЗУ, RSAT таким не страдает.

(См. wsmprovhost.exe)

Упрощаем работу

Максимальное удобство управления достигается если ваша рабочая станция, на которой установлен WAC находится в домене. Он берет учетные данные пользователя, который зашел в систему, подключение к серверам осуществляется по одному щелчку мыши.

Импортировать список серверов можно с помощью txt файла, перечислив имена серверов переносом строки, как и в RSAT.

Что тоже радует, ранее, чтобы интегрировать в AD виртуальную машину на Server Core, приходилось делать это через sconfig, а это значит нужен прямой доступ к его экрану. В случае с хостингами приходилось делать все это через VNC. Теперь, при переходе на главную страницу можно нажать «Изменить идентификатор компьютера» и ввести в домен.

Кстати, чтобы ввести в домен Windows Server 2019, больше не требуется делать Sysprep, потому что Sysprep тоже нужно было завершать через VNC.

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

Это выходит так же быстро, как и через WinRM, только одной рукой.

Повышаем безопасность

На текущий момент есть четыре типа развертывания. Локальный, в качестве шлюза, установка на один из продакшн серверов и в составе кластера.

*Картинка с сайта майкрософт

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

Согласитесь, гораздо удобнее держать на одной вкладке видосы и мемасы, а на другой Windows Admin Center, нежели целиком терять подключение к ютубу из-за входа в защищенную сеть.
Как же обезопасить все свои N серверов? С помощью следующего скрипта:

## Список серверов через запятую ##
$servers = Get-Content -Path .\Servers.txt
## Список правил через перенос строки ##
$rules = Get-Content -Path .\Rules.txt
## IP адрес нашего гейта с установленным WAC ##
$gate = "1.1.1.1"
 
$MySecureCreds = Get-Credential
 
foreach ($server in $servers.Split("`n")) {
    foreach ($line in $rules.Split("`n")) {
        Invoke-Command -ComputerName $server -ScriptBlock {
            Set-NetFirewallRule -Name $Using:line -RemoteAddress $Using:gate 
        } -Credential $MySecureCreds 
    }
}

# список правил, RULES.txt#
 
RemoteDesktop-UserMode-In-TCP
RemoteDesktop-UserMode-In-UDP
WINRM-HTTP-In-TCP
WINRM-HTTP-In-TCP-PUBLIC

# список ваших серверов, SERVERS.txt#
 
1.1.1.1, 1.1.1.2, 1.1.1.3

Этот скрипт изменит стандартные правила брандмауэра таким образом, что вы сможете использовать RDP и WinRM только с определенного IP адреса, понадобится для организации безопасного доступа к инфраструктуре.

Powershell в Windows Admin Center не имеет своей среды сценариев аналогичной Powershell ISE, можно только вызывать готовые скрипты.

Кстати, вот так выглядит RDP на Windows Server Core.

Выводы

На текущий момент Windows Admin Center не способен заменить RSAT, однако в нём уже присутствуют функции, которых нет у RSAT. Добавляются старые оснастки, которые не так удобны для управления через браузер.

Странным является приоритет разработки, наиболее активно добавляются функции интегрированные с Azure, хостингом от Майкрософт, вместо реально полезных функций.
К сожалению, пока что, управлять всеми функциями Windows Server с удобствами можно только подключившись к нему по RDP.

Не смотря на все минусы, у Windows Admin Center есть свой SDK, с помощью которого можно писать свои собственные модули и управлять своим собственным ПО через него, что однажды сделает его лучше RSAT.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Как очистить кэш windows update
  • Сочетание клавиш для поворота экрана windows 10
  • Как добавить шрифт в wps office windows
  • Soft 7 windows 7 loader
  • Работа с групповыми политиками windows 10