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.17.

Figure 6.17. 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.18.

Figure 6.18. 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, the next step is usually to install any software that users need, and the device drivers for any special devices that users will be using, such as USB printers or storage devices.

The default VirtualBox hardware configuration for a Windows virtual machine uses devices that have drivers that are included with Microsoft Windows by default. Oracle VDI release 3.5 includes support for smart cards in Windows desktops when using VirtualBox. VirtualBox does this by emulating a USB smart card device. However, the drivers for the device are not included with Windows. You should download the drivers for this device and install them. You can download the drivers from:

http://support.identive-infrastructure.com/download_scm/download_scm.php?lang=1

On the download page, select the SCR335 device and the required operating system, browse for the SCR3xxx PC/SC Installer, and then download the SCR3xxx_Win_drivers_only_installer_V<version>.zip file.

If you are using preparing a Windows 7 or later template, Windows might be able to install the required drivers automatically using Windows Update when it detects the device. For a Windows XP template, you must install the device drivers manually. If you do not install the device drivers for the USB smart card device, you might find that desktop cloning fails when you enable that in the next chapter, so it is best to install the drivers now.

Once you have installed the drivers, 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.