Windows 11
Place of purchase
https://www.hrkgame.com/en/library/products/ (home license)
https://www.premiumcdkeys.com/ (pro license)
Installing Windows 11 without TPM and SecureBoot
Create Windows 11 USB normal way via ISO and Rufus
Shift + F10 -> Regedit
HKEY_LOCAL_MACHINE\SYSTEM\Setup -> Create Key "LabConfig"
Create DWORD-32 -> BypassTPMCheck -> Value: 1
Create DWORD-32 -> BypassSecureBootCheck -> Value: 1
Exit installation window and click Install Windows again.
URL: https://www.askvg.com/how-to-bypass-this-pc-cant-run-windows-11-error-and-disable-hardware-check-on-unsupported-devices/
Disable "Let's finish setting up your device"
Settings -> System ->
[Check] Off suggestions on how I can set up my device
[Check] Get tips and suggestions when I use Windows
Turn off password protected sharing
cmd.exe /c reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" /v "everyoneincludesanonymous" /t REG_DWORD /d 1 /f
cmd.exe /c reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" /v "restrictnullsessaccess" /t REG_DWORD /d 0 /f
Allow all in Firewall
This makes it so that you can have the firewall ON and get rid of stupid messages. But still have everything go through the firewall.
Run in Powershell:
New-NetFirewallRule -DisplayName "Allow all Inbound" -Direction Inbound -Action Allow -Profile Any
New-NetFirewallRule -DisplayName "Allow all Outbound" -Direction Outbound -Action Allow -Profile Any
Allow Ping in Firewall
New-NetFirewallRule -DisplayName "Allow Inbound ICMPv4 (ping)" -Direction Inbound -Protocol ICMPv4 -IcmpType 8 -Action Allow -Profile Any
Allow VNC in Firewall
New-NetFirewallRule -DisplayName "Allow VNC Inbound" -Direction Inbound -Protocol TCP -LocalPort 5900 -Action Allow -Profile Any
Keymap for Mac Keyboard
Map Cmd key to Windows Key, this is for when in Windows and using Mac Keyboard
cmd.exe /c reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map" /t REG_BINARY /d "0000000000000000070000002ee0650030e066005ce038e05be0380038005be038e05ce000000000" /f
Remove Cmd to Windows key mapping
cmd.exe /c reg del "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map" /t REG_BINARY /d "0000000000000000070000002ee0650030e066005ce038e05be0380038005be038e05ce000000000" /f
Disable Shift Sticky keys
cmd.exe /c reg add "HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys" /v Flags /t REG_SZ /d 506 /f
Fix incorrect Time in Windows
Kjør kommandoen under, reboot, sett Timezone manuelt til UTC også endre klokken til korrekt tid.
cmd.exe /c reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /t REG_DWORD /d 1 /f
How to disable Password at logon
cmd.exe /c reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v DevicePasswordLessBuildVersion /t REG_DWORD /d 0
Remove Windows 10 apps
Get-AppxPackage | Select-Object PackageFullName
$list = Get-Content -Path C:\list.txt
foreach($item in $list){
Remove-AppxPackage -Package "$item"
}
Disable Notifications
cmd.exe /c reg add "HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v DisableNotificationCenter /t REG_DWORD /d 1
Disable Windows Defender
- gpedit.msc -> Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus -> Turn off Microsoft Defender Antivirus (Enable).
- URL: https://www.windowscentral.com/how-permanently-disable-windows-defender-windows-10#disable-microsoft-defender-with-group-policy
- https://www.geekrar.com/permanently-disable-windows-defender/
Disable Windows Update
Computer Configuration > Administrative Templates > Windows Components > Windows Update -> Configure Windows Update -> Disabled