Custom OS Template (Windows)

Organizational administrators have the capability to generate a Customized OS Template, which serves as the foundation for deploying remote desktops. This approach is also advantageous for activating proprietary licenses within the operating environment.

Adhering to the following procedures is critical for a successful image creation. Proceed with caution.

Important: About Disk Partition

1. A customized template necessitates 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 structure may result in the failure of disk auto-resize and machine naming functionalities.

Windows

1. Install "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. Following this action, the storage drive will become visible.

Load driver - Virtio SCSI Controller

2. Initial Setup

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

When the prompt "There's more to discover..." appears, select Continue with limited setup.

Assign any desired username but leave the password field empty.

Initial Setup

3. Install Virtio-win drivers and guest agents

Once the machine has started and you have logged in, navigate to the CD Drive E and execute Virtio-win-guest-tools. This will install the virtio drivers, the spice vdagent, and the qemu guest agent. Complete the process by clicking next and OK.

Install Virtio-win

4. Disable Hibernate 

Access the "Command Prompt" by right-clicking and selecting "Run as administrator". Enter the command "powercfg.exe /hibernate off" and press Enter.

Turn off hibernate

5. Enable Shutdown/Restart Windows 10 without Any Prompts

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

Create a new String Value named AutoEndTasks and assign it the value 1.

6. Check if the required service exists and set to "Automatic Start"

  • Spice-Vdagent: enables support for qemu vnc clipboard
  • BalloonSerivce: provides guest memory usage statistics

    

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

        

7. Install and configure Tightvnc to allow proper VNC connection

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

Complete the installation and ensure that authentication is disabled upon finishing.

Install Tightvnc

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

Configure tightvnc

 

8. Enable Shared-drive

    The Shared-drive feature facilitates file sharing between cloud desktops in a training context, or between a user's local PC and the cloud desktop. This functionality relies on WebDAV file sharing technology. It is necessary to map the hard drive prior to use. Refer to the screenshot below for instructions.

 

Enable Shared-drive in windows

 

9. Shutdown your Windows properly

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

 

 

Please Note

To incorporate additional optional features such as:

  • DDWebdav, which synchronizes Trainer content folders to participant machines,
  • or DDUpload, which simplifies uploading files to a DaDesktop machine;

Please get in touch with DaDesktop Tech Support.