D 7: Windows Server on Mac M1 or M2 (15 pts)

What You Need for This Project

Installing UTM

In a Web browser, go here:

https://mac.getutm.app/

Download and install UTM.

Downloading the Installer ISO File (180-day Evaluation)

In a Web browser, go here:

https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2022

In the "Get started for free" section, click "Download the ISO", as shown below.

Fill in the form and, at the bottom, click the "Download now" button.

On the next page, in the English column, in the "ISO downloads" box, click 64-bit edition", as shown below.

The file size is 5,044,094,976 bytes (5.05 GB).

The file name is "SERVER_EVAL_x64FRE_en-us.iso", as of May 30, 2023. The SHA-256 hash value is:

3e4fa6d8507b554856fc9ca6079cc402df11a8b79344871669f0251535255325

Installing Windows

Start UTM. Click "Create a New Virtual Machine", as shown below.

In the "Start" box, click Emulate.

In the "Operating System" box, click Other.

In the "Other" box, click the Browse... button. Navigate to the Windows installation ISO you downloaded above.

Your window should look like the image below.

Click the Continue button.

In the "Hardware" box, increase the number of cores to 4, as shown below. Then click the Continue button.

In the "Storage" box, click the Continue button.

In the "Shared Directory" box, click the Continue button.

In the "Summary" box, Give your machine a helpful name, like "Windows Server 2022" and click the Save button.

Your window should look like the image below.

In the large pane on the right side, Click the arrow to start your emulated machine.

When a message appears, saying "Press any key to boot from CD/DVD", click on that screen and press Enter.

A "Microsoft Server Operating System Setup" box appears, as shown below.

Click Next.

On the next screen, click the "Install now" button.

In the "Select the operating system you want to install" box, click "Windows Server 2022 Standard Evaluation (Desktop Experience)", as shown below.

Click Next.

On the next screen, click the "I accept the license terms" box, and click Next.

On the next screen, click "Custom: Install Windows only (Advanced)".

In the "Where do you want to install the operating system" box, click Next.

Wait while Windows installs. This took 45 minutes on my M1.

Your virtual machine restarts twice, and you see the screen shown below.

Enter these values:

Click Finish

Windows starts, as shown below.

Logging In

On your Mac keyboard, press Control + Option + Fn + Delete

At the login screen, enter a password of P@ssw0rd. Then press Enter.

On the right side, a Network pane asks if you want your PC to be discoverable. Click Yes.

Disabling IE Enhanced Security Configuration

This setting prevents you from downloading software directly on the server, which is a poor practice.

We want to allow that, so do these steps:

In Server Manager, on the left side, click "Local Server".

In Server Manager, on the right side, find "IE Enhanced Security Configuration". Click the word On next to it, as shown below.

In the "Internet Explorer Enhanced Security Configuration" box, click both Off buttons, as shown below.

Click OK.

Changing the Display Adapter

On your Windows 2022 emulated machine, right-click the Start button. Shut down the emulated machine.

In the main UTM window, right-click your Windows Server's button and click Edit, as shown below.

On the left side, click Display. On the right side, select an "Emulated Display Card" of "Spice QXL GPU (primary...)", as shown below.

Making the Desktop Larger

Start your Windows Server emulated machine. On the desktop, right-click and click "Display settings".

If you have a satisfactory selection of resolutions available, you're done. There is no need to install the Guest Tools, as explained below.

Installing Guest Tools

This may be necessary for some types of emulated hardware.

On your Windows 2022 emulated machine, launch Edge.

Go to: spice-space.org

At the top right, click Download.

Scroll down to the Guest section, and the "Windows binaries" sub-section.

Click spice-guest-tools, outlined in red in the image below.

Open File Explorer. Open your Downloads folder. Open the file you just downloaded.

Run the installer with the default options.

Flag D 7: OS Name (15 pts)

In a Command Prompt window, type in this command and then press the Enter key:
systeminfo
You should see information about your Windows version, as shown below. The flag is the OS Name, covered by a green rectangle in the image below.

Extending the Trial Period

If you use the machine for several months, you may want to extend your trial. The steps below do that.

In Powershell, execute this command to see how many days you have left in your trial:

slmgr -dlv
Execute this command to extend the trial for another 180 days:
slmgr -rearm
You can extend the trial six times, for up to three years.

Posted 6-9-23