Windows

| Comments

Contents:

Installation on Macbooks #

Boot Camp #

To download the drivers:

  1. From MacOS: Boot Camp Assistant -> Menu -> “Action” -> “Download Windows Support Software”
  2. From Windows: https://github.com/timsutton/brigadier

Workaround TPM 2.0 requirement #

Intel Macbooks have a T2 security chip, so Windows 11 is NOT officially supported.

To install:

  1. Use Microsoft’s Windows 11 Media Creation Tool to create the USB.
  2. Boot the Mac from it.
  3. When Windows Setup complains about TPM / unsupported hardware, press: Shift + F10
  4. Run regedit
  5. Create this key: HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig
  6. Add these DWORD values set to 1
BypassTPMCheck
BypassSecureBootCheck

Support for HyperV #

Required for WSL2.

Install rEFInd.

NOTE: for some reason, on my Macbook Pro 2019, with Windows 11, I had to do nothing, so this may not be needed.

Third-party utilities #

Tips and Tricks #

Activate Windows license #

Set Caps-Lock as Ctrl #

Open Powershell as Administrator and execute:

$hex = "0000000000000000020000001D003A0000000000"
$bytes = for ($i = 0; $i -lt $hex.Length; $i += 2) {
    [Convert]::ToByte($hex.Substring($i, 2), 16)
}

New-ItemProperty `
  -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Keyboard Layout" `
  -Name "Scancode Map" `
  -PropertyType Binary `
  -Value $bytes `
  -Force

WSL2 Tips #

Set-up tutorials #