Windows – Various Troubleshooting

Problem Solution
Windows 11
Skip online account during setup 1. Hit Shift+F10
2. Enter OOBE\BYPASSNRO
3. Wait for reboot
4. Select “I don't have Internet”
Remove work account from local Windows account 1. Go to Settings app
2. Accounts > Access work or school
Disconnect the account in question
Microsoft Office
Office won't activate despite accepting Product Key 1. Open Admin Cmd
2. cd “C:\Program Files (x86)\Microsoft Office\Office16”
3. List product keys cscript ospp.vbs /dstatus
4. Remove invalid key cscript ospp.vbs /unpkey:{last 5 chars of key}
VPN
Allow Wireguard for non-admin users 1. Customize and execute this PowerShell script:
AddUserToNetworkOps.ps1
# This script prompts the user for a domain\username to add to the
# network configuration operators group, and adds the registry key for
# limited user interface in order for non-admin user to control wireguard.
$user = Read-Host -Prompt 'Input your username, in the format domain\username'
New-Item "hklm:\software\wireguard"
New-ItemProperty "hklm:\software\wireguard" -Name "LimitedOperatorUI" -Value 1 -PropertyType "DWord" -Force
Add-LocalGroupMember -Group "Network Configuration Operators" -Member "$user"


In German systems, use “Netzwerkkonfigurations-Operatoren” as the group name.

Installation
Use an MST (Transforms) file
msiexec /i example.msi TRANSFORMS="example.mst"
MSIEXEC flags -qn – Quiet, no interaction
/norestart – No Restart
/x – Uninstall