After installing Windows Server 2019, it’s essential to
configure the following initial settings to prepare the system for production
or testing use.
👤 1. Add a Local User
Using Computer Management (GUI):
- Right-click
Start > select Computer Management
- Navigate
to Local Users and Groups > Users
- Right-click
in the blank area > choose New User...
- Enter
user details (username, password, etc.)
- Set
options like:
- Uncheck
User must change password at next logon if not needed
- Check
Password never expires if desired
- Click Create,
then Close
Using PowerShell:
#powershell
New-LocalUser -Name "adminuser" -Password
(ConvertTo-SecureString "StrongPassword123!" -AsPlainText -Force)
Add-LocalGroupMember -Group "Administrators"
-Member "adminuser"
💻 2. Set the Computer
Name
Using PowerShell:
#powershell
Rename-Computer -NewName "Server01" -Restart
Using GUI:
- Go to Start
> Settings > System > About
- Click Rename
this PC
- Enter
a new name (e.g., Server01)
- Restart
the server when prompted
🌐 3. Set a Static IP
Address
Using PowerShell:
#powershell
New-NetIPAddress -InterfaceAlias "Ethernet"
-IPAddress 192.168.1.100 -PrefixLength 24 -DefaultGateway 192.168.1.1
Set-DnsClientServerAddress -InterfaceAlias
"Ethernet" -ServerAddresses ("8.8.8.8","8.8.4.4")
Using GUI:
- Open Control
Panel > Network and Sharing Center
- Click Change
adapter settings
- Right-click
your network adapter > choose Properties
- Select
Internet Protocol Version 4 (TCP/IPv4) > click Properties
- Set IP
address, subnet mask, gateway, and DNS
- Click OK
to apply changes
🔄 4. Perform Windows
Update
Using GUI:
- Go to Start
> Settings > Update & Security > Windows
Update
- Click Check
for updates
- Let
the system download and install the latest updates
Using PowerShell (optional):
#powershell
Install-WindowsUpdate -AcceptAll -AutoReboot
Note: You need to install the PSWindowsUpdate module first.
📡 5. Allow ICMP Echo
Reply (Enable Ping)
Using PowerShell:
#powershell
Enable-NetFirewallRule -Name
"FPS-ICMP4-Echo-Reply"
Using GUI:
- Go to Control
Panel > Windows Defender Firewall
- Click Advanced
settings
- On the
left, select Inbound Rules
- Find File
and Printer Sharing (Echo Request - ICMPv4-In)
- Right-click
it > choose Enable Rule
✅ Summary
These basic configurations help ensure that your Windows
Server 2019 is secure, network-ready, and manageable:
- ✅
Create a local user
- ✅
Set a meaningful computer name
- ✅
Configure a static IP address
- ✅
Enable Windows Updates
- ✅
Allow ping (ICMP) for connectivity checks
0 Comments