Home / Server / Windows Server / How to Manage Windows Server Core

How to Manage Windows Server Core

Windows Server Core is a minimal installation option with no desktop GUI — just a command prompt, PowerShell, and a small set of tools. It uses less RAM, has a smaller attack surface, and requires fewer reboots for updates. This guide covers the essential tasks for managing a Server Core machine: initial configuration, remote management, and common day-to-day operations via PowerShell.

Why Run Server Core

Server Core is Microsoft’s recommended deployment option for most server roles. The reduced footprint means fewer processes running, fewer patches to apply, and fewer potential vulnerabilities. For roles like DNS, DHCP, Hyper-V, and file services, there is no functional difference from the GUI version.

The main trade-off is that all configuration happens via PowerShell or remote tools — there is no local Server Manager GUI.

Initial Configuration with SConfig

After installation, type SConfig at the command prompt to open the server configuration menu. This text menu covers the most common setup tasks:

  • Option 1 — join a domain or workgroup
  • Option 2 — set the computer name
  • Option 5 — configure Windows Update settings
  • Option 6 — download and install updates immediately
  • Option 8 — configure network adapter (IP, DNS, gateway)
  • Option 9 — set date and time

Work through options 2, 1 (domain join), and 8 first. Restart when prompted after domain join.

Setting a Static IP via PowerShell

If you skip SConfig for networking:

# Find interface index
Get-NetAdapter

# Set static IP
New-NetIPAddress -InterfaceIndex 4 -IPAddress 192.168.1.50 -PrefixLength 24 -DefaultGateway 192.168.1.1

# Set DNS server
Set-DnsClientServerAddress -InterfaceIndex 4 -ServerAddresses 192.168.1.10

Enabling Remote Management

Once on the network, enable WinRM so you can manage the server remotely from another machine:

Enable-PSRemoting -Force
Set-Item WSMan:\localhost\Client\TrustedHosts -Value "*" -Force

From your management workstation, connect with:

Enter-PSSession -ComputerName ServerCore01 -Credential domain\admin

Or use Windows Admin Center (WAC) — a browser-based management tool that works well with Server Core and provides a GUI-like experience for tasks like disk management, performance monitoring, and role installation.

Installing Roles and Features

Same cmdlets as GUI Server — just run them in PowerShell:

# Install DNS
Install-WindowsFeature DNS -IncludeManagementTools

# Install Hyper-V
Install-WindowsFeature Hyper-V -IncludeManagementTools -Restart

# Install File Services
Install-WindowsFeature FS-FileServer, FS-DFS-Namespace

After installation, manage roles remotely using the RSAT tools on a workstation with a GUI.

Managing Server Core with RSAT

Install Remote Server Administration Tools on a Windows 10/11 workstation:

Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online

Then open tools like DNS Manager, DHCP Manager, Active Directory Users and Computers, or Hyper-V Manager and connect them to your Server Core machine by right-clicking and choosing Connect to another computer. All management happens on your workstation GUI, but the changes apply to the Server Core machine.

Checking Installed Roles

Get-WindowsFeature | Where-Object {$_.InstallState -eq "Installed"}

Event Logs on Server Core

Without Event Viewer, use PowerShell:

# View last 20 System errors
Get-EventLog -LogName System -EntryType Error -Newest 20 | Format-List TimeGenerated, Source, Message

# View Application critical events
Get-WinEvent -FilterHashtable @{LogName='Application'; Level=1} -MaxEvents 10

Disk Management on Server Core

Use DiskPart or PowerShell Storage cmdlets:

# List disks
Get-Disk

# Initialise, partition and format a new disk
Initialize-Disk -Number 1 -PartitionStyle GPT
New-Partition -DiskNumber 1 -UseMaximumSize -AssignDriveLetter
Format-Volume -DriveLetter D -FileSystem NTFS -NewFileSystemLabel "Data" -Confirm:$false

Renaming and Restarting

# Rename computer (requires restart)
Rename-Computer -NewName "FS-CORE01" -Restart

# Schedule restart
shutdown /r /t 60 /c "Applying updates"

# Immediate restart
Restart-Computer -Force

Converting Between Core and Desktop Experience

In Windows Server 2019 and 2022 you can switch between Core and Desktop Experience without reinstalling:

# Add Desktop Experience (GUI)
Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra -Restart

# Remove Desktop Experience (return to Core)
Uninstall-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra -Restart

This is useful for troubleshooting — temporarily add the GUI, diagnose an issue, then remove it again.

Sign Up For Daily Newsletter

Stay updated with our weekly newsletter. Subscribe now to never miss an update!

[mc4wp_form]

Leave a Reply

Your email address will not be published. Required fields are marked *