Lab answer key: Managing Windows Server
Exercise 1: Implementing and using remote server administration
Task 1: Install Windows Admin Center
- Connect to SEA-ADM1, and if needed, sign in with the credentials provided by the instructor.
- On SEA-ADM1, select Start, and then select Windows PowerShell (Admin).
-
In the Windows PowerShell console, enter the following command, and then press Enter to download the latest version of Windows Admin Center:
$parameters = @{ Source = "https://aka.ms/WACdownload" Destination = ".\WindowsAdminCenter.exe" } Start-BitsTransfer @parameters
-
Enter the following command, and then press Enter to install Windows Admin Center:
Start-Process -FilePath '.\WindowsAdminCenter.exe' -ArgumentList '/VERYSILENT' -Wait
Note: Wait until the installation completes. This should take about 2 minutes.
Note: After installation completes, you may encounter the error message ‘ERR_Connection_Refused’. If this occurs, restart SEA-ADM1 to correct the issue.
Task 2: Add servers for remote administration
-
On SEA-ADM1, start Microsoft Edge, and then go to
https://SEA-ADM1.contoso.com
.Note: If the link does not work, on SEA-ADM1, open File Explorer, select Downloads folder, in the Downloads folder select WindowsAdminCenter.msi file and install manually. After the install completes, refresh Microsoft Edge.
Note: If you get NET::ERR_CERT_DATE_INVALID error, select Advanced on the Edge browser page, at the bottom of page select Continue to sea-adm1-contoso.com (unsafe).
- When prompted, in the Windows Security dialog box, enter the credentials provided by the instructor.
- Review all tabs on the Configure your Windows Admin Center Settings and environment pop-up window, including the Extensions tab and select Complete to close the window.
- Review the New in this release pop-up window and select Close in its upper-right corner.
- Review the All connections page and note that it includes the sea-adm1.contoso.com entry.
- On the All connections page, select + Add.
- In the Add or create resources pane, on the Servers tile, select Add.
- In the Server name text box, enter sea-dc1.contoso.com.
-
When prompted, sign in by using the credentials provided by the instructor.
Note: To perform single sign-on, you would need to set up Kerberos constrained delegation.
Task 3: Configure Windows Admin Center extensions
- On SEA-ADM1, in the upper-right corner of the Microsoft Edge window displaying Windows Admin Center, select the Settings icon (the cog wheel).
- In the left pane, select Extensions. Review the available extensions.
- Select the DNS extension, and then select Install. The extension will install and Windows Admin Center will refresh.
- In the details pane, select Installed extensions and verify that the list includes the extension you just installed.
- On the top menu, next to Settings, select the drop-down arrow, and then select Server Manager.
-
On the Server connections page, select the sea-dc1.contoso.com link.
- To install the DNS PowerShell tools, in the left pane, in the list of Tools, select DNS, and then select Install. The tools will take less than a minute to install.
- Select the Contoso.com zone and review the list of its DNS records.
Task 4: Verify remote administration
- On SEA-ADM1, in Windows Admin Center, in the left pane, in the list of Tools, select Overview. Note that the details pane of Windows Admin Center displays basic server information and performance monitoring.
- In the left pane, in the list of Tools, scroll down and review the basic administration tools available. Select Roles & features and note which roles and features are listed as installed and which ones are available to install. Scroll down, select the Telnet Client checkbox, and then select + Install at the top of the pane.
- In the Install Roles and Features pane, select Yes and wait for the message confirming that Telnet Client was installed successfully.
- At the very top of the left pane, below the list of Tools, select Settings.
- In the Settings section on the right side, select Remote Desktop.
- In the Remote Desktop section, select the option Allow remote connections to this computer checkbox, and then select Save.
- In the left pane, in the list of Tools, select Remote Desktop.
- In the Remote Desktop pane, enter the password given by the instructor, then select the Automatically connect with the certificate presented by this machine checkbox, and then select Connect.
- When prompted, select Confirm, and then select Connect.
- Verify that you successfully connected via Remote Desktop to SEA-DC1 within the Windows Admin Center interface.
- Select Disconnect.
- Close the Microsoft Edge window.
Task 5: Administer servers with Remote PowerShell
- On SEA-ADM1, switch to the PowerShell console session.
-
In the Windows PowerShell console, enter the following command, and then press Enter to start a PowerShell Remoting session to SEA-DC1:
Enter-PSSession -ComputerName SEA-DC1
-
From the [SEA-DC1] prompt, enter the following command and press Enter to display the status of the Application Identity service (AppIDSvc):
Get-Service -Name AppIDSvc
Note: Verify that the service is currently stopped.
-
From the [SEA-DC1] prompt, enter the following command and press Enter to start the Application Identity service:
Start-Service -Name AppIDSvc
-
From the [SEA-DC1] prompt, enter the following command and press Enter to display the status of the Application Identity service (AppIDSvc):
Get-Service -Name AppIDSvc
Note: Verify that the service is currently running.
Results
After completing this exercise, you will have installed Windows Admin Center and connected it to the servers in your lab environment. You performed a number of remote management tasks including installing a feature as well as enabling and testing Remote Desktop connectivity. Finally, you used PowerShell Remoting to check the status of a service and then to start it.