.tar archive structure
phone.tar
| `vpn.cnf` main configuration
| `keys` keys folder
\
| `ca.crt` CA certificate
| `phonecert.crt` Phone certificate
| `phonekey.key` Phone key
| Dism /online /Disable-Feature /FeatureName:Containers-DisposableClientVM /Remove /NoRestart | |
| Dism /online /Disable-Feature /FeatureName:Containers /Remove /NoRestart | |
| Dism /online /Disable-Feature /FeatureName:Microsoft-Hyper-V-All /Remove /NoRestart | |
| Dism /online /Disable-Feature /FeatureName:Microsoft-Hyper-V-Tools-All /Remove /NoRestart | |
| Dism /online /Disable-Feature /FeatureName:VirtualMachinePlatform /Remove /NoRestart | |
| Dism /online /Disable-Feature /FeatureName:HypervisorPlatform /Remove /NoRestart | |
| Dism /online /Enable-Feature /FeatureName:Containers-DisposableClientVM /NoRestart | |
| Dism /online /Enable-Feature /FeatureName:Containers /NoRestart | |
| Dism /online /Enable-Feature /FeatureName:Microsoft-Hyper-V-All /NoRestart |
| Ultimate fix for "failed to initialize" errors with Windows Sandbox | |
| Settings > System > Recovery > "Fix problems using Windows Update", "Reinstall your current version of Windows (your apps, files, and settings will be preserved" |
| param ( | |
| [Parameter()] | |
| [int]$BackupTaskBar | |
| ) | |
| Add-Type -AssemblyName System.Windows.Forms | |
| Add-Type @" | |
| using System; | |
| using System.Runtime.InteropServices; | |
| public class Win32 { |
| <Configuration> | |
| <VGpu>Enable</VGpu> | |
| <Networking>Enable</Networking> | |
| <AudioInput>Disable</AudioInput> | |
| <VideoInput>Disable</VideoInput> | |
| <PrinterRedirection>Disable</PrinterRedirection> | |
| <ProtectedClient>Enable</ProtectedClient> | |
| <ClipboardRedirection>Enable</ClipboardRedirection> | |
| <MemoryInMB>2048</MemoryInMB> | |
| <MappedFolders> |
| Windows Registry Editor Version 5.00 | |
| [HKEY_CLASSES_ROOT\Applications\photoviewer.dll] | |
| [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell] | |
| [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open] | |
| "MuiVerb"="@photoviewer.dll,-3043" | |
| [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\command] |
| error_page 403 =200 /virtual403.html; | |
| location = /virtual403.html { | |
| add_header Content-Type text/plain; | |
| root /data/nginx/default_www; | |
| return 200 '<h1>It works!</h1>'; | |
| } |
| "quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifuntion │ nofb nomodeset" |
.tar archive structure
phone.tar
| `vpn.cnf` main configuration
| `keys` keys folder
\
| `ca.crt` CA certificate
| `phonecert.crt` Phone certificate
| `phonekey.key` Phone key
| 1. SHIFT + F10 | |
| 2. regedit | |
| 3. HKEY_LOCAL_MACHINE\SYSTEM\Setup | |
| 4. LabConfig (KEY) | |
| 5. BypassTPMCheck, BypassSecureBootCheck, BypassRAMCheck (DWORD 1) |
| Set-VpnConnectionIPsecConfiguration -ConnectionName "Your VPN Name" -AuthenticationTransformConstants SHA256128 -CipherTransformConstants AES128 -DHGroup Group14 -EncryptionMethod AES128 -IntegrityCheckMethod SHA256 -PFSgroup PFS2048 -Force | |