I'm just a simple techie who sometimes forgets things. I use this as a notepad to remember things by. I hope it helps you too. I post as myself, not as any organisation.
Wednesday, 24 November 2021
Chia Daemon Not Starting
Monday, 27 September 2021
Wednesday, 17 February 2021
How to change Microsoft 365 Channel from command line
Good article here on how to change Microsoft 365 without worrying about registry keys.
- Run a CMD prompt
- type cd C:\Program Files\Common Files\Microsoft Shared\ClickToRun
- To change to e.g. Current channel do the following
- Type OfficeC2RClient.exe /changesetting Channel=Current
- Type OfficeC2RClient.exe /update user
More details here: https://www.fmsinc.com/microsoft-office/change-office-365-channel.html#CommandPrompt
Tuesday, 22 December 2020
Prepare and create a RAID5 Array of 5 * 4TB Segate Barracuda Disks
We need to prepare the disks as GPT labeled as they are > 2TB.
For each disk:
- parted -a optimal /dev/sdx
- mklabel gpt
- mkpart primary 0% 100%
- set 1 raid on
- align-check optimal 1
- quit
- mdadm --create /dev/md0 --level=raid5 --raid-devices=5 /dev/sdx1 /dev/sdx1 /dev/sdx1 /dev/sdx1 /dev/sdx1
Tuesday, 8 December 2020
Restrict ASUS laptop charge to 60% in Linux
Dual booting my ASUS TUF laptop between Windows and Ubuntu 10.
The tools supplied by ASUS with Windows allows the battery charge to be limited to a specified %, the most agressive being 60%, in a bid to preserve battery life. Most laptops that are docked keep the battery at 100% and this kills the battery.
Found a good answer here:
https://askubuntu.com/questions/1006778/set-battery-thresholds-on-ubuntu-asus/1230442#1230442
I didn't have enough reputation on the site to leave a like or comment so I'm showing my appreciation here.
I did install tlp using "sudo apt install tlp" but not certain this is required.
The reason I am not certain that TLP is required is because all the kernal modules listed in "tlp-stat -b" are showing as inactive and laptop not supported.
I've just unplogged my laptop and will let the percentage drop to below 60%, reconnect to the mains and see if the charging stops as hoped.
Monday, 7 December 2020
Setup MTA-STS on a GSuite hosted domain
Excellent step-by-step guide here:
https://kenbonny.net/2020/02/17/set-up-mta-sts-on-a-gsuite-hosted-github-pages/
Many thanks for this great content.
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:
- In Disk Management, offline the disk
- Right-click the disk and go to Properties > Policies tab
- Select the option "Better performance" then click OK. If prompted to restart your computer, click No.
- Again right-click the disk, go to Properties > Policies tab
- Select the option "Quick removal (default)" then click OK. If prompted to restart your computer, click No.
- 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
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?
Wednesday, 17 July 2019
Chrome Reaper
https://www.theregister.co.uk/2019/07/17/dont_fear_the_chrome_reaper/
Instructions and install files here:
https://github.com/usnistgov/Metrology/tree/master/Reaper
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
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
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
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
Friday, 28 December 2018
Windows 10 unable to access SYSVOL and NETLOGON on 2008 R2 Domain Controllers
I found some help here:
- https://community.spiceworks.com/topic/1389891-windows-10-and-sysvol-netlogon
- https://social.technet.microsoft.com/Forums/en-US/f4d77de7-17df-4463-b751-d1892829e7ab/windows-10-cannot-be-access-sysvol-amp-netlogon-folder-on-the-server-2012-r2?forum=win10itprogeneral
- Computer -> Administrative Templates -> Network -> Network Provider -> Hardened UNC Paths
- \\*\NETLOGON RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0
- \\*\SYSVOL RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0
- \\DCNAME RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0
Wednesday, 26 December 2018
Linux Mint 19.1 as guest on Virtualbox 60
https://blog.thefoleyhouse.co.uk/2018/10/ubuntu-1804-bionic-beaver-as-virtualbox.html
Essentially:
- sudo apt update
- sudo apt install virtualbox-guest-utils virtualbox-guest-dkms dkms linux-headers-generic build essential
Monday, 3 December 2018
Geo-location with Wireshark and Geolite2
https://dev.maxmind.com/geoip/geoip2/geolite2/
More details on the Wireshark Wiki (GeoIP link appears broken):
https://wiki.wireshark.org/HowToUseGeoIP
You can get endpoint statistics:
Thursday, 25 October 2018
Move Windows 10 notifications to top of screen
Creating the following registry with a value of 0 will move the toasts to the top of the screen instead:
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer
DWORD DisplayToastAtBottom 0x000000000 (0)
Thanks to Winaero:
https://winaero.com/blog/move-notification-toasts-to-top-or-bottom-of-the-screen-in-windows-10/
Monday, 15 October 2018
Ubuntu 18.04 Bionic Beaver ntp inactive dead
Ubuntu 18.04 Bionic Beaver as Virtualbox Guest
Testing on server gives the following in /etc/apt/sources.list after initial install:
- deb http://archive.ubuntu.com/ubuntu bionic main
- deb http://archive.ubuntu.com/ubuntu bionic-security main
- deb http://archive.ubuntu.com/ubuntu bionic-updates main
You may be using a different ftp/http location, but just adding 'multiverse' to each line should achieve the same result. I ended up with:
- deb http://archive.ubuntu.com/ubuntu bionic main multiverse
- deb http://archive.ubuntu.com/ubuntu bionic-security main multiverse
- deb http://archive.ubuntu.com/ubuntu bionic-updates main multiverse
I then ran the following commands to update and install the required modules:
- sudo apt update
- sudo apt install virtualbox-guest-utils virtualbox-guest-dkms dkms linux-headers-generic build essential
Sunday, 16 September 2018
Unable to run Etherape on Ubuntu 18.04
https://community.parrotsec.org/t/etherape-not-working-since-last-update/813/5
This missing library was added with the command:

