Skip to content

Instantly share code, notes, and snippets.

View erwinkersten's full-sized avatar
🚀

Erwin Kersten erwinkersten

🚀
View GitHub Profile
@erwinkersten
erwinkersten / WSL2_on_W2k22.md
Last active October 30, 2024 10:01
Install WSL2 on Windows Server 2022

Install WSL2 on Windows Server 2022

When installing a WSL2 distribution on Windows Server 2022 you may receive the error An error occurred during installation. Distribution Name: 'Ubuntu 22.04 LTS' Error Code: 0x8000ffff. First you need to update WSL after enabling the feature.

Steps for a fresh installation:

  1. Enable Windows Subsystem for Linux
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  1. Reboot
@erwinkersten
erwinkersten / winget-cli_on_W2k22.md
Last active October 8, 2024 10:18
Install WIndows Package Manager (winget) on Windows Server 2022

Install WIndows Package Manager (winget) on Windows Server 2022

  1. Download and install microsoft-ui-xaml
  2. Download WinGet an License file
  3. Install WinGet with License

Execute the following in Windows PowerShell (PowerShell 7 doesn't support the Appx module)

#Update versions, see https://github.com/microsoft/microsoft-ui-xaml/releases (grab Microsoft.UI.Xaml Winget may require a specific version) 
@erwinkersten
erwinkersten / Windows_Terminal_on_W2k22.md
Last active July 4, 2024 08:01
Install Windows Terminal on Windows Server 2022

Install Windows Terminal on Windows Server 2022

  1. Download and install c-runtime-packages-desktop-bridge
  2. Download and install microsoft-ui-xaml
  3. Download and install Microsoft.WindowsTerminal

Execute the following in Windows PowerShell (Powershell 7 doesn't support the Appx module)

# Update versions, see https://learn.microsoft.com/en-us/troubleshoot/developer/visualstudio/cpp/libraries/c-runtime-packages-desktop-bridge#how-to-install-and-update-desktop-framework-packages
@erwinkersten
erwinkersten / Update-AUPackages.md
Last active November 20, 2024 16:12
Update-AUPackages Report #powershell #chocolatey