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:
Tuesday, 21 August 2018
How to generate a Battery Report in Windows 10
powercfg /batteryreport /output c:\Temp\Battery_Report.html
See the post here:
https://www.windowscentral.com/generate-battery-report-windows-10
Sunday, 27 May 2018
Parrot 4 will not start LDM in Virtualbox
The fix, to install modules from the VirtualBox ISO, is detailed by Pavel at the following link:
Failed to start light display manager? - Community - Parrot Community:
When you obtain the failure message about lightdm, simply press ALT+F1 and log in there. then:
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install build-essential module-assistant
- sudo m-a prepare
- mount /media/cdrom
- sudo sh /media/cdrom/VBoxLinuxAdditions.run
Saturday, 19 May 2018
Tuesday, 15 May 2018
Tuesday, 3 April 2018
You'll need a new app to open this ms-windows-store - Windows 10
'via Blog this'
Sunday, 11 March 2018
How to install VirtualBox Guest Additions in a Debian virtual machine - Unix & Linux Stack Exchange
For Debian 9, enable backports with contrib repository to /etc/apt/sources.list
- deb http://ftp.uk.debian.org/debian stretch-backports main contrib
Then update and install:
- sudo apt update
- sudo apt install virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms dkms linux-headers-amd64 build-essential
Monday, 1 January 2018
Script to create multiple VM clones
I have found this.
http://www.virtualclouds.co.za/?p=1239
Tuesday, 1 August 2017
Disable USB power saving for booting from USB
Edit /etc/default/grub and change the following line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"
Chromium Hardware Acceleration Issues on Mint 18,2
After investigation I discovered that the hardware acceleration had been disabled. By adding the following switches to the 'exec' lines in /opt/google/chrome/google-chrome I was able to force all the acceleration options on:
- --enable-native-gpu-memory-buffers
- --enable-zero-copy
- --disable-gpu-driver-bug-workarounds
- --ignore-gpu-blacklist
- --enable-gpu-rasterization
- --enable-checker-imaging
Sunday, 2 July 2017
Unable to update Skype because of GPG error
W: GPG error: https://repo.skype.com/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1F3045A5DF7587C3
Thanks to QwertyChouskie over at this thread for the answer:
'curl https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -'
Wednesday, 14 June 2017
June 2017 security update release – MSRC
June 2017 security update release – MSRC:
Advisory is 4025685:
https://support.microsoft.com/en-us/help/4025687/microsoft-security-advisory-4025685-guidance-for-older-platforms
'via Blog this'
Tuesday, 30 May 2017
Bug #1587975 “packagekitd eats all the CPU” : Bugs : AppCenter
Elementary OS problems with packagekitd using all CPU after installation of Skype.
Seems that the Skype repo doesn't add the GPG key properly.
I only had to run these lines:
curl https:/
sudo apt update
'via Blog this'
Monday, 29 May 2017
elementary OS Snippets: Add My Weather Indicator To Wingpanel
I had to install software-properties-common before I could add the repository:
sudo apt install software-properties-common
sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install my-weather-indicator
Saturday, 27 May 2017
Installing Virtualbox Guest modules into Devuan
1. Remove the cdrom as a package source
2. Add jessie-backports as a package source
3. Update the installation
1. Remove the cdrom as a package source
As a privileged user, edit the /etc/apt/sources.list file and put a hash character in front of any line starting with 'deb cdrom':
$ sudo vi /etc/apt/sources.list
2. Add jessie-backports as a package source
Add the following three lines (if you're using the GB mirror) to your sources.list:
# jessie-backports
deb http://gb.mirror.devuan.org/merged/ jessie-backports main contrib
deb-src http://gb.mirror.devuan.org/merged/ jessie-backports main contrib
Adjust the URL if you are using a different mirror to what you are using for e.g. jessie-updates
3. Update the installation
$ sudo apt update
$ sudo apt dist-upgrade
$ sudo apt autoremove
$ sudo apt autoclean
4. Identify your kernel architecture:
$ uname -a
Linux devuan 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux
Friday, 26 May 2017
Samba - Security Announcement Archive
Either upgrade to latest version, or put 'nt pipe support = no' into [global] section of smb.conf and restart smbd.
Samba - Security Announcement Archive:
'via Blog this'
Thursday, 25 May 2017
Immunet - Cisco Talos
Immunet - Cisco Talos:
'via Blog this'
DNS Security with DNSCrypt | OpenDNS
Use DNSCrypt with OpenDNS.
DNS Security with DNSCrypt | OpenDNS:
'via Blog this'
Saturday, 6 May 2017
openvas | sil3ntcor3 ramblings
The link below got me up and running again.
openvas | sil3ntcor3 ramblings:
I had to run:
- openvasmd --migrate
- openvasmd --update
'via Blog this'
Wednesday, 26 April 2017
Windows 10 Creators Update bumped to build 15063.250 with KB4016240 | On MSFT
I'm hopeful the browser memory leak fix ss the one I observed and reported with regards to the Jetstream tests at http://browserbench.org/JetStream/ .
Edit: Edge still uses GB of memory and eventually crashes and returns to the start page before completing three runs of the test. Not sure if this is an Edge issue, or a combination of Edge and Sophos client v10.7. The same behaviour was seen with Sophos v10.6.
'via Blog this'
Monday, 24 April 2017
Add a Report Phishing Button in Outlook -
This will allow you to customise the Microsoft SPAM\PHISHING reporter to send to additional mail addresses such as a service desk and email provider.
More details on the reg entries at this site:
https://technet.microsoft.com/en-us/library/jj723139(v=exchg.150).aspx
'via Blog this'
Saturday, 22 April 2017
Release of SWA v4.3.1.4 - Chrome and SSL decryption - Blog - Web Appliance - Sophos Community
Updating to v4.3.1.4 fixes the issue with Chrome v58 objecting to HTTPS inspection.
'via Blog this'
Saturday, 18 February 2017
Playing with Open vStorage and Docker - Open vStorage BlogOpen vStorage Blog
Very interesting article on how to get vStorage up and running under Docker within VirtualBox. I managed to get a single node up easily but there were a few errors on adding the second node. vStorage seems to be a virtual storage solution that's able to replicate across disks, servers and locations while supporting compression, dedupe and encryption.
The line 'gzip -dc ovshc_unstable_img.tar.gz | docker load' should read 'gzip -dc ovshc_unstable_img.tar.gz | sudo docker load' and the URL to access the GUI should read https://IP_Address_of_VM.
Starting the second node seems to hang on the command 'sudo ./ovscluster.sh join ovshc2 10.250.0.2/16' hung with the status 'Status: Downloaded newer image for docker.openvstorage.org/ovshc/unstable:latest4417288f5ad21f5577e3fb4fe6ba25f4af0e71c277ab4d2cf554521c517469e6' and nothing else seems to happen after this.
I'd really like to see a tutorial to set this up on a physical Ubuntu server with RDMA but I can't seem to leave a comment on the blog. :(
Good article though, and thanks!
'via Blog this'
Monday, 23 January 2017
Join.me showing a black shared screen on Windows 10
This forced Join.me to run under the Intel HD5500 card, and the graphics display correctly at the remote end.
Thursday, 29 December 2016
Install Security Onion 14.04 into VirtualBox
1. Make sure everything is up to date:
- sudo apt update
- sudo apt upgrade
- sudo apt dist-upgrade
- sudo apt-get autoremove
- sudo apt-get autoclean
- sudo apt install xserver-xorg-core
- sudo apt install virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms dkms
- sudo reboot
- sudo apt-get autoremove
- sudo apt-get autoclean
Tuesday, 27 December 2016
Snort\Barnyard2\Snorby running on x86 Ubuntu 14.04
http://www.ubuntu-howtodoit.com/?p=138
Step 5.2 I had to adjust the line:
./configure --with-mysql --with-mysql-libraries=/usr/lib/x86_64-linux-gnu
To the following line as I am running an x86 install on this old server:
:~$ ./configure --with-mysql --with-mysql-libraries=/usr/lib/i386-linux-gnu
Step 7, I pulled the Upstart scripts from the following:
https://s3.amazonaws.com/snort-org-site/production/document_files/files/000/000/090/original/Snort_2.9.8.x_on_Ubuntu_12-14-15.pdf
This was due to Ubuntu 14.04 running Upstart rather than Systemd.
Section 8.12 - As I was running Nginx rather than Apache2, I followed this:
https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-passenger-and-nginx-on-ubuntu-14-04
This page to configure Passenger:
https://www.phusionpassenger.com/library/install/nginx/install/oss/trusty/
The contents of /etc/nginx/passenger.conf that worked for me was:
passenger_root /usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.1.1;
passenger_ruby /usr/local/bin/ruby;
Saturday, 24 December 2016
Sunday, 20 November 2016
Windows Containers on Windows 10 Anniversary Edition
Works nicely with the Windows Server 2016 Container videos from Microsoft Ignite here:
https://www.youtube.com/playlist?list=PL_AEfBHGUiI9SmGakvrqvG-jZnicHKWh0
Couple of corrections I had to make:
1. Replace the Docker download URL with https://master.dockerproject.org/windows/amd64/docker-1.14.0-dev.zip instead of v1.13.
2. The Docker CLI didn't work for me until I restarted PowerShell.
Windows Container on Windows 10:
'via Blog this'
Sunday, 23 October 2016
How to turn off preview globally for Evolution 3.22.1
First, I installed dconf-editor:
sudo apt install dconf-editor
I then started this up and navigated to the following place:
/org/gnome/evolution/mail
I then scrolled down to the global-view-setting.
I set the Use default value to OFF, and then set the Custom value to True,
Once I turned off the preview for the Inbox, it was gone for all other message folders too:
View > Preview > Uncheck Show Message preview.
You can also use Ctrl+M to toggle this on and off.
Setting up NHS Mail 2 in Evolution v3.22.1
First of all, I had to add the Evolution EWS service which wasn't installed by default:
sudo apt install evolution-ews
Once that was installed, I was able to go through the account setup:
Edit > Preferences > Mail Accounts > Add
The auto discovery failed, but by manually setting the type to Evolution EWS I was able to get it working.
The magic URL that worked for me was:
https://mail.nhs.net/EWS/Exchange.asmx
Once that was set, I was able to get the OAB URL too by clicking on the Fetch URL button.
You have to be careful not to store your NHS Mail 2 password in the security otherwise it will eventually lock your account.
I'm not entirely sure that NTLM on EWS is a good authentication method to use with NHS Mail 2 so I will be following this up with Accenture when I'm back at work - Not sure what kind of reception I will get to that though.
Anyone have any thoughts of the merits of NTLM vs Kerberos authentication in an Internet facing application such as EWS?
Monday, 17 October 2016
Taking backup of encrypted Azure VMs with ADE (Azure Disk Encryption) using Azure Backup in OMS | Building Clouds
How to enable Azure Disk Encryption (ADE) so you can still use the Azure Backup Service. If you only use BEK (Bitlocker in the VM) then that is incompatible with the backups.
'via Blog this'
Sunday, 9 October 2016
Screen tearing with Intel HD 5500 on HP ZBook 15 G2 and Ubuntu 16.10 Beta 2
Found various posts stating to create the file /usr/share/X11/xorg.conf.d/20-intel.conf containing the following information:
Section "Device"
Identifier "Intel Graphics"
Driver "Intel"
Option "TearFree" "true"
EndSection
I've now looked at this again in Ubuntu 17.04 beta 2, and added the following two lines to sort out issues with the Chrome address bar flickering:
Option "AccelMethod" "sna"
Option "DRI" "3"
I did not have to change any switches used to startup Chrome 57.
This thread helped a lot.
Wednesday, 5 October 2016
Opt-In to Microsoft Update (Windows)
Set ServiceManager = CreateObject("Microsoft.Update.ServiceManager")
ServiceManager.ClientApplicationID = "My App"
'add the Microsoft Update Service, GUID
Set NewUpdateService = ServiceManager.AddService2("7971f918-a847-4430-9279-4a52d1efe18d",7,"")"
'via Blog this'
Sunday, 4 September 2016
YUM/DNF Remove Old Kernels on Fedora/CentOS/RHEL | If Not True Then False
Install yum-utils to allow:
package-cleanup --oldkernels --count = 2
'via Blog this'
Sunday, 28 August 2016
Crappy Netflix Playback? Here’s How to Test Your Streaming Speed | WIRED
Linux is therefore limited to 720 and not 1080 as it doesn't run crappy IE or Edge.
Crappy Netflix Playback? Here’s How to Test Your Streaming Speed | WIRED:
'via Blog this'
Screen tearing problem on Cub Linux
Replace backend = "xrender"; with backend = "glx";
Replace vsync = "none"; with vsync = "opengl";
Note: This works fine on the Integrated Intel HD5500 graphics but still produces tearing if I switch to the Radeon Discrete graphics. Not sure if I can find a setting that works with both... Thoughts?
How to force Linux appliaction to run using discrete graphics card
e.g.
"glmark2" runs on the integrated graphics vs "DRI_PRIME=1 glmark2" runs on the discrete graphics.
"chromium-browser" runs on the integrated graphics vs "DRI_PRIME=1 chromium-browser" runs on the discrete graphics.
You can also force the use of radeon graphics by the use of a grub flag.
ati - Very Low Temperature Reading for graphics driver using lm-sensors - Ask Ubuntu:
'via Blog this'
How to force Linux appliaction to run using discrete graphics card
e.g.
"glmark2" runs on the integrated graphics vs "DRI_PRIME=1 glmark2" runs on the discrete graphics.
"chromium-browser" runs on the integrated graphics vs "DRI_PRIME=1 chromium-browser" runs on the discrete graphics.
You can also force the use of radeon graphics by the use of a grub flag.
ati - Very Low Temperature Reading for graphics driver using lm-sensors - Ask Ubuntu:
'via Blog this'
How to force Linux appliaction to run using discrete graphics card
e.g.
"glmark2" runs on the integrated graphics vs "DRI_PRIME=1 glmark2" runs on the discrete graphics.
"chromium-browser" runs on the integrated graphics vs "DRI_PRIME=1 chromium-browser" runs on the discrete graphics.
You can also force the use of radeon graphics by the use of a grub flag.
ati - Very Low Temperature Reading for graphics driver using lm-sensors - Ask Ubuntu:
'via Blog this'
Friday, 26 August 2016
Squid HTTPS Reverse Proxy With Wild Card Certificate to Support Multiple Websites
'via Blog this'
Monday, 22 August 2016
How to shrink a dynamically-expanding guest virtualbox image | dantwining.co.uk
'via Blog this'
This worked for me on Debian Testing which has a habit of increasing in size purely due to the number of updates required.
I first tried compacting the disk without zeroing the space and the disk size went down from 12.485GB to 12.476, a massive 9MB saving. ;)
I then followed the procedure in the post modified slightly for Debian:
- Install zerofree using 'sudo apt install zerofree'
- Power off the virtual system using 'sudo poweroff'
- Boot the system holding left shift
- Select advanced options
- Select recovery mode using the latest installed kernel
- Identify your root filesystem (and any other filesystems you want to compact) using 'mount'; take a note of the filesystem type they are using as well
- 'service rsyslog stop'
- 'service network-manager stop'
- Run the following two commands for all the required filesystems:
- 'mount -n -o remount,ro -t ext4 /dev/sda1 /'
- 'zerofree -v /dev/sda1'
- Replace ext3 with the required filesystem type, / with the required mount point, and /dev/sda1 with the required device
- 'poweroff'
- Compact the files system using cmd prompt if on Windows:
- 'cmd' (run as administrator)
- 'C:'
- 'cd "\Program Files\Oracle\VirtualBox"'
- 'vboxmanage modifyhd "D:\VMs\Debian Testing\Debian Testing.vdi"' (replace the .vdi path with our own disk image)
Sunday, 24 July 2016
Monday, 4 July 2016
Creating a tiered virtual disk in Windows Server 2016 VM using VirtualBox as hypervisor
The VM disks (hosted as virtual disks on an actual SSD) were marked as SSD correctly:
Turns out that the SSD disks weren't the problem, it was the HDD which were coming up as UnSpecified:
Get-PhysicalDisk | select FriendlyName, UniqueId, MediaType, Size
FriendlyName UniqueId MediaType Size
------------ -------- --------- ----
VBOX HARDDISK {01c1a62b-e1d6-1910-b251-09f3ae1b2047} UnSpecified 214748364800
VBOX HARDDISK {12fcf70b-b805-183a-f1a8-103d6b91ba70} UnSpecified 34359738368
VBOX HARDDISK {31b25faa-db05-490a-7acd-a8927a2b569f} UnSpecified 214748364800
VBOX HARDDISK {45fc2705-9a13-1afc-a554-0ded23d9e78b} UnSpecified 214748364800
VBOX HARDDISK {50642166-ca99-47ce-2f87-b5b4f2c19254} SSD 21474836480
VBOX HARDDISK {57b897e4-f98a-3330-dbc2-6a5ab6749742} SSD 21474836480
VBOX HARDDISK {769a2aa9-a289-7627-24ef-6b3a2fcff2bb} SSD 21474836480
VBOX HARDDISK {a1a9e55d-68b9-7eb3-11dd-6348bb837642} UnSpecified 214748364800
VBOX HARDDISK {d98baa0d-b0df-74ea-ac87-d107998e79ed} SSD 21474836480
The commands below won't work if the disks are still in the primordial pool, so you need to use either the GUI or PowerShell to create the pool first. Once that is done you can edit change the FriendlyName and the MediaType using Powershell.
I was able to rename and reclassify the HDD's like so:
Set-PhysicalDisk -UniqueId '{01c1a62b-e1d6-1910-b251-09f3ae1b2047}' -NewFriendlyName HDD1 -MediaType HDD
Set-PhysicalDisk -UniqueId '{31b25faa-db05-490a-7acd-a8927a2b569f}' -NewFriendlyName HDD2 -MediaType HDD
Set-PhysicalDisk -UniqueId '{45fc2705-9a13-1afc-a554-0ded23d9e78b}' -NewFriendlyName HDD3 -MediaType HDD
Set-PhysicalDisk -UniqueId '{a1a9e55d-68b9-7eb3-11dd-6348bb837642}' -NewFriendlyName HDD4 -MediaType HDD
I was also able to rename the SSD devices to make them more obvious:
Set-PhysicalDisk -UniqueId '{50642166-ca99-47ce-2f87-b5b4f2c19254}' -NewFriendlyName SDD1
Set-PhysicalDisk -UniqueId '{57b897e4-f98a-3330-dbc2-6a5ab6749742}' -NewFriendlyName SDD2
Set-PhysicalDisk -UniqueId '{769a2aa9-a289-7627-24ef-6b3a2fcff2bb}' -NewFriendlyName SDD3
Set-PhysicalDisk -UniqueId '{d98baa0d-b0df-74ea-ac87-d107998e79ed}' -NewFriendlyName SDD4
The disks were now identified correctly and I could create my tiered virtual disks:
FriendlyName UniqueId MediaType Size
------------ -------- --------- ----
HDD1 {01c1a62b-e1d6-1910-b251-09f3ae1b2047} HDD 214748364800
VBOX HARDDISK {12fcf70b-b805-183a-f1a8-103d6b91ba70} UnSpecified 34359738368
HDD2 {31b25faa-db05-490a-7acd-a8927a2b569f} HDD 214748364800
HDD3 {45fc2705-9a13-1afc-a554-0ded23d9e78b} HDD 214748364800
SDD1 {50642166-ca99-47ce-2f87-b5b4f2c19254} SSD 21474836480
SDD2 {57b897e4-f98a-3330-dbc2-6a5ab6749742} SSD 21474836480
SDD3 {769a2aa9-a289-7627-24ef-6b3a2fcff2bb} SSD 21474836480
HDD4 {a1a9e55d-68b9-7eb3-11dd-6348bb837642} HDD 214748364800
SDD4 {d98baa0d-b0df-74ea-ac87-d107998e79ed} SSD 21474836480
Everything looked good in the GUI too:
Friday, 24 June 2016
Google Chrome on Ubuntu 16.04
sudo apt install libappindicator1 libindicator7
Wednesday, 8 June 2016
renew Openvas 8 Certificates
openvas-mkcert -q -f 'Refreshes the server certificate for a year
openvas-mkcert-client -n -i 'Refresahes the client certificate for a year
reboot
Wednesday, 1 June 2016
A Networker's Log File: Single Sign On for RD Web Access (WS2012)
This worked for me on 2008R2 as well.
Set the "Allow Delegating Default Credentials" etc on Local computer using gpedit.msc and Local Computer policy.
'via Blog this'
Friday, 27 May 2016
Drivers & Software - HP Support Center.
Update to v6.0.1.7657 Rev C of Hp Realtek Audio Driver
'via Blog this'
Microphone too quiet on HP ZBook 15u G2 - HP Support Forum - 5637322
I'm getting quite frustrated not being able to online conference with my audio mic.
'via Blog this'
Monday, 23 May 2016
Saturday, 21 May 2016
Booting Tails 2.3 on HP Zbook 15 G2
There are quite a few workrounds on the Tails page for laptops with dual graphic adaptors, but none of them worked for me.
The ZBook seems to boot in Intel HD graphics and then switch to Radeon graphics on login.
The display is then only active for a few seconds before crashing to the boot text. All you can do then is press the power button to shut down.
Failsafe mode wasn't really acceptable as it seems to be software driven and was very slow, so, after a bit of experimentation I found hitting TAB on the Grub boot screen and appending 'radeon.modeset=0' (without the quotes) allowed Tails to boot into a stable, fast desktop. I know it's only using the Intel graphics now, but I don't think Tails needs the high power Radeon adaptor anyway.
I then tried to find a way to make this permanent.
After more experimentation I found that you could remount the boot media with a read-write flag and then change the appropriate .cfg files with:
- sudo mount -o remount,rw /lib/live/mount/medium
- sudo vi /lib/live/mount/medium/syslinux/liveamd64.cfg
- sudo vi /lib/live/mount/medium/EFI/BOOT/liveamd64.cfg
- sudo mount -o remount,ro /lib/live/mount/medium
To use use sudo, you need to set a password on boot with the 'More Options' dialog, and you have to append the 'radeon.modeset=0" manually the first time you boot to be able to do the above.
Tuesday, 17 May 2016
Tuesday, 3 May 2016
Monday, 25 April 2016
Ubuntu 16.04 as Virtualbox Guest on Windows
- Ubuntu
- Kubuntu
- Xubuntu
- Lubuntu
- Ubuntu Gnome
- Ubuntu Mate
- sudo apt install virtualbox-guest-utils virtualbox-guest-dkms dkms linux-headers-generic build-essential
Wednesday, 20 April 2016
Sunday, 10 April 2016
Remove Signature Dashes from Evolution 3 under Gnome 3
dconf write /org/gnome/evolution/mail/composer-no-signature-delim true
Thanks to delcoursolutions and Richard for the answer at:
http://delcoursolutions.tumblr.com/post/36602556359/remove-signature-dashes-from-evolution-36-under
Ubuntu 16.04 Bug #1568455 "Incorrect information in /etc/c-icap/c-icap.conf"
I was attempting to setup c-icap to handle scanning against clamav for our Dell FS8600 NAS, but there is a problem in /etc/c-
Line 232 of /etc/c-
ModulesDir ${prefix}
It should read:
ModulesDir /usr/lib/
Line 240 of /etc/c-
ServicesDir ${prefix}
It should read:
ServicesDir /usr/lib/
Looks like the information in the default conf file isn't being updated correctly about the installation location.
This is affecting both the server and desktop build.
Friday, 25 March 2016
Install Ubuntu 16.04 as guest in VirtualBox
Running 'sudo apt-get install virtualbox-guest-utils' worked, but I was getting a kernel driver error message. I'd seen this before and couldn't think how I had fixed it though it did seem to involve permissions.
I found that running 'sudo apt-get install dkms virtualbox-guest-dkms' fixed it though.
Wednesday, 17 February 2016
Removing WPAD from DNS block list
Both WPAD and ISATAP are blocked as queries in 2008 DNS to prevent dynamically registered records creating a denial of service or man in the middle attack with DNS. You can change this blocklist by following the info below.
Removing WPAD from DNS block list:
'via Blog this'
Sunday, 20 December 2015
New Outlook Bug Doesn't Require Users To Interact With Emails To Be Compromised - Slashdot
"The bug is because Outlook allows Flash objects to be previewed without a Sandbox".
More details here:
http://news.softpedia.com/news/badwinmail-microsoft-outlook-bug-can-give-attackers-control-over-pcs-497795.shtml
PDF Here:
https://sites.google.com/site/zerodayresearch/BadWinmail.pdf?attredirects=0
'via Blog this'
Saturday, 19 December 2015
'Unauthorized code' that decrypts VPNs found in Juniper's ScreenOS • The Register
Statement from Juniper:
https://forums.juniper.net/t5/Security-Incident-Response/Important-Announcement-about-ScreenOS/ba-p/285554
KB article from Juniper:
https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10713&cat=SIRT_1&actp=LIST
CVE for remote access vulnerability:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7755
CVE for VPN monitoring vulnerability:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7756
'via Blog this'
Friday, 13 November 2015
Best HTML5 Browser Compatibility in Windows 10 Threshold2 (v1511)
I used the site https://html5test.com.
In reverse order:
| Browser | Version | HTML5 Rating |
|---|---|---|
| Internet Explorer | 11.0.24 | 343/555 |
| Edge | 13.10586 | 453/555 |
| Maxthon | 4.4.8.1000 | 467/555 |
| Firefox | 42.0 | 468/555 |
| Chrome | 47.0.2526.58 | 501/555 |
| Vivaldi | 1.0.303.52 | 521/555 |
Monday, 2 November 2015
Sunday, 25 October 2015
Strong SSL Security on nginx - Raymii.org
Friday, 23 October 2015
Saturday, 17 October 2015
Windows 10 Store icon missing from taskbar
I managed to get it back by changing the properties of the taskbar so it wasn't using small icons anymore (Right-click on the task bar, Properties, and then deselect Use small taskbar icons.
I then removed the Store icon by Right-click and then selecting Unpin this program from task bar.
I used search to find the Store application, and then Right-click, and then finally Pin to taskbar.
I can now have my taskbar using small or large icons and the Store icon is still visible.
Fix: Windows 10 Settings app does not open or launch
Emerging seems to be a known error for which there isn't an "official" patch yet, so it does some registry malarky to fix the issue for now.
I wonder if I'll need to run ut again?
Fix: Windows 10 Settings app does not open or launch:
'via Blog this'
Wednesday, 2 September 2015
Unable to run Unity Tweak Tool on Ubuntu 15.10 Daily
The following schema is missing
org.gnome.settings-daemon.peripherals.touchpad
Thanks to the guys at Ask Ubuntu for the answer:http://askubuntu.com/questions/616267/cannot-use-the-unity-tweak-tool
Replace occurrences of 'org.gnome.system-daemon.peripherals.touchpad' with
'org.gnome.desktop.peripherals.touchpad'.
This was in the following files:
/usr/lib/python3/dist-packages/UnityTweakTool/section/system.py
/usr/lib/python3/dist-packages/UnityTweakTool/section/spaghetti/gsettings.py
Sunday, 16 August 2015
Sunday, 9 August 2015
Upgrade Fedora 21 to Fedora 22 - Official method
https://fedoraproject.org/wiki/Upgrading_Fedora_using_yum
I do love the name of the official tool - FedUp:
https://fedoraproject.org/wiki/FedUp
Look like the process should be:
Backup
Backup again
$ sudo yum update
$ sudo reboot
$ sudo yum install fedup
$ sudo fedup --network 22
Reboot
Select System Upgrade from boot menu
Reboot
$ sudo rpm --rebuilddb
$ sudo dnf install rpmconf
$ sudo rpmconf -a




