### Enable .NET Framework 3.5 during Setup Source: https://winhance.net/docs/guides/autounattend.html Uses DISM to install .NET Framework 3.5 from the installation media's \sources\sxs directory. This is performed in the specialize pass. ```powershell DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:"D:\sources\sxs" ``` -------------------------------- ### Install Winhance via PowerShell Source: https://winhance.net/docs/getting-started/installation.html Use this command to quickly download and run the latest Winhance installer. Requires administrator privileges. ```powershell irm "https://get.winhance.net" | iex ``` -------------------------------- ### Windows 10 Clean Start Menu Layout XML Source: https://winhance.net/docs/features/customizations/start-menu.html This XML file defines an empty Start layout with no pinned tiles for Windows 10. It is used by Winhance to apply a clean Start Menu layout. ```xml ``` -------------------------------- ### Force Windows Edition Selection Source: https://winhance.net/docs/guides/autounattend.html Configures the Product Key and UI behavior to ensure the Windows Edition selection screen appears during installation. This is part of the windowsPE pass. ```xml 00000-00000-00000-00000-00000 Always ``` -------------------------------- ### Skip OOBE Screens Source: https://winhance.net/docs/guides/autounattend.html Configuration to hide various screens during the Out-of-Box Experience, including EULA, OEM registration, Microsoft Account prompts, and WiFi setup. This is set in the oobeSystem pass. ```xml true true true true ``` -------------------------------- ### Bypass Network Requirement (BypassNRO) Source: https://winhance.net/docs/guides/autounattend.html Adds a registry key to bypass the network connection requirement during OOBE, allowing local account setup. This is configured in the specialize pass. ```xml true ``` -------------------------------- ### Disable Network Adapters during Setup Source: https://winhance.net/docs/guides/autounattend.html A PowerShell command to temporarily disable all network adapters. This prevents forced Microsoft Account login and driver downloads during OOBE. Use in the specialize pass. ```powershell Get-NetAdapter | Disable-NetAdapter ``` -------------------------------- ### Bypass Windows 11 Hardware Checks Source: https://winhance.net/docs/guides/autounattend.html Registry keys to bypass TPM, Secure Boot, RAM, CPU, storage, and disk checks for Windows 11 installation. Add these to the windowsPE pass. ```xml true true true true true true ``` -------------------------------- ### Enable Aero Peek via Registry Source: https://winhance.net/docs/features/optimizations/gaming-performance.html Enable the Aero Peek feature, allowing users to preview the desktop by hovering over the taskbar. Set 'EnableAeroPeek' to 1. ```powershell reg add "HKCU\Software\Microsoft\Windows\DWM" /v EnableAeroPeek /t REG_DWORD /d 1 /f ``` -------------------------------- ### Winhance Configuration File Structure Source: https://winhance.net/docs/guides/configuration-files.html This JSON structure defines the configuration for Winhance, including app selections, optimizations, and customizations. It is used for importing and exporting settings. ```json { "Version": "2.0", "CreatedAt": "2026-01-29T12:00:00Z", "WindowsApps": { "IsIncluded": true, "Items": [ { "Id": "microsoft-edge", "Name": "Microsoft Edge", "IsSelected": true, "AppxPackageName": "Microsoft.MicrosoftEdge.Stable" } ] }, "ExternalApps": { "IsIncluded": true, "Items": [ { "Id": "brave-browser", "Name": "Brave", "IsSelected": true, "WinGetPackageId": "Brave.Brave" } ] }, "Optimize": { "IsIncluded": true, "Features": { "privacy-security": { "IsIncluded": true, "Items": [ { "Id": "telemetry-disable", "Name": "Disable Telemetry", "IsSelected": true, "InputType": "Toggle" } ] } } }, "Customize": { "IsIncluded": true, "Features": { "windows-theme": { "IsIncluded": true, "Items": [ { "Id": "theme-mode-windows", "Name": "Windows Theme", "SelectedIndex": 0 } ] } } } } ``` -------------------------------- ### Enable Taskbar Thumbnail Previews via Registry Source: https://winhance.net/docs/features/optimizations/gaming-performance.html Enable caching of taskbar thumbnail previews for faster display by setting 'DisablePreviewWindow' to 0. This is a useful feature. ```powershell reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v DisablePreviewWindow /t REG_DWORD /d 0 /f ``` -------------------------------- ### Enable a Scheduled Task Source: https://winhance.net/docs/features/optimizations/gaming-performance.html Use this command to enable a specific scheduled task. Replace '...' with the actual task path. ```bash schtasks /Change /TN "..." /Enable ``` -------------------------------- ### Re-enable Network Adapters after OOBE Source: https://winhance.net/docs/guides/autounattend.html A command to re-enable all network adapters, restoring internet connectivity after the OOBE phase. This is typically set as a First Logon Command. ```powershell Get-NetAdapter | Enable-NetAdapter ``` -------------------------------- ### Disable Window Animations via Registry Source: https://winhance.net/docs/features/optimizations/gaming-performance.html Disable smooth animations when minimizing and maximizing windows by setting the 'MinAnimate' registry value to '0'. This improves performance. ```powershell reg add "HKCU\Control Panel\Desktop\WindowMetrics" /v MinAnimate /t REG_SZ /d 0 /f ``` -------------------------------- ### Enable/Disable Power Efficiency Diagnostics Task Source: https://winhance.net/docs/features/optimizations/gaming-performance.html Commands to enable or disable the Power Efficiency Diagnostics task, which analyzes system power consumption. It is recommended to keep this disabled to conserve resources. ```bash schtasks /Change /TN "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /Enable ``` ```bash schtasks /Change /TN "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /Disable ```