lab | ||||
---|---|---|---|---|
|
Lab: Deploying and configuring Windows Server
Scenario
Contoso, Ltd. wants to implement several new servers in their environment, and they have decided to use Server Core. They also want to implement Windows Admin Center for remote management of both these servers and other servers in the organization.
Objectives
- Deploy and configure Server Core
- Implement and configure Windows Admin Center
Estimated time: 45 minutes
Lab setup
VMs: WS-011T00A-SEA-DC1-B, WS-011T00A-SEA-ADM1-B, WS-011T00A-SEA-SVR4
Username: Contoso\Administrator
Password: Pa55w.rd
For this lab, you’ll use the available virtual machines, WS-011T00A-SEA-DC1-B and WS-011T00A-SEA-ADM1-B.
Exercise 1: Deploying and configuring Server Core
Scenario
As part of a deployment plan, you will implement Server Core and configure it for remote management. WS-011T00A-SEA-SVR4-B is pre-configured to open from the Win2019_1809_Eval.iso to install Windows Server.
The main tasks for this exercise are as follows:
- Install Server Core.
- Configure Server Core with sconfig and PowerShell.
- Install Features on Demand on Server Core.
Task 1: Install Server Core
- Start WS-011T00A-SEA-SVR4-B. Windows will start loading the installation files.
- Install Windows Server 2019 Standard Evaluation.
- Accept the license.
- Perform a custom install.
- Accept the default install location.
- Set the Administrator password to Pa55w.rd.
Task 2: Configure Server Core with sconfig and PowerShell
At the command prompt, open the sconfig tool.
Access the Network Settings.
Modify adapter index #1.
Modify the following settings:
IP: 172.16.10.15
Subnet mask: 255.255.0.0
Default Gateway: 172.16.10.1
Set the DNS server to be 172.16.10.10. Leave the alternate DNS server blank.
Return to the main menu and exit to command line.
Open PowerShell.
Run the
Rename-Computer -NewName SEA-SVR4 -restart -force
cmdlet.Sign in and open PowerShell
Run the
Add-Computer -DomainName Contoso.com -Credential Contoso\Administrator -restart -force
cmdlet. Enter Pa55w.rd when prompted for credentials.
Task 3: Install Features on Demand on Server Core
- Mount the Win2019_FOD.iso image file to drive D of SEA-SVR4.
- Sign in as Contoso\Administrator.
- At the command prompt, run Explorer.exe. Note that command fails and returns an error.
- Open PowerShell.
- At the PowerShell prompt, run
Add-Windowscapability -Online -Name Servercore.Appcompatibility~~~~0.0.1.0 -Source D:
. - Run Restart-computer, and then sign in as Administrator.
- Run Explorer.exe. Note that File Explorer now opens successfully.
Results
After completing this exercise, you will have installed Server Core, configured the networking settings, renamed the server, and joined the Contoso domain. You will have also installed Features on Demand.
Exercise 2: Implementing and using remote server administration
Scenario
Now that you have deployed the Server Core servers, you need to implement Windows Admin Center for remote administration.
The main tasks for this exercise are as follows:
- Install Windows Admin Center.
- Add servers for remote administration.
- Configure Windows Admin Center extensions.
- Verify remote administration.
- Administer servers with Remote PowerShell.
Task 1: Install Windows Admin Center
Connect to WS-011T00A-SEA-ADM1-B.
Sign in as Contoso\Administrator.
Open File Explorer and browse to C:\Labfiles\Mod01.
Double-click or select WindowsAdminCenter1910.2.msi, and then select Enter. Install Windows Admen Center by accepting all the defaults.
Task 2: Add servers for remote administration
- Open Microsoft Edge and go to
Https://Sea-Adm1
. - In Windows Admin Center, add SEA-DC1 and SEA-SVR4.
Task 3: Configure Windows Admin Center extensions
- Open Settings.
- Select Extensions, and then select Feeds.
- Add the package source C:\Labfiles\Mod01.
- Select Available Extensions. Now you can observe the extensions.
- Install the DNS (Preview) extension.
- Switch to the Server Manager module.
- Select DNS and install the DNS PowerShell tools. The tools will take a few moments to install.
- Open the
Contoso.com
zone and observe the console.
Task 4: Verify remote administration
- Select Overview. Note that the details pane contains basic server information performance monitoring much like Task Manager. In the left pane, observe the basic administration tools available.
- Select Roles and Features and note what is installed and what is available to install.
- Install the Telnet Client.
- Open Settings and enable Remote Desktop.
- Close the browser.
Task 5: Administer servers with Remote PowerShell
- Open PowerShell.
- Run the
Enter-PSSession -ComputerName SEA-DC1
cmdlet. - Run the
Get-Service -Name AppIDSvc
cmdlet. Note that the service is currently stopped. - Run the
Start-Service -Name AppIDSvc
cmdlet. - Run the
Get-Service -Name AppIDSvc
cmdlet. The service is running now.
Results
After completing this exercise, you will have installed Windows Admin Center and connected the server to manage. You performed management tasks of installing a feature and enabling Remote Desktop. Finally, you used Remote PowerShell to check the status of a service and start a service.