From b47f2803024cb69873820e11ec862ee423fd99c0 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Tue, 26 Jan 2016 18:13:30 +0000 Subject: [PATCH] Hyper-V: remove the force stop now that the Hyper-V deamons are running Also, minor, unrelated tweak to the documentation Signed-off-by: Rolf Neugebauer --- docs/windows-notes.md | 2 +- scripts/MobyLinux.ps1 | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/windows-notes.md b/docs/windows-notes.md index c8fbfbdaf..9fe8f04b6 100644 --- a/docs/windows-notes.md +++ b/docs/windows-notes.md @@ -5,7 +5,7 @@ I use Windows 10 Pro in a Vmware Fusion VM. Make sure it's a 64bit VM. In Vmware Fusion VM settings make sure the `Processor -> Advanced Options -> Enable hypervisor applications in virtual machine` is selected. This enables nested virtualisation. If you install on bare hardware make sure the virtualisation technology is enabled in the BIOS. When creating the user, make sure that te username does **not** contain -any spaces. This will save you a world of pain! On Windows 10, also select custom settings during the install and disable all the spying/calling home features introduced. +any spaces. This will save you a world of pain! On Windows 10, also select custom settings during the install and disable all the spying/calling home features introduced. Also, since I'm running Windows in a VM on an already password protected system, I disable password for my user, using `c:\Windows\System32\netplwiz.exe`. Just untick the password checkbox. Install software: diff --git a/scripts/MobyLinux.ps1 b/scripts/MobyLinux.ps1 index d87e57045..9904c546a 100755 --- a/scripts/MobyLinux.ps1 +++ b/scripts/MobyLinux.ps1 @@ -183,8 +183,9 @@ function Stop-MobyLinuxVM { Write-Output "Stopping $VmName" - # Using -Force for now until the host integration services are installed in the VM - Stop-VM -VMName $VmName -Force + # You can use -Force to basically pull the plug on the VM + # The below requires the Hyper-V tools to be installed in the VM + Stop-VM -VMName $VmName } # Main entry point