Custom OS Template (Windows)

An organization administrator has the capability to construct a Custom OS Template, which serves as the foundation for launching remote desktop instances. This approach is particularly advantageous for activating proprietary licenses on your operating system.

The following steps are critical for creating the image successfully; please proceed with caution.

Important: Disk Partition Guidelines

1. A customized template must utilize a single disk partition, or alternatively, a two-partition setup consisting of an EFI/Boot partition and a combined system/data partition.
2. LVM partitioning is not compatible and should be avoided.
3. An incorrect partition scheme will result in the failure of disk auto-resize and machine naming functionalities.

Windows

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

   During the installation prompt asking "Where do you want to install Windows?", select "Load drivers" and choose the appropriate driver. Once applied, 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.

     If prompted with "There's more to discover...", choose Continue with limited setup.

     Assign any username but ensure no password is set.

Initial Setup

3. Install Virtio-win drivers and guest agents

    After the machine has started and you are logged in, navigate to the CD Drive E and run Virtio-win-guest-tools. This will install the virtio drivers along with spice vdagent and qemu guest agent. Click Next and OK to complete the process.

Install Virtio-win

4. Disable Hibernate 

    Right-click on "Command Prompt" and select "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, locate the key HKEY_USERS\.DEFAULT\Control Panel\Desktop.

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

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

  • Spice-Vdagent : required for qemu vnc clipboard support
  • BalloonSerivce:   required for 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

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

    Proceed with the installation and disable authentication once completed.

Install Tightvnc

    Open the "TightVNC service configuration" window to apply the necessary settings

Configure tightvnc

 

8. Enable Shared-drive

    Shared-drive facilitates file exchange between cloud desktops in a training course or between a user's local PC and the cloud desktop. This functionality relies on WebDAV file sharing technology. You must map the hard drive before use; refer to the screenshot below for instructions.

 

Enable Shared-drive in windows

 

9. Shutdown your Windows properly

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

 

 

Please Note

To incorporate additional optional features such as 

  • DDWebdav, which enables synchronization of Trainer content folders to participant machines,
  • or DDUpload, for streamlined file uploads within a DaDesktop machine;

Please reach out to DaDesktop Tech Support.