Custom OS Template (Windows)

Organization administrators have the ability to design custom OS templates for the rapid deployment of remote desktops. This approach is particularly beneficial for activating proprietary licenses within the operating system environment.

Adhering to the following procedures is critical for successfully creating the image. Proceed with caution.

Important: Disk Partitioning Requirements

1. A customized template must utilize a single disk partition, or alternatively, two partitions: one designated for EFI/Boot and the other for system and data storage.
2. LVM partitioning is not supported and should be avoided.
3. An incorrect partition scheme may result in the failure of disk auto-resize and machine naming functionalities.

Windows

1. Install the "Red Hat VirtIO SCSI pass-through controller"

When prompted with the question "Where do you want to install Windows?", select "Load drivers" and choose the appropriate driver. Once selected, the storage drive will become visible.

Load driver - Virtio SCSI Controller

2. Initial Setup

When the system asks "Let's connect you to a network", select I don't have internet.

When presented with "There's more to discover...", choose Continue with limited setup.

Configure a username, but do not set a password.

Initial Setup

3. Install Virtio-win drivers and guest agents

After the machine boots and you have logged in, navigate to the CD Drive E and execute Virtio-win-guest-tools. This installs the virtio drivers along with the spice vdagent and qemu guest agent. Click next and OK to complete the installation.

Install Virtio-win

4. Disable Hibernate

Right-click and open "Command Prompt" as an administrator. Enter the command "powercfg.exe /hibernate off" and press Enter.

Turn off hibernate

5. Enable Shutdown/Restart of Windows 10 Without Prompts

In the registry editor, locate the key HKEY_USERS\.DEFAULT\Control Panel\Desktop.

Create a new String Value named AutoEndTasks and set its value to 1.

6. Verify Required Services and Set to "Automatic Start"

  • Spice-Vdagent: Enables support for qemu vnc clipboard functionality
  • BalloonSerivce: Monitors guest memory usage statistics

Spice-Vdagent for support of qemu vnc clipboardBalloonSerivce for guest memory usage stats

7. Install and configure Tightvnc for Proper VNC Connection

Visit https://www.tightvnc.com/download/ to obtain the TightVNC installer for Windows.

Proceed with the installation and disable authentication once the process is complete.

Install Tightvnc

Open the "TightVNC service configuration" and apply the necessary settings.

Configure tightvnc

8. Enable Shared-drive

The Shared-drive feature facilitates file exchange between cloud desktops within a training session or between a user's local PC and the cloud environment. This functionality leverages WebDAV file sharing technology. It is essential to map the hard drive before utilizing this feature. Refer to the screenshot below for instructions.

Enable Shared-drive in windows

9. Shutdown Windows Properly

Click the Windows icon in the bottom left corner, select Power, and then choose Shutdown.

Important Note

To incorporate additional optional features such as:

  • DDWebdav, which allows trainer content folders to synchronize across participant machines,
  • or DDUpload, for the convenient upload of files within a DaDesktop machine;

Please reach out to DaDesktop Tech Support.