Custom OS Template (Windows)

Organization administrators have the capability to build a customized OS Template, which serves as a base for provisioning remote desktop instances. This approach is particularly beneficial for activating your own specific licenses on the operating system.

Following these steps is critical to ensuring the image is created successfully. Please proceed with caution. 

Important: Disk Partition Guidelines

1. The customized template should utilize a single disk partition, or alternatively, two partitions: one designated for EFI/Boot and the other for system and data storage.
2. LVM partitions are not supported and should be avoided.
3. An incorrect partition structure will prevent the disk auto-resize and machine naming features from functioning correctly.

Windows

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

   When the prompt "Where do you want to install Windows?" appears, select "Load drivers" and choose the appropriate driver. The storage drive will then become visible.

Load driver - Virtio SCSI Controller

2. Initial Setup

     Select I don't have internet when prompted to connect to a network.

     Choose Continue with limited setup when presented with the option "There's more to discover..."

     Set a username but leave the password field blank.

Initial Setup

3. Install Virtio-win drivers and guest agents

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

Install Virtio-win

4. Disable Hibernate 

    Right-click the Start menu, select "Command Prompt" (as administrator), type "powercfg.exe /hibernate off", and press Enter.

Turn off hibernate

5. Enable Shutdown/Restart Windows 10 without Any Prompts

     Open the registry editor and navigate to 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 exist and set them to "Automatic Start"

  • Spice-Vdagent : Enables support for the 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.

    Proceed with the installation. Once complete, disable authentication.

Install Tightvnc

    Open the "TightVNC service configuration" window and adjust the settings accordingly.

Configure tightvnc

 

8. Enable Shared-drive

    The Shared-drive feature enables file sharing between cloud desktops in a training environment or between a user's local PC and the cloud desktop. It leverages WebDAV file sharing technology. Ensure the hard drive is mapped 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 add additional optional features such as 

  • DDWebdav, which allows the Trainer's content folders to be synchronized across participant machines,
  • or DDUpload, which simplifies the process of uploading files within a DaDesktop machine;

please reach out to DaDesktop Tech Support.