Sunday, 22 November 2020

Getting Hyper-V to recognise a physical disk

 I'm running WSL2 and docker on my main machine and have noticed that even though Virtual Box will run, the reliability of the VMs is somewhat sub-par and often involves crashing.

I have taken to installing various Linux distros such as Ubuntu and Parrot on SSD drives in removable USB3 housings.

The main issue with installing Linux from USB boot media is the installation interferes with the Windows UEFI boot loader and can leave Windows unbootable without repairing this. However, if you do fix the Windows boot loader it stop Linux booting. There is probably a way to fix this but I haven't spent the time to do so yet.

My workaround has been to use Hyper-V to install Linux to a the removeable drive, however Hyper-V has an issue seeing the drive to add sometimes.

I found the answer here.

By following the proceedure at the bottom of the post, Hyper-V is able to see and add an SSD drive in a USB3 enclosure. This is limited to disks though, removable devices won't work in my experience.

Thanks to reid1000 you can follow the steps below:

  1. In Disk Management, offline the disk
  2. Right-click the disk and go to Properties > Policies tab
  3. Select the option "Better performance" then click OK. If prompted to restart your computer, click No.
  4. Again right-click the disk, go to Properties > Policies tab
  5. Select the option "Quick removal (default)" then click OK. If prompted to restart your computer, click No.
  6. In Hyper-V Manager, turn off the virtual machine. Then, open its settings and add the physical hard disk to the SCSI Controller.


Wednesday, 7 August 2019

Microsoft Teams Crashing on Startup\Sign in

Teams developed a crash on startup.
Saw various messages such as an Azure AD sign in failure whch s strange as we don't use Azure AD for local domain authenticaton.
We do use a centrally provided Azure sign in for Office 365 applicatons though.

Finally tracked down this article on the excellent Petri site:
https://www.petri.com/debugging-teams-clients

Gave the option to delete the Teams cache at %AppData%\Microsoft\Teams and this fixed the issue straight away.

The teams client did initially come up wth my AD logon, so perhaps it was trying to authenticate my domain logon against Azure?

Friday, 12 April 2019

How to hide an entire drive from prying eyes on Windows 10

How to hide an entire drive from prying eyes on Windows 10

How to Disable the “Low Disk Space” Warning on Windows 10

Playing with Windows to go and need to disable the constant "Disk is full" messages:
https://www.faqforge.com/windows/windows-10/how-to-disable-the-low-disk-space-warning-on-windows-10/

Sunday, 24 February 2019

Boinc on Cosmic 18.10

I'm sufering from OPENCL failures on Ubuntu 18.10 running Boinc so will try these third party drivers:

https://linuxconfig.org/how-to-install-amd-radeon-drivers-on-ubuntu-18-10-cosmic-cuttlefish-linux

Saturday, 5 January 2019

Retroarch does not recognise my controller

Despite have autoconfig setup for input device, the Retroarch snap on Ubuntu 18.04 would not work with my cheap PS3 like controller.

Turns out this is a disconnect between the snap and USB gamepad\joystick support:
https://forums.libretro.com/t/retroarch-does-not-recognize-my-usb-controller-solved/16985

You need to connect the controls to the snap using:

  • sudo snap connect retroarch:raw-usb
  • sudo snap connect retroarch:joystick
Thanks hunterk!

Friday, 28 December 2018

Windows 10 unable to access SYSVOL and NETLOGON on 2008 R2 Domain Controllers


I found some help here:
Looks like the SMB security needs to be weakened to allow Windows 10 to access these shares.
Enable the following policy:
  • Computer -> Administrative Templates -> Network -> Network Provider -> Hardened UNC Paths
You can either put the following in "Show Values":
  • \\*\NETLOGON    RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0
  • \\*\SYSVOL    RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0
Or put an entry for each DC:
  • \\DCNAME    RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0