6.5. Additional Virtual Machine Preparation

In order to make automated logons work and to join the computer to a domain, you need to enable the built‑in Administrator account and disable the Windows Secure Authentication Sequence (Ctrl+Alt+Del). To do this, you have to edit the local security policies in the virtual machine.

In the Windows Start menu, enter run in the search field and press the Return key. The Run dialog is displayed. Enter Local Security Policy in the Open field. The Local Security Policy window is displayed. Select Local Policies and then Security Options. Find the Accounts: Administrator account status policy. Double-click the policy, select Enabled, click Apply, and then click OK. Check that the policy is shown as enabled in the Security Setting column, as shown in Figure 6.18.

Figure 6.18. Administrator Account Policy

The image shows the Windows Local Security Policy. The Administrator Account policy is enabled.

Next find the Interactive logon: Do not require CTRL + ALT + DEL policy. Double-click the policy, select Enabled, click Apply, and then click OK. Check that the policy is shown as enabled in the Security Setting column, as shown in Figure 6.19.

Figure 6.19. Secure Authentication Sequence Policy

The image shows the Windows Local Security Policy. The Interactive Logon policy is enabled.

Close the Local Security Policy window. Now you need to create a password for the built‑in Administrator account. Start the Windows Control Panel, select User Accounts, select the Administrator user, and set a password. Verify that the Administrator account works by logging out of Windows, and then log in again as the Administrator user.

Once you have logged in as the Administrator user, shut down the virtual machine using the Windows Shutdown menu.

Tip

You can also shut down the virtual machine from the VirtualBox menus. If you do this, make sure you select the ACPI shutdown (send the shutdown signal) option as this preserves the state of the virtual machine and causes the virtual machine to shut down normally. If you select the Close (power off the machine) option, you do not preserve the state and you close the virtual machine without a normal shutdown. This can damage the virtual machine.

The virtual machine is now ready to be used as a template for creating desktops. The next step is to create a pool that will be used to create, store, and manage those desktops. Chapter 7, Creating the Desktops shows you how to do this.