Custom OS Template (Windows)

Organization administrators have the ability to construct a custom Operating System (OS) template designed for deploying remote desktops. This approach is also beneficial for applying specific licenses to the underlying OS.

Adhering to the following steps is critical for generating a valid image. Proceed with care. 

Important: Disk Partitioning Guidelines

1. A custom template should utilize a single disk partition, or alternatively, two partitions: one for EFI/Boot and another for system and data.
2. Logical Volume Manager (LVM) partitions are not compatible; please avoid using them.
3. An incorrect partition structure may result in failures for 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 this is done, the storage drive will become visible.

Load driver - Virtio SCSI Controller

2. Initial Setup

     Select I don't have internet when the system asks "Let's connect you to a network".

     Choose Continue with limited setup when prompted with "There's more to discover...".

     Set a username, but leave the password field empty.

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 run Virtio-win-guest-tools to install the virtio drivers, spice vdagent , and the qemu guest agent. Click Next and then OK to complete the installation.

Install Virtio-win

4. Disable Hibernate 

    Right-click "Run as administrator" to open the Command Prompt, then type "powercfg.exe /hibernate off" and press Enter.

Turn off hibernate

5. Enable Shutdown/Restart of Windows 10 without Prompts

     Navigate to the registry key HKEY_USERS\.DEFAULT\Control Panel\Desktop within the Registry Editor.

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

6. Verify the presence of required services and set them 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 enable proper VNC connections

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

    Proceed with the installation. Upon completion, disable authentication.

Install Tightvnc

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

Configure tightvnc

 

8. Enable Shared-drive

    The Shared-drive feature facilitates file sharing between cloud desktops in a training scenario 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 usage. Refer to the screenshot below for instructions.

 

Enable Shared-drive in windows

 

9. Properly shut down Windows

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

 

 

Important Note

To include additional optional features such as 

  • DDWebdav, which allows Trainer content folders to synchronize across participant machines,
  • or DDUpload, which simplifies uploading files within a DaDesktop machine;

Please reach out to DaDesktop Tech Support.