Custom Operating System Template (Windows)

Organization administrators have the ability to generate a customized operating system template designed for the rapid deployment of remote desktops. This approach is particularly advantageous for environments where you need to activate specific OS licenses within the instance.

Please exercise caution and follow these procedures precisely to ensure the successful creation of the image.

Important: Disk Partitioning Guidelines

1. The customized template should utilize a single disk partition, or alternatively, two distinct partitions: one for EFI/Boot and another 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 functionality and machine naming features.

Windows Configuration Steps

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

When the installer prompts you to select a location for Windows, choose "Load drivers" and select the appropriate driver. Upon doing so, the storage drive will become visible.

Load driver - Virtio SCSI Controller

2. Complete Initial Setup

When prompted to connect to a network, select I don't have internet.

When presented with the option to discover more features, click Continue with limited setup.

Create a user account with a username of your choice, but leave the password field blank.

Initial Setup

3. Install Virtio-win Drivers and Guest Agents

Once the machine has booted and you are logged in, navigate to Drive E: (CD Drive) and execute the Virtio-win-guest-tools installer. This will install the necessary virtio drivers, along with the spice vdagent and qemu guest agent. Click Next and OK to complete the process.

Install Virtio-win

4. Disable Hibernate

Right-click the Start menu and select "Command Prompt (Admin)" or "Run as 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, navigate to the following 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 Start Type to "Automatic"

  • Spice-Vdagent: Required for qemu vnc clipboard support
  • BalloonSerivce: Required for tracking guest memory usage stats

    

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

        

7. Install and Configure TightVNC for Proper VNC Connectivity

Download the TightVNC for Windows installer from https://www.tightvnc.com/download/.

Install the software and ensure that authentication is disabled once the installation 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 sharing between cloud desktops within a training course, or between a user's local PC and the cloud desktop. This functionality leverages WebDAV file sharing technology. You must map the drive before utilizing this feature. Refer to the screenshot below for instructions.

 

Enable Shared-drive in windows

 

9. Shut Down Windows Properly

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

 

 

Additional Notes

To include additional optional features such as:

  • DDWebdav, which enables synchronization of Trainer's content folders to participant machines,
  • or DDUpload, which simplifies the process of uploading files to a DaDesktop machine;

Please reach out to DaDesktop Tech Support.