From c357d266a5d517af1faba58485bdf4942ea4df4d Mon Sep 17 00:00:00 2001 From: deeplow Date: Sat, 26 Sep 2020 15:47:17 -0400 Subject: [PATCH 01/19] move QWT instructions and make them step-by-step --- os-guides/windows/windows-tools.md | 75 ++++++++++++++++++++++++++---- os-guides/windows/windows-vm.md | 45 ------------------ 2 files changed, 67 insertions(+), 53 deletions(-) diff --git a/os-guides/windows/windows-tools.md b/os-guides/windows/windows-tools.md index 345c1fd..d313175 100644 --- a/os-guides/windows/windows-tools.md +++ b/os-guides/windows/windows-tools.md @@ -19,22 +19,34 @@ Qubes Windows Tools Qubes Windows Tools are a set of programs and drivers that provide integration of Windows AppVMs with the rest of the Qubes system. Currently the following features are available for Windows VMs after installation of those tools: -- Seamless GUI mode that integrates apps windows onto the common Qubes trusted desktop -- Support for [secure clipboard copy/paste](/doc/copy-paste/) between the Windows VM and other AppVMs -- Support for [secure file exchange](/doc/copying-files/) between the Windows VM and other AppVMs -- Support for qvm-run and generic qrexec for the Windows VM (e.g. ability to run custom service within/from the Windows VM) -- Xen PV drivers for Windows that increase performance compared to qemu emulated devices +- **Qubes Video Driver** - provides for the Seamless GUI mode that integrates apps windows onto the common Qubes trusted desktop +- **File sender/receiver** - Support for [secure clipboard copy/paste](/doc/copy-paste/) between the Windows VM and other AppVMs +- ***File sender/receiver** - Support for [secure file exchange](/doc/copying-files/) between the Windows VM and other AppVMs +- **Copy/Edit in Dipostable VM** - Support for editing files in DisposableVMs as well as for qvm-run and generic qrexec for the Windows VM (e.g. ability to run custom service within/from the Windows VM) +- **Xen PV drivers** for Windows that increase performance compared to qemu emulated devices + +Bellow is a breakdown of the feature availablility depending on the windows version: + +| Feature | Windows 7 x64 | Windows 10 x64 | +| ------------------------------------ | :------------: | :------------: | +| Qubes Video Driver | + | - | +| Qubes Network Setup | + | + | +| Private Volume Setup (move profiles) | + | + | +| File sender/receiver | + | + | +| Clipboard Copy/Paste | + | + | +| Application shortcuts | + | + | +| Copy/Edit in Disposible VM | + | + | +| Block device | + | + | +| USB device | - | - | +| Audio | - | - | Qubes Windows Tools are open source and are distributed under a GPL license. NOTES: - Qubes Windows Tools are currently unmaintained - Currently only 64-bit versions of Windows 7 are supported by Qubes Windows Tools. Only emulated SVGA GPU is supported (although [there has been reports](https://groups.google.com/forum/#!topic/qubes-users/cmPRMOkxkdA) on working GPU passthrough). -- There is currently no audio support for Windows HVMs. -- There is currently no USB pass-through support for Windows HVMs. - __This page documents the process of installing Qubes Windows Tools on versions up to R3.2.__. Installation on Qubes R4.0 is possible but is a work in progress and there are limitations/bugs (see [issue #3585](https://github.com/QubesOS/qubes-issues/issues/3585)). - Installing Windows OS in a Qubes VM ----------------------------------- @@ -42,6 +54,51 @@ Please refer to [this page](/doc/windows-vm/) for instructions on how to install NOTE: It is strongly suggested to enable autologon for any Windows HVMs that will have Qubes Tools installed. To do so, run `netplwiz` command from the `Win+R`/Start menu and uncheck the *Users must enter a user name and password to use this computer* option. +Installing Qubes guest tools in Windows 10 VMs +---------------------------------------------- + +This will allow you to installs the Qubes Windows Tools on Windows 10 both as a StandaloneVM as well as a template VM and a corresponding AppVM. But some features are not available: + +TODO available features + + 1. In the Windows 10 VM, download from the [XEN website](https://xenproject.org/downloads/windows-pv-drivers/windows-pv-drivers-9-series/windows-pv-drivers-9-0-0/) the installation kits for Xen bus (`xenbus`) and storage drivers (`xenvbd`) Version 9.0.0 (two files`xenvbd.tar`and `xenbus.tar`). + + 2. Use an archive extractor like [7-zip](https://www.7-zip.org/) to extract the contents of the `.tar` files. + + 3. - Install `xenvbd` and `xenbus` by starting the file `dpinst.exe` from the `x64` directories of the extracted tar-files. If during installation, the Xen driver requests a reboot, select "No" and let the installation continue. + + 4. After installation, reboot. + + 5. Download the Qubes Windows Tools (`qubes-tools-4.0.1.3.exe`) from [the qubes FTP server](TODO add ftp link) and move it to `C:\`. + + 6. Check the integrity of the file `qubes-tools-4.0.1.3.exe`by comparing its hash checksum. This can be done using the Windows command `certutil` on the windows command prompt (`cmd.exe`) and specifying an appropriate hash algorithm like: + + certutil --hashfile C:\qubes-tools-4.0.1.3.exe SHA256 + + And compare it the value to `148A2A993F0C746B48FA6C5C9A5D1B504E09A7CFBA3FB931A4DCF86FDA4EC9B1` (**it has to exactly match for security reasons**). If it matches, feel free to continue the installation. If not, repeat the download to make sure it was not corrupted due to a network problem. If keeps on not matching it might be an attacker attempting to do something nasty to your system -- Ask for support. + + > **Note**: this is a workaround for installing the qubes windows tools on windows 10 since the standard way is broken. + + 7. Install Qubes Windows Tools 4.0.1.3 by starting `qubes-tools-4.0.1.3.exe`, not selecting the `Xen PV disk drivers` and the `Move user profiles` (which would probably lead to problems in Windows, anyhow). If during installation, the Xen driver requests a reboot, select "No" and let the installation continue - the system will be rebooted later. + + 8. Shut down Windows. + + 9. On a `dom0` terminal write: *(where `` is the name of your Windows 10 VM)* + + `qvm-features gui 1` + + 10. Reboot Windows. If the VM starts, but does not show any window then shutdown Windows from the Qube manager and reboot Windows once more. + + 11. Now the system should be up, with QWT running correctly. + + 12. Lastly to enable file copy operations to a Windows 10 VM the `default_user` property should be set the `` that you use to login to the Windows VM. This can be done via the following command on a `dom0` terminal: *(where `` is the name of your Windows 10 VM)* + + qvm-prefs win10 default_user + + > **Note:** If this property is not set or set to a wrong value, files copied to this VM are stored in the folder `C:\Windows\System32\config\systemprofile\Documents\QubesIncoming\`. + > If the target VM is an AppVM, this has the consequence that the files are stored in the corresponding TemplateVM and so are lost on AppVM shutdown. + + Installing Qubes guest tools in Windows 7 VMs --------------------------------------------- @@ -94,6 +151,8 @@ qvm-prefs -s qrexec_timeout 300 Using Windows AppVMs in seamless mode ------------------------------------- +> **Note:** This feature is only available for Windows 7 + Once you start a Windows-based AppVM with Qubes Tools installed, you can easily start individual applications from the VM (note the `-a` switch used here, which will auto-start the VM if it is not running): ~~~ diff --git a/os-guides/windows/windows-vm.md b/os-guides/windows/windows-vm.md index 59de22f..59b6e28 100644 --- a/os-guides/windows/windows-vm.md +++ b/os-guides/windows/windows-vm.md @@ -211,51 +211,6 @@ qvm-prefs win7new qrexec_timeout 300 At that point you should have a functional and stable Windows VM, although without updates, Xen's PV drivers nor Qubes integration (see sections [Windows Update](#windows-update) and [Xen PV drivers and Qubes Windows Tools](#xen-pv-drivers-and-qubes-windows-tools) below). It is a good time to clone the VM again. -### Installing Qubes Windows Tools on Windows 10 - -If the Xen bus and storage drivers version 9.0.0 are installed in a Windows 10 system without Qubes Windows Tools, and QWT 4.0.1.3 are installed after the Xen installation has finished, the Qubes interface works correctly. Files can be exchanged with other VMs, and the common clipboard works in both directions. - -The installation of Qubes Windows Tools should **not** be done by using the parameter `--install-windows-tools`or by directly specifying `--cdrom=...`when starting the Windows VM, as this is bound to crash the VM on booting, showing the error `INACCESSIBLE BOOT DEVICE`- which makes no sense, but does happen. - -So to get a working Windows 10 system (Standalone or Template VM) under Qubes R4.0, the following steps should be performed: - -**to be replaced** -- Install Qubes Windows Tools in dom0: `sudo qubes-dom0-update qubes-windows-tools`. The iso will be the file `/usr/lib/qubes/qubes-windows-tools-4.0.1.3.iso`. -- Copy this file to some AppVM: `qvm-copy-to-vm VMname /usr/lib/qubes/qubes-windows-tools-4.0.1.3.iso`. -- In this VM, extract the file `qubes-tools-4.0.1.3.exe` from the iso, using the archive manager. -- Copy the installation kits of `xenvbd` and `xenbus` Version 9.0.0 (two Zip-files) from the Xen web site and the file `qubes-tools-4.0.1.3.exe` to the Windows system drive (normally `C:\`.) -**end of replaced text** - -**new text** -- In the Windows 10 VM, download the installation kits of `xenvbd` and `xenbus` Version 9.0.0 (two files`xenvbd.tar`and `xenbus.tar`) from the Xen web site and the file `qubes-tools-4.0.1.3.exe` from https://www.qubes-os.org/doc/windows-tools/ **enter the final url** and store them on the Windows system drive (normally `C:\`.) In order to extract the contents from the tar-archives, you will need an external utility like 7zip. -**end of new text** - -- Check the integrity of the file `qubes-tools-4.0.1.3.exe`by comparing its hash checksum. This can be done using the Windows command `certutil` specifying an appropriate hash algorithm like: -~~~ -certutil --hashfile qubes-tools-4.0.1.3.exe SHA256 -~~~ -This utility supports the algorithms MD5, SHA1, SHA256 and SHA512 (to be entered in uppercase!). The correct hash values can be retrieved from the Qubes website: https://www.qubes-os.org/doc/windows-tools/ **enter the final url** - -- Install `xenvbd` and `xenbus` version 9.0.0 by starting the file `dpinst.exe` from the `x64` directories of the extracted tar-files. If during installation, the Xen driver requests a reboot, select "No" and let the installation continue. -- After installation, reboot. -- Install Qubes Windows Tools 4.0.1.3 by starting `qubes-tools-4.0.1.3.exe`, not selecting the `Xen PV disk drivers` and the `Move user profiles` (which would probably lead to problems in Windows, anyhow). If during installation, the Xen driver requests a reboot, select "No" and let the installation continue - the system will be rebooted later. -- Shut down Windows. -- Set `qvm-features win10new gui 1` -- Reboot Windows. The VM starts, but does not show any window. -- Shutdown Windows from the Qube manager. -- Reboot Windows once more. Now the system is up, with QWT running correctly. - -For me, this sequence worked for Windows 10 as template VM, and a corresponding AppVM worked too. - -File copy operations to a Windows 10 VM are possible, if the Qubes OS `default_user` property is set to the user name used for access to that VM, which can be done via the command -~~~ -qvm-prefs default_user -~~~ -If this property is not set or set to a wrong value, files copied to this VM are stored in the folder -~~~ -C:\Windows\System32\config\systemprofile\Documents\QubesIncoming\ -~~~ -If the target VM is an AppVM, this has the consequence that the files are stored in the corresponding TemplateVM and so are lost on AppVM shutdown. Windows as TemplateVM --------------------- From 4fc518c3792d176d5d8c1d107a5acb5a21c45536 Mon Sep 17 00:00:00 2001 From: deeplow Date: Sat, 26 Sep 2020 15:54:46 -0400 Subject: [PATCH 02/19] moved xen drivers and QWT info to windows-tools.md --- os-guides/windows/windows-tools.md | 30 ++++++++++++++++++++++++++++++ os-guides/windows/windows-vm.md | 30 ------------------------------ 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/os-guides/windows/windows-tools.md b/os-guides/windows/windows-tools.md index d313175..58cbba6 100644 --- a/os-guides/windows/windows-tools.md +++ b/os-guides/windows/windows-tools.md @@ -148,6 +148,36 @@ NOTE: it is recommended to increase the default value of Windows VM's `qrexec_ti qvm-prefs -s qrexec_timeout 300 ~~~ +Xen PV drivers and Qubes Windows Tools +-------------------------------------- + +Installing Xen's PV drivers in the VM will lower its resources usage when using network and/or I/O intensive applications, but *may* come at the price of system stability (although Xen's PV drivers on a Win7 VM are usually very stable). There are two ways of installing the drivers: + +1. installing the drivers independently, from Xen's [official site](https://www.xenproject.org/developers/teams/windows-pv-drivers.html) +2. installing Qubes Windows Tools (QWT), which bundles Xen's PV drivers. + +Notes about using Xen's VBD (storage) PV driver: +- **Windows 7:** installing the driver requires a fully updated VM or else you'll likely get a BSOD and a VM in a difficult to fix state. Updating Windows takes *hours* and for casual usage there isn't much of a performance between the disk PV driver and the default one; so there is likely no need to go through the lengthy Windows Update process if your VM doesn't have access to untrusted networks and if you don't use I/O intensive apps. If you plan to update your newly installed Windows VM it is recommended that you do so *before* installing Qubes Windows Tools (QWT). If QWT are installed, you should temporarily re-enable the standard VGA adapter in Windows and disable Qubes' (see the section above). +- the option to install the storage PV driver is disabled by default in Qubes Windows Tools +- in case you already had QWT installed without the storage PV driver and you then updated the VM, you may then install the driver from Xen's site (xenvbd.tar). + +**Caution:** Installing the version 9.0.0 Xen drivers on Windows 7 (a system without QWT - QWT uninstalled) leads to an unbootable system. The drivers install without error, but after reboot, the system aborts the reboot saying ´Missing driver xenbus.sys´. + +- **Windows 10:** The version 9.0.0 Xen drivers have to be installed before installing Qubes Windows Tools. Installing them on a system with QWT installed is likely to produce a system which crashes or has the tools in a non-functional state. Even if the tools were installed and then removed before installing the Xen drivers, they probably will not work as expected. + + +Installing Qubes Windows Tools: +- on R3.2: see [this page](/doc/windows-tools/) +- R4.0: you'll have to install QWT for Qubes R3.2. Be warned that QWT on R4.0 is a work in progress though (see [issue #3585](https://github.com/QubesOS/qubes-issues/issues/3585) for instructions and known issues). + + +With Qubes Windows Tools installed the early graphical console provided in debugging mode isn't needed anymore since Qubes' display driver will be used instead of the default VGA driver: + +~~~ +qvm-prefs -s win7new debug false +~~~ + + Using Windows AppVMs in seamless mode ------------------------------------- diff --git a/os-guides/windows/windows-vm.md b/os-guides/windows/windows-vm.md index 59b6e28..1ac220b 100644 --- a/os-guides/windows/windows-vm.md +++ b/os-guides/windows/windows-vm.md @@ -252,36 +252,6 @@ Note: if you already have Qubes Windows Tools installed the video adapter in Win To avoid guessing the VM's state enable debugging (`qvm-prefs -s win7new debug true`) and in Windows' device manager (My computer -> Manage / Device manager / Display adapters) temporarily re-enable the standard VGA adapter and disable "Qubes video driver". You can disable debugging and revert to Qubes' display once the VM is updated. -Xen PV drivers and Qubes Windows Tools ------------------------------------- - -Installing Xen's PV drivers in the VM will lower its resources usage when using network and/or I/O intensive applications, but *may* come at the price of system stability (although Xen's PV drivers on a Win7 VM are usually very stable). There are two ways of installing the drivers: - -1. installing the drivers independently, from Xen's [official site](https://www.xenproject.org/developers/teams/windows-pv-drivers.html) -2. installing Qubes Windows Tools (QWT), which bundles Xen's PV drivers. - -Notes about using Xen's VBD (storage) PV driver: -- **Windows 7:** installing the driver requires a fully updated VM or else you'll likely get a BSOD and a VM in a difficult to fix state. Updating Windows takes *hours* and for casual usage there isn't much of a performance between the disk PV driver and the default one; so there is likely no need to go through the lengthy Windows Update process if your VM doesn't have access to untrusted networks and if you don't use I/O intensive apps. If you plan to update your newly installed Windows VM it is recommended that you do so *before* installing Qubes Windows Tools (QWT). If QWT are installed, you should temporarily re-enable the standard VGA adapter in Windows and disable Qubes' (see the section above). -- the option to install the storage PV driver is disabled by default in Qubes Windows Tools -- in case you already had QWT installed without the storage PV driver and you then updated the VM, you may then install the driver from Xen's site (xenvbd.tar). - -**Caution:** Installing the version 9.0.0 Xen drivers on Windows 7 (a system without QWT - QWT uninstalled) leads to an unbootable system. The drivers install without error, but after reboot, the system aborts the reboot saying ´Missing driver xenbus.sys´. - -- **Windows 10:** The version 9.0.0 Xen drivers have to be installed before installing Qubes Windows Tools. Installing them on a system with QWT installed is likely to produce a system which crashes or has the tools in a non-functional state. Even if the tools were installed and then removed before installing the Xen drivers, they probably will not work as expected. - - -Installing Qubes Windows Tools: -- on R3.2: see [this page](/doc/windows-tools/) -- R4.0: you'll have to install QWT for Qubes R3.2. Be warned that QWT on R4.0 is a work in progress though (see [issue #3585](https://github.com/QubesOS/qubes-issues/issues/3585) for instructions and known issues). - - -With Qubes Windows Tools installed the early graphical console provided in debugging mode isn't needed anymore since Qubes' display driver will be used instead of the default VGA driver: - -~~~ -qvm-prefs -s win7new debug false -~~~ - - Further customization --------------------- From dc2ed98225a1ecdeeabeba9f90fdbe76761a9217 Mon Sep 17 00:00:00 2001 From: deeplow Date: Sat, 26 Sep 2020 15:56:56 -0400 Subject: [PATCH 03/19] remove self-referencing note --- os-guides/windows/windows-tools.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/os-guides/windows/windows-tools.md b/os-guides/windows/windows-tools.md index 58cbba6..86fff9c 100644 --- a/os-guides/windows/windows-tools.md +++ b/os-guides/windows/windows-tools.md @@ -166,11 +166,6 @@ Notes about using Xen's VBD (storage) PV driver: - **Windows 10:** The version 9.0.0 Xen drivers have to be installed before installing Qubes Windows Tools. Installing them on a system with QWT installed is likely to produce a system which crashes or has the tools in a non-functional state. Even if the tools were installed and then removed before installing the Xen drivers, they probably will not work as expected. -Installing Qubes Windows Tools: -- on R3.2: see [this page](/doc/windows-tools/) -- R4.0: you'll have to install QWT for Qubes R3.2. Be warned that QWT on R4.0 is a work in progress though (see [issue #3585](https://github.com/QubesOS/qubes-issues/issues/3585) for instructions and known issues). - - With Qubes Windows Tools installed the early graphical console provided in debugging mode isn't needed anymore since Qubes' display driver will be used instead of the default VGA driver: ~~~ From 4caf193d7f7e5f2c59328a6d2a3e41fd92c5b594 Mon Sep 17 00:00:00 2001 From: deeplow <47065258+deeplow@users.noreply.github.com> Date: Sat, 26 Sep 2020 21:09:18 +0000 Subject: [PATCH 04/19] formatting typo --- os-guides/windows/windows-tools.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os-guides/windows/windows-tools.md b/os-guides/windows/windows-tools.md index 86fff9c..47cbf11 100644 --- a/os-guides/windows/windows-tools.md +++ b/os-guides/windows/windows-tools.md @@ -65,7 +65,7 @@ TODO available features 2. Use an archive extractor like [7-zip](https://www.7-zip.org/) to extract the contents of the `.tar` files. - 3. - Install `xenvbd` and `xenbus` by starting the file `dpinst.exe` from the `x64` directories of the extracted tar-files. If during installation, the Xen driver requests a reboot, select "No" and let the installation continue. + 3. Install `xenvbd` and `xenbus` by starting the file `dpinst.exe` from the `x64` directories of the extracted tar-files. If during installation, the Xen driver requests a reboot, select "No" and let the installation continue. 4. After installation, reboot. From c9537f4ed41bf81303aa1adfd3380d019256300e Mon Sep 17 00:00:00 2001 From: deeplow <47065258+deeplow@users.noreply.github.com> Date: Sat, 26 Sep 2020 21:10:08 +0000 Subject: [PATCH 05/19] formatting typo --- os-guides/windows/windows-tools.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os-guides/windows/windows-tools.md b/os-guides/windows/windows-tools.md index 47cbf11..027270b 100644 --- a/os-guides/windows/windows-tools.md +++ b/os-guides/windows/windows-tools.md @@ -85,7 +85,7 @@ TODO available features 9. On a `dom0` terminal write: *(where `` is the name of your Windows 10 VM)* - `qvm-features gui 1` + qvm-features gui 1 10. Reboot Windows. If the VM starts, but does not show any window then shutdown Windows from the Qube manager and reboot Windows once more. From 9031f98a3964ee70ce032b86a08b87d85e34ce52 Mon Sep 17 00:00:00 2001 From: "Dr. Gerhard Weck" Date: Sun, 27 Sep 2020 13:27:13 +0200 Subject: [PATCH 06/19] Update windows-vm.md --- os-guides/windows/windows-vm.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/os-guides/windows/windows-vm.md b/os-guides/windows/windows-vm.md index 1ac220b..865676d 100644 --- a/os-guides/windows/windows-vm.md +++ b/os-guides/windows/windows-vm.md @@ -119,7 +119,7 @@ MS Windows versions considerations: - The instructions *may* work on other versions than Windows 7 x64 but haven't been tested. - Qubes Windows Tools (QWT) only supports Windows 7 x64. Note that there are [known issues](https://github.com/QubesOS/qubes-issues/issues/3585) with QWT on Qubes 4.x -- For Windows 10 under Qubes 4.0, a way to install QWT 4.0.1.3, which has worked in several instances, is described below. +- For Windows 10 under Qubes 4.0, a way to install QWT 4.0.1.3, which has worked in several instances, is described in [https://www.qubes-os.org/doc/windows-tools/](https://www.qubes-os.org/doc/windows-tools/). Create a VM named win7new in [HVM](/doc/hvm/) mode (Xen's current PVH limitations precludes from using PVH): @@ -217,8 +217,7 @@ Windows as TemplateVM Windows 7 and 10 can be installed as TemplateVM by selecting ~~~ -qvm-create --class TemplateVM --property virt_mode=HVM --property kernel='' --label black Windows-7 -qvm-create --class TemplateVM --property virt_mode=HVM --property kernel='' --label black Windows-10 +qvm-create --class TemplateVM --property virt_mode=HVM --property kernel='' --label black Windows-template ~~~ when creating the VM. To have the user data stored in AppVMs depending on this template, Windows 7 and 10 have to be treated differently: From c84cc303f83e7d377af8362de061c4f1446d8cd6 Mon Sep 17 00:00:00 2001 From: "Dr. Gerhard Weck" Date: Sun, 27 Sep 2020 13:27:38 +0200 Subject: [PATCH 07/19] Update windows-tools.md --- os-guides/windows/windows-tools.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/os-guides/windows/windows-tools.md b/os-guides/windows/windows-tools.md index 027270b..5d01c4e 100644 --- a/os-guides/windows/windows-tools.md +++ b/os-guides/windows/windows-tools.md @@ -44,7 +44,7 @@ Qubes Windows Tools are open source and are distributed under a GPL license. NOTES: - Qubes Windows Tools are currently unmaintained -- Currently only 64-bit versions of Windows 7 are supported by Qubes Windows Tools. Only emulated SVGA GPU is supported (although [there has been reports](https://groups.google.com/forum/#!topic/qubes-users/cmPRMOkxkdA) on working GPU passthrough). +- Currently only 64-bit versions of Windows 7 and Windows 10 are supported by Qubes Windows Tools. Only emulated SVGA GPU is supported (although [there has been reports](https://groups.google.com/forum/#!topic/qubes-users/cmPRMOkxkdA) on working GPU passthrough). - __This page documents the process of installing Qubes Windows Tools on versions up to R3.2.__. Installation on Qubes R4.0 is possible but is a work in progress and there are limitations/bugs (see [issue #3585](https://github.com/QubesOS/qubes-issues/issues/3585)). Installing Windows OS in a Qubes VM @@ -57,9 +57,9 @@ NOTE: It is strongly suggested to enable autologon for any Windows HVMs that wil Installing Qubes guest tools in Windows 10 VMs ---------------------------------------------- -This will allow you to installs the Qubes Windows Tools on Windows 10 both as a StandaloneVM as well as a template VM and a corresponding AppVM. But some features are not available: +This will allow you to install the Qubes Windows Tools on Windows 10 both as a StandaloneVM as well as a Template VM and a corresponding AppVM. But some features are not available: -TODO available features +TODO available features - **not available: seamless mode - others?** 1. In the Windows 10 VM, download from the [XEN website](https://xenproject.org/downloads/windows-pv-drivers/windows-pv-drivers-9-series/windows-pv-drivers-9-0-0/) the installation kits for Xen bus (`xenbus`) and storage drivers (`xenvbd`) Version 9.0.0 (two files`xenvbd.tar`and `xenbus.tar`). @@ -92,8 +92,8 @@ TODO available features 11. Now the system should be up, with QWT running correctly. 12. Lastly to enable file copy operations to a Windows 10 VM the `default_user` property should be set the `` that you use to login to the Windows VM. This can be done via the following command on a `dom0` terminal: *(where `` is the name of your Windows 10 VM)* - - qvm-prefs win10 default_user + + `qvm-prefs default_user ` > **Note:** If this property is not set or set to a wrong value, files copied to this VM are stored in the folder `C:\Windows\System32\config\systemprofile\Documents\QubesIncoming\`. > If the target VM is an AppVM, this has the consequence that the files are stored in the corresponding TemplateVM and so are lost on AppVM shutdown. @@ -161,7 +161,7 @@ Notes about using Xen's VBD (storage) PV driver: - the option to install the storage PV driver is disabled by default in Qubes Windows Tools - in case you already had QWT installed without the storage PV driver and you then updated the VM, you may then install the driver from Xen's site (xenvbd.tar). -**Caution:** Installing the version 9.0.0 Xen drivers on Windows 7 (a system without QWT - QWT uninstalled) leads to an unbootable system. The drivers install without error, but after reboot, the system aborts the reboot saying ´Missing driver xenbus.sys´. +**Caution:** Installing the version 9.0.0 Xen drivers on Windows 7 (a system without QWT - QWT uninstalled) leads to an unbootable system. The drivers install without error, but after reboot, the system aborts the reboot saying `Missing driver xenbus.sys`. - **Windows 10:** The version 9.0.0 Xen drivers have to be installed before installing Qubes Windows Tools. Installing them on a system with QWT installed is likely to produce a system which crashes or has the tools in a non-functional state. Even if the tools were installed and then removed before installing the Xen drivers, they probably will not work as expected. @@ -217,7 +217,7 @@ Qubes allows HVM VMs to share a common root filesystem from a select Template VM In order to create a HVM TemplateVM one can use the following command, suitably adapted: ~~~ -qvm-create --class TemplateVM win7-x64-template --property virt_mode=HVM --property kernel='' -l green +qvm-create --class TemplateVM win-template --property virt_mode=HVM --property kernel='' -l green ~~~ ... , set memory as appropriate, and install Windows OS (or other OS) into this template the same way as you would install it into a normal HVM -- please see instructions on [this page](/doc/hvm-create/). @@ -227,7 +227,7 @@ If you use this Template as it is, then any HVMs that use it will effectively be If you want to retain the User directory between reboots, then it would make sense to store the `C:\Users` directory on the 2nd disk which is automatically exposed by Qubes to all HVMs. This 2nd disk is backed by the `private.img` file in the AppVMs' and is not reset upon AppVMs reboot, so the user's directories and profiles would survive the AppVMs reboot, unlike the "root" filesystem which will be reverted to the "golden image" from the Template VM automatically. To facilitate such separation of user profiles, Qubes Windows Tools provide an option to automatically move `C:\Users` directory to the 2nd disk backed by `private.img`. -It's a selectable feature of the installer, enabled by default. +It's a selectable feature of the installer, enabled by default, but working only for Windows 7. If that feature is selected during installation, completion of the process requires two reboots: - The private disk is initialized and formatted on the first reboot after tools installation. It can't be done **during** the installation because Xen mass storage drivers are not yet active. @@ -236,8 +236,13 @@ Reboot is required because the "mover utility" runs very early in the boot proce This can take some time depending on the profiles' size and because the GUI agent is not yet active dom0/Qubes Manager may complain that the AppVM failed to boot. That's a false alarm (you can increase AppVM's default boot timeout using `qvm-prefs`), the VM should appear "green" in Qubes Manager shortly after. -It also makes sense to disable Automatic Updates for all the template-based AppVMs -- of course this should be done in the Template VM, not in individual AppVMs, because the system-wide settings are stored in the root filesystem (which holds the system-wide registry hives). -Then, periodically check for updates in the Template VM and the changes will be carried over to any child AppVMs. +For Windows 10, the user directories have to be moved manually, because the automatic transfer during QWT installation is bound to crash due to undocumented new features of NTFS, and a system having the directory `users`on another disk than `C:` will break on Windows update. So the following steps should be taken: + +- The Windows disk manager may be used to add the private volume as disk `D:`, and you may, using the documented Windows operations, move the user directories `C:\users\\Documents` to this new disk, allowing depending AppVMs to have their own private volumes. Moving the hidden application directories `AppData`, however, is likely to invite trouble - the same trouble that occurs if, during QWT installation, the option `Move user profiles` is selected. + +- Configuration data like those stored in directories like `AppData` still remain in the TemplateVM, such that their changes are lost each time the AppVM shuts down. In order to make permanent changes to these configuration data, they have to be changed in the TemplateVM, meaning that applications have to be started there, which violates and perhaps even endangers the security of the TemplateVM. Such changes should be done only if absolutely necessary and with great care. It is a good idea to test them first in a cloned TemplateVM before applying them in the production VM. + +It also makes sense to disable Automatic Updates for all the template-based AppVMs -- of course this should be done in the Template VM, not in individual AppVMs, because the system-wide settings are stored in the root filesystem (which holds the system-wide registry hives). Then, periodically check for updates in the Template VM and the changes will be carried over to any child AppVMs. Once the template has been created and installed it is easy to create AppVMs based on it: From 9bc676cfeb325dc7ec41554ea7b290a813776eb5 Mon Sep 17 00:00:00 2001 From: deeplow Date: Sun, 27 Sep 2020 15:26:45 -0400 Subject: [PATCH 08/19] remove TODO on feature availability --- os-guides/windows/windows-tools.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os-guides/windows/windows-tools.md b/os-guides/windows/windows-tools.md index 5d01c4e..72640ba 100644 --- a/os-guides/windows/windows-tools.md +++ b/os-guides/windows/windows-tools.md @@ -59,7 +59,7 @@ Installing Qubes guest tools in Windows 10 VMs This will allow you to install the Qubes Windows Tools on Windows 10 both as a StandaloneVM as well as a Template VM and a corresponding AppVM. But some features are not available: -TODO available features - **not available: seamless mode - others?** +> **Note:** seamless mode is currently not available for windows. Please check the top of this document for the full feature availability breakdown. 1. In the Windows 10 VM, download from the [XEN website](https://xenproject.org/downloads/windows-pv-drivers/windows-pv-drivers-9-series/windows-pv-drivers-9-0-0/) the installation kits for Xen bus (`xenbus`) and storage drivers (`xenvbd`) Version 9.0.0 (two files`xenvbd.tar`and `xenbus.tar`). From ab0344af6e6d7a48dfe0db28355809576d533d02 Mon Sep 17 00:00:00 2001 From: "Dr. Gerhard Weck" Date: Mon, 28 Sep 2020 12:42:09 +0200 Subject: [PATCH 09/19] Update windows-vm.md --- os-guides/windows/windows-vm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os-guides/windows/windows-vm.md b/os-guides/windows/windows-vm.md index 865676d..f488d78 100644 --- a/os-guides/windows/windows-vm.md +++ b/os-guides/windows/windows-vm.md @@ -119,7 +119,7 @@ MS Windows versions considerations: - The instructions *may* work on other versions than Windows 7 x64 but haven't been tested. - Qubes Windows Tools (QWT) only supports Windows 7 x64. Note that there are [known issues](https://github.com/QubesOS/qubes-issues/issues/3585) with QWT on Qubes 4.x -- For Windows 10 under Qubes 4.0, a way to install QWT 4.0.1.3, which has worked in several instances, is described in [https://www.qubes-os.org/doc/windows-tools/](https://www.qubes-os.org/doc/windows-tools/). +- For Windows 10 under Qubes 4.0, a way to install QWT 4.0.1.3, which has worked in several instances, is described in [Qubes Wndows Tools](/doc/windows-tools/). Create a VM named win7new in [HVM](/doc/hvm/) mode (Xen's current PVH limitations precludes from using PVH): From e5c021063fce9723052e49acc945e6ce0fd77b68 Mon Sep 17 00:00:00 2001 From: "Dr. Gerhard Weck" Date: Mon, 28 Sep 2020 12:42:22 +0200 Subject: [PATCH 10/19] Update windows-tools.md --- os-guides/windows/windows-tools.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os-guides/windows/windows-tools.md b/os-guides/windows/windows-tools.md index 72640ba..9063269 100644 --- a/os-guides/windows/windows-tools.md +++ b/os-guides/windows/windows-tools.md @@ -25,7 +25,7 @@ Qubes Windows Tools are a set of programs and drivers that provide integration o - **Copy/Edit in Dipostable VM** - Support for editing files in DisposableVMs as well as for qvm-run and generic qrexec for the Windows VM (e.g. ability to run custom service within/from the Windows VM) - **Xen PV drivers** for Windows that increase performance compared to qemu emulated devices -Bellow is a breakdown of the feature availablility depending on the windows version: +Below is a breakdown of the feature availablility depending on the windows version: | Feature | Windows 7 x64 | Windows 10 x64 | | ------------------------------------ | :------------: | :------------: | @@ -69,7 +69,7 @@ This will allow you to install the Qubes Windows Tools on Windows 10 both as a S 4. After installation, reboot. - 5. Download the Qubes Windows Tools (`qubes-tools-4.0.1.3.exe`) from [the qubes FTP server](TODO add ftp link) and move it to `C:\`. + 5. Download the Qubes Windows Tools (`qubes-tools-4.0.1.3.exe`) from [the qubes FTP server](https://ftp.qubes-os.org/qubes-windows-tools/) and move it to `C:\`. 6. Check the integrity of the file `qubes-tools-4.0.1.3.exe`by comparing its hash checksum. This can be done using the Windows command `certutil` on the windows command prompt (`cmd.exe`) and specifying an appropriate hash algorithm like: From 6272d4b3aef0f46d960e4272cb43d5484dc515f7 Mon Sep 17 00:00:00 2001 From: "Dr. Gerhard Weck" Date: Sat, 10 Oct 2020 11:50:11 +0200 Subject: [PATCH 11/19] Update windows-vm.md fixed typo --- os-guides/windows/windows-vm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os-guides/windows/windows-vm.md b/os-guides/windows/windows-vm.md index f488d78..bcc023c 100644 --- a/os-guides/windows/windows-vm.md +++ b/os-guides/windows/windows-vm.md @@ -119,7 +119,7 @@ MS Windows versions considerations: - The instructions *may* work on other versions than Windows 7 x64 but haven't been tested. - Qubes Windows Tools (QWT) only supports Windows 7 x64. Note that there are [known issues](https://github.com/QubesOS/qubes-issues/issues/3585) with QWT on Qubes 4.x -- For Windows 10 under Qubes 4.0, a way to install QWT 4.0.1.3, which has worked in several instances, is described in [Qubes Wndows Tools](/doc/windows-tools/). +- For Windows 10 under Qubes 4.0, a way to install QWT 4.0.1.3, which has worked in several instances, is described in [Qubes Windows Tools](/doc/windows-tools/). Create a VM named win7new in [HVM](/doc/hvm/) mode (Xen's current PVH limitations precludes from using PVH): From c04f55183fd88c6329e17865a061b3c6ae363592 Mon Sep 17 00:00:00 2001 From: "Dr. Gerhard Weck" Date: Sat, 10 Oct 2020 13:57:01 +0200 Subject: [PATCH 12/19] Update windows-tools.md --- os-guides/windows/windows-tools.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/os-guides/windows/windows-tools.md b/os-guides/windows/windows-tools.md index 9063269..b65350b 100644 --- a/os-guides/windows/windows-tools.md +++ b/os-guides/windows/windows-tools.md @@ -22,10 +22,10 @@ Qubes Windows Tools are a set of programs and drivers that provide integration o - **Qubes Video Driver** - provides for the Seamless GUI mode that integrates apps windows onto the common Qubes trusted desktop - **File sender/receiver** - Support for [secure clipboard copy/paste](/doc/copy-paste/) between the Windows VM and other AppVMs - ***File sender/receiver** - Support for [secure file exchange](/doc/copying-files/) between the Windows VM and other AppVMs -- **Copy/Edit in Dipostable VM** - Support for editing files in DisposableVMs as well as for qvm-run and generic qrexec for the Windows VM (e.g. ability to run custom service within/from the Windows VM) +- **Copy/Edit in Diposable VM** - Support for editing files in DisposableVMs as well as for qvm-run and generic qrexec for the Windows VM (e.g. ability to run custom service within/from the Windows VM) - **Xen PV drivers** for Windows that increase performance compared to qemu emulated devices -Below is a breakdown of the feature availablility depending on the windows version: +Below is a breakdown of the feature availability depending on the windows version: | Feature | Windows 7 x64 | Windows 10 x64 | | ------------------------------------ | :------------: | :------------: | @@ -35,7 +35,7 @@ Below is a breakdown of the feature availablility depending on the windows versi | File sender/receiver | + | + | | Clipboard Copy/Paste | + | + | | Application shortcuts | + | + | -| Copy/Edit in Disposible VM | + | + | +| Copy/Edit in Disposable VM | + | + | | Block device | + | + | | USB device | - | - | | Audio | - | - | From ea0681188707cbe003e978046110c86928be5c11 Mon Sep 17 00:00:00 2001 From: "Dr. Gerhard Weck" Date: Sat, 10 Oct 2020 14:23:29 +0200 Subject: [PATCH 13/19] Update windows-tools.md --- os-guides/windows/windows-tools.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os-guides/windows/windows-tools.md b/os-guides/windows/windows-tools.md index b65350b..4a5ff7d 100644 --- a/os-guides/windows/windows-tools.md +++ b/os-guides/windows/windows-tools.md @@ -22,7 +22,7 @@ Qubes Windows Tools are a set of programs and drivers that provide integration o - **Qubes Video Driver** - provides for the Seamless GUI mode that integrates apps windows onto the common Qubes trusted desktop - **File sender/receiver** - Support for [secure clipboard copy/paste](/doc/copy-paste/) between the Windows VM and other AppVMs - ***File sender/receiver** - Support for [secure file exchange](/doc/copying-files/) between the Windows VM and other AppVMs -- **Copy/Edit in Diposable VM** - Support for editing files in DisposableVMs as well as for qvm-run and generic qrexec for the Windows VM (e.g. ability to run custom service within/from the Windows VM) +- **Copy/Edit in Disposable VM** - Support for editing files in DisposableVMs as well as for qvm-run and generic qrexec for the Windows VM (e.g. ability to run custom service within/from the Windows VM) - **Xen PV drivers** for Windows that increase performance compared to qemu emulated devices Below is a breakdown of the feature availability depending on the windows version: From 118470eea2c282513e057f4045c659b88f4d267f Mon Sep 17 00:00:00 2001 From: "Dr. Gerhard Weck" Date: Sun, 11 Oct 2020 11:26:25 +0200 Subject: [PATCH 14/19] Update windows-vm.md --- os-guides/windows/windows-vm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os-guides/windows/windows-vm.md b/os-guides/windows/windows-vm.md index bcc023c..328a3f8 100644 --- a/os-guides/windows/windows-vm.md +++ b/os-guides/windows/windows-vm.md @@ -209,7 +209,7 @@ Finally, increase the VM's `qrexec_timeout`: in case you happen to get a BSOD or qvm-prefs win7new qrexec_timeout 300 ~~~ -At that point you should have a functional and stable Windows VM, although without updates, Xen's PV drivers nor Qubes integration (see sections [Windows Update](#windows-update) and [Xen PV drivers and Qubes Windows Tools](#xen-pv-drivers-and-qubes-windows-tools) below). It is a good time to clone the VM again. +At that point you should have a functional and stable Windows VM, although without updates, Xen's PV drivers nor Qubes integration (see sections [Windows Update](#windows-update) and [Xen PV drivers and Qubes Windows Tools](./windows-tools#xen-pv-drivers-and-qubes-windows-tools) below). It is a good time to clone the VM again. Windows as TemplateVM From c63494f1adb4ad39cf841929f1fb0135a16561e4 Mon Sep 17 00:00:00 2001 From: "Dr. Gerhard Weck" Date: Sun, 11 Oct 2020 11:28:03 +0200 Subject: [PATCH 15/19] Update windows-vm.md --- os-guides/windows/windows-vm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os-guides/windows/windows-vm.md b/os-guides/windows/windows-vm.md index 328a3f8..c7258d4 100644 --- a/os-guides/windows/windows-vm.md +++ b/os-guides/windows/windows-vm.md @@ -209,7 +209,7 @@ Finally, increase the VM's `qrexec_timeout`: in case you happen to get a BSOD or qvm-prefs win7new qrexec_timeout 300 ~~~ -At that point you should have a functional and stable Windows VM, although without updates, Xen's PV drivers nor Qubes integration (see sections [Windows Update](#windows-update) and [Xen PV drivers and Qubes Windows Tools](./windows-tools#xen-pv-drivers-and-qubes-windows-tools) below). It is a good time to clone the VM again. +At that point you should have a functional and stable Windows VM, although without updates, Xen's PV drivers nor Qubes integration (see sections [Windows Update](#windows-update) and [Xen PV drivers and Qubes Windows Tools](./windows-tools.md#xen-pv-drivers-and-qubes-windows-tools) below). It is a good time to clone the VM again. Windows as TemplateVM From 07e26ac2ee8ec3360aeb1ae902d36f6fac1aaf14 Mon Sep 17 00:00:00 2001 From: "Dr. Gerhard Weck" Date: Sun, 11 Oct 2020 11:57:55 +0200 Subject: [PATCH 16/19] Correct links to ther file --- os-guides/windows/windows-vm.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os-guides/windows/windows-vm.md b/os-guides/windows/windows-vm.md index c7258d4..8a4611a 100644 --- a/os-guides/windows/windows-vm.md +++ b/os-guides/windows/windows-vm.md @@ -119,7 +119,7 @@ MS Windows versions considerations: - The instructions *may* work on other versions than Windows 7 x64 but haven't been tested. - Qubes Windows Tools (QWT) only supports Windows 7 x64. Note that there are [known issues](https://github.com/QubesOS/qubes-issues/issues/3585) with QWT on Qubes 4.x -- For Windows 10 under Qubes 4.0, a way to install QWT 4.0.1.3, which has worked in several instances, is described in [Qubes Windows Tools](/doc/windows-tools/). +- For Windows 10 under Qubes 4.0, a way to install QWT 4.0.1.3, which has worked in several instances, is described in [Qubes Windows Tools](/external/os-guides/windows/windows-tools.md). Create a VM named win7new in [HVM](/doc/hvm/) mode (Xen's current PVH limitations precludes from using PVH): @@ -209,7 +209,7 @@ Finally, increase the VM's `qrexec_timeout`: in case you happen to get a BSOD or qvm-prefs win7new qrexec_timeout 300 ~~~ -At that point you should have a functional and stable Windows VM, although without updates, Xen's PV drivers nor Qubes integration (see sections [Windows Update](#windows-update) and [Xen PV drivers and Qubes Windows Tools](./windows-tools.md#xen-pv-drivers-and-qubes-windows-tools) below). It is a good time to clone the VM again. +At that point you should have a functional and stable Windows VM, although without updates, Xen's PV drivers nor Qubes integration (see sections [Windows Update](#windows-update) and [Xen PV drivers and Qubes Windows Tools](/external/os-guides/windows/windows-tools.md#xen-pv-drivers-and-qubes-windows-tools)). It is a good time to clone the VM again. Windows as TemplateVM From e0fafae68d64dd32a081b6ad0a489a0b0721f618 Mon Sep 17 00:00:00 2001 From: "Dr. Gerhard Weck" Date: Sun, 11 Oct 2020 12:20:51 +0200 Subject: [PATCH 17/19] Correct links to other file --- os-guides/windows/windows-vm.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os-guides/windows/windows-vm.md b/os-guides/windows/windows-vm.md index 8a4611a..ca79f84 100644 --- a/os-guides/windows/windows-vm.md +++ b/os-guides/windows/windows-vm.md @@ -119,7 +119,7 @@ MS Windows versions considerations: - The instructions *may* work on other versions than Windows 7 x64 but haven't been tested. - Qubes Windows Tools (QWT) only supports Windows 7 x64. Note that there are [known issues](https://github.com/QubesOS/qubes-issues/issues/3585) with QWT on Qubes 4.x -- For Windows 10 under Qubes 4.0, a way to install QWT 4.0.1.3, which has worked in several instances, is described in [Qubes Windows Tools](/external/os-guides/windows/windows-tools.md). +- For Windows 10 under Qubes 4.0, a way to install QWT 4.0.1.3, which has worked in several instances, is described in [Qubes Windows Tools](./windows-tools.md). Create a VM named win7new in [HVM](/doc/hvm/) mode (Xen's current PVH limitations precludes from using PVH): @@ -209,7 +209,7 @@ Finally, increase the VM's `qrexec_timeout`: in case you happen to get a BSOD or qvm-prefs win7new qrexec_timeout 300 ~~~ -At that point you should have a functional and stable Windows VM, although without updates, Xen's PV drivers nor Qubes integration (see sections [Windows Update](#windows-update) and [Xen PV drivers and Qubes Windows Tools](/external/os-guides/windows/windows-tools.md#xen-pv-drivers-and-qubes-windows-tools)). It is a good time to clone the VM again. +At that point you should have a functional and stable Windows VM, although without updates, Xen's PV drivers nor Qubes integration (see sections [Windows Update](#windows-update) and [Xen PV drivers and Qubes Windows Tools](./windows-tools.md#xen-pv-drivers-and-qubes-windows-tools)). It is a good time to clone the VM again. Windows as TemplateVM From 3ac6d417b26e842b4ecd57cac8c3b25d6fc43dbd Mon Sep 17 00:00:00 2001 From: "Dr. Gerhard Weck" Date: Sun, 11 Oct 2020 12:52:06 +0200 Subject: [PATCH 18/19] Update windows-vm.md --- os-guides/windows/windows-vm.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os-guides/windows/windows-vm.md b/os-guides/windows/windows-vm.md index ca79f84..7ea153e 100644 --- a/os-guides/windows/windows-vm.md +++ b/os-guides/windows/windows-vm.md @@ -119,7 +119,7 @@ MS Windows versions considerations: - The instructions *may* work on other versions than Windows 7 x64 but haven't been tested. - Qubes Windows Tools (QWT) only supports Windows 7 x64. Note that there are [known issues](https://github.com/QubesOS/qubes-issues/issues/3585) with QWT on Qubes 4.x -- For Windows 10 under Qubes 4.0, a way to install QWT 4.0.1.3, which has worked in several instances, is described in [Qubes Windows Tools](./windows-tools.md). +- For Windows 10 under Qubes 4.0, a way to install QWT 4.0.1.3, which has worked in several instances, is described in [Qubes Windows Tools](/doc/windows-tools/). Create a VM named win7new in [HVM](/doc/hvm/) mode (Xen's current PVH limitations precludes from using PVH): @@ -209,7 +209,7 @@ Finally, increase the VM's `qrexec_timeout`: in case you happen to get a BSOD or qvm-prefs win7new qrexec_timeout 300 ~~~ -At that point you should have a functional and stable Windows VM, although without updates, Xen's PV drivers nor Qubes integration (see sections [Windows Update](#windows-update) and [Xen PV drivers and Qubes Windows Tools](./windows-tools.md#xen-pv-drivers-and-qubes-windows-tools)). It is a good time to clone the VM again. +At that point you should have a functional and stable Windows VM, although without updates, Xen's PV drivers nor Qubes integration (see sections [Windows Update](#windows-update) and [Xen PV drivers and Qubes Windows Tools](/doc/windows-tools/#xen-pv-drivers-and-qubes-windows-tools)). It is a good time to clone the VM again. Windows as TemplateVM From 82f36650f855912d8a49730fd3738155f4060253 Mon Sep 17 00:00:00 2001 From: "Dr. Gerhard Weck" Date: Sun, 11 Oct 2020 13:38:15 +0200 Subject: [PATCH 19/19] Hopefully last try to get the syntax right --- os-guides/windows/windows-vm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os-guides/windows/windows-vm.md b/os-guides/windows/windows-vm.md index 7ea153e..5eeb7f6 100644 --- a/os-guides/windows/windows-vm.md +++ b/os-guides/windows/windows-vm.md @@ -111,7 +111,7 @@ qvm-prefs win7new qrexec_timeout 300 qvm-prefs win7new debug false ~~~ -To install Qubes Windows Tools, follow instructions [below](#xen-pv-drivers-and-qubes-windows-tools). +To install Qubes Windows Tools, follow instructions in [Qubes Windows Tools](/doc/windows-tools/). ### Detailed instructions ###