James McDonald

Disk Export from Azure to Hyper-V boot failure

TLDR; Convert the VHD (GPT disk) into a VHDX and it will work The journey: Just did a disk export of a Azure VM generation V2 disk. The VHD format of the exported disk won't boot in Hyper-V. The Azure portal says it's a V2 VM (This was lifted and shifted from a...

Windows 2019 Server Azure Ad Connect Fails

Failing to install on a Domain Controller which his a fresh install of Windows 2019 Server This could be due to no support for TLS 1.2 being enabled. Uninstall Azure AD Connect and then run the enable TLS 1.2 script and reboot and then re-install. Worked for me....

Performing a reverse (PTR) Lookup with NSLOOKUP

Syntax is: nslookup ip_of_host_to_lookup ip_of_dns_server Example of successful lookup returning server name to IP mapping PS C:\Users\ja> nslookup 10.73.2.21 10.73.2.9 Server: TGN-DC03.TOGGEN.LOCAL Address: 10.73.2.9 Name: srv01.toggen.local Address: 10.73.2.21...

Downloading VMWare Workstation Pro

I have a license (less than a year old) for VMWare Workstation Pro I migrated my account from VMWare.com to broadcom.com but my license keys, entitlements, downloads are not appearing in the support dashboard. I tried to raise a support ticket but it says I need a...

Robocopy exclude Directories

Just trying to copy everything except a couple of directories from a drive to my NAS This is the secret incantation of robocopy when running in a Power Shell Terminal on Windows 11 robocopy d:\ \\mynas\toggen\DATA\ *.* /XD 'D:\$RECYCLE.BIN' 'D:\.Trash-1000' /E /Z From...

Synology DS1522+ Link Aggregation with Unifi UDM

Synology Configuration Plug in as many network cables between your Synology and Unifi Switch as you want to be in the bond. Each Network Interface on the Synology will receive an IP address via DHCP from the UDM. Login to your Synology using one of the IP addresses it...

Read a Windows registry Hive from Linux CLI

Just had to find the operating system of a remote computer so I copied the C:\Windows\System32\config\software.sav (the software hive file is locked by the OS so used the .sav instead) file to Ubuntu 2024 Linux and used hivexget to read the "ProductName" sudo apt-get...

List local disks

GET-CimInstance -query "SELECT * from Win32_DiskDrive" DeviceID Caption Partitions Size Model -------- ------- ---------- ---- ----- \\.\PHYSICALDRIVE0 WDC WD60EZAZ-00ZGHB0 0 6001172513280 WDC WD60EZAZ-00ZGHB0 \\.\PHYSICALDRIVE2 Seagate One Touch w/PW SCSI Disk Device...

Create ISO using Powershell

Usage New-IsoFile -NewIsoFilePath C:\tmp\Hyper-V.iso-sources -ImageName Hyper-V -SourceFilePath 'C:\tmp\Hyper-V' New-IsoFile -NewIsoFilePath C:\tmp\W2K3SP2CD1.iso -ImageName W2K3SP2CD1 -SourceFilePath 'C:\tmp\Windows 2003 Server R2 Std Edition SP2 CD1' New-IsoFile...