Skip to content

Instantly share code, notes, and snippets.

@eladkarako
Last active July 30, 2026 21:23
Show Gist options
  • Select an option

  • Save eladkarako/c64631cc3135a1c02130fff1c2d57194 to your computer and use it in GitHub Desktop.

Select an option

Save eladkarako/c64631cc3135a1c02130fff1c2d57194 to your computer and use it in GitHub Desktop.
skip minimal requirement and speed-up first steps in the new setup of Windows 11 (26H1)
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<!-- https://gist.githubusercontent.com/eladkarako/c64631cc3135a1c02130fff1c2d57194/raw/autounattend.xml -->
<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ComplianceCheck><DisplayReport>Never</DisplayReport></ComplianceCheck> <!-- https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-setup-compliancecheck -->
<Diagnostics><OptIn>false</OptIn></Diagnostics> <!-- https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-setup-diagnostics -->
<DynamicUpdate><Enable>true</Enable><WillShowUI>Always</WillShowUI></DynamicUpdate> <!-- https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-setup-dynamicupdate -->
<UserData>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key>W269N-WFGWX-YVC9B-4J6C9-T83GX</Key> <!-- mandatory for xml. W10/W11 Pro (not Windows 11 Pro for Workstations). taken from here: https://learn.microsoft.com/en-us/windows-server/get-started/kms-client-activation-keys -->
<WillShowUI>Always</WillShowUI>
</ProductKey>
</UserData>
<RunSynchronous>
<RunSynchronousCommand wcm:action="add"><Order>1</Order><Path>cmd /c ( for %D in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( if exist %D:\AutoUnattend.xml ( reg import %D:\reg_tweaks.reg ) ) )</Path></RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add"><Order>1</Order><Path>cmd /c ( for %D in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( if exist %D:\AutoUnattend.xml ( reg import %D:\reg_tweaks.reg ) ) )</Path></RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE><ProtectYourPC>3</ProtectYourPC></OOBE>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add"><Order>1</Order><CommandLine>cmd /c ( for %D in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( if exist %D:\AutoUnattend.xml ( reg import %D:\reg_tweaks.reg ) ) )</CommandLine></SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
</unattend>
Windows Registry Editor Version 5.00
;https://gist.githubusercontent.com/eladkarako/c64631cc3135a1c02130fff1c2d57194/raw/reg_tweaks.reg
;;----------------------------------------------- allow setup even when spec. isn't great
[HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig]
"BypassTPMCheck"=dword:00000001
"BypassSecureBootCheck"=dword:00000001
"BypassRAMCheck"=dword:00000001
"BypassStorageCheck"=dword:00000001
"BypassCPUCheck"=dword:00000001
"AllowUpgradesWithUnsupportedTPMOrCPU"=dword:00000001
;;----------------------------------------------- another variation of above workaround.
[HKEY_LOCAL_MACHINE\SYSTEM\Setup\MoSetup]
"BypassTPMCheck"=dword:00000001
"BypassSecureBootCheck"=dword:00000001
"BypassRAMCheck"=dword:00000001
"BypassStorageCheck"=dword:00000001
"BypassCPUCheck"=dword:00000001
"AllowUpgradesWithUnsupportedTPMOrCPU"=dword:00000001
;;----------------------------------------------- allows future upgrades when spec. isn't great - disabled. you can make it 21H1 to specify updates to specific version, I think it breaks stuff.
;[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
;"DisableWUfBSafeguards"=dword:00000001
"DisableWUfBSafeguards"=-
;"TargetReleaseVersion"=dword:00000001
"TargetReleaseVersion"=-
;"TargetReleaseVersionInfo"="25H1"
"TargetReleaseVersionInfo"=-
;;----------------------------------------------- prevent screen-nags regarding upgrades.
[HKEY_CURRENT_USER\Control Panel\UnsupportedHardwareNotificationCache]
"SV1"=dword:00000000
"SV2"=dword:00000000
;;----------------------------------------------- allows offline installation. effects W11+.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE]
"BypassNRO"=dword:00000001
;;----------------------------------------------- restores normal right-click menu. effects W11.
[HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32]
@=""
;;----------------------------------------------- prefer .manifest file if present.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide]
"PreferExternalManifest"=dword:00000001
;;----------------------------------------------- opt-in long-path support.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"LongPathsEnabled"=dword:00000001
;;----------------------------------------------- same, different user.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet001\Control\FileSystem]
"LongPathsEnabled"=dword:00000001
;;----------------------------------------------- same, via group-policies.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies]
"LongPathsEnabled"=dword:00000001
;;----------------------------------------------- enable send-to menu for drive (single select).
[HKEY_CLASSES_ROOT\Drive\ShellEx\ContextMenuHandlers\Send To]
@="{7BA4C740-9E81-11CF-99D3-00AA004AE837}"
;;----------------------------------------------- enable send-to menu for drive (few selected).
[HKEY_CLASSES_ROOT\Drive\ShellEx\ContextMenuHandlers\Send To]
@="{7BA4C740-9E81-11CF-99D3-00AA004AE837}"
;;----------------------------------------------- allow screen-color adjust (0x100=256)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ICM]
"GdiIcmGammaRange"=dword:00000100
;;----------------------------------------------- same.
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\ICM]
"GdiIcmGammaRange"=dword:00000100
;;----------------------------------------------- reduce some analytics
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection]
"AllowTelemetry"=dword:00000000
"MaxTelemetryAllowed"=dword:00000000
"MicrosoftEdgeDataOptIn"=dword:00000000
"AllowDeviceNameInTelemetry"=dword:00000000
;;----------------------------------------------- same.
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Policies\DataCollection]
"AllowTelemetry"=dword:00000000
"MaxTelemetryAllowed"=dword:00000000
"MicrosoftEdgeDataOptIn"=dword:00000000
"AllowDeviceNameInTelemetry"=dword:00000000
"MicrosoftEdgeDataOptIn"=dword:00000000
"DoNotShowFeedbackNotifications"=dword:00000001
;;----------------------------------------------- reduce some MS-Edge browser analytics.
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MicrosoftEdge\BooksLibrary]
"EnableExtendedBooksTelemetry"=dword:00000000
;;----------------------------------------------- reduce application analytics.
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat]
"AITEnable"=dword:00000000
;;----------------------------------------------- no nags.
[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Assistance\Client\1.0]
"NoExplicitFeedback"=dword:00000001
"NoImplicitFeedback"=dword:00000001
;;----------------------------------------------- show file ext, show hidden files (not system hidden), run explorer.exe in multi-process mode. remember opened explorer windows, show status bar and menu and don't use share wizard (use extended share tab, permission if needed), show full path, and limit memory used if using nav-panel.
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;show file extension.
"HideFileExt"=dword:00000000
;show all drives.
"HideDrivesWithNoMedia"=dword:00000000
;show hidden files.
"Hidden"=dword:00000001
;show system-hidden file (desktop.ini) etc..
"ShowSuperHidden"=dword:00000001
;launch few explorer.exe multi-process.
"SeparateProcess"=dword:00000001
"PersistBrowsers"=dword:00000001
"AlwaysShowMenus"=dword:00000001
"ShowStatusBar"=dword:00000001
"SharingWizardOn"=dword:00000000
"DontPrettyPath"=dword:00000000
"NavPaneExpandToCurrentFolder"=dword:00000000
"NavPaneShowAllCloudStates"=dword:00000001
"NavPaneShowAllFolders"=dword:00000000
;;------------------------------------------ w11 - no longer works you need startallback.
"Start_ShowClassicMode"=dword:00000001
;;------------------------------------------ w11 - taskbar alignment to the left (0 left, 1 center).
"TaskbarAl"=dword:00000000
;;------------------------------------------ w11 - snap assist (0 hide, 1 show)
"EnableSnapAssistFlyout"=dword:00000000
;;------------------------------------------ w11 (until "moment 2" at least) - larger buttons in task bar (start bar), 0 small, 1 normal, 2 large. you better use DPI settings to make things larger, and if possible startallback (StartAllBack version 3.6.9.4701 finally works with 22H2 and newly "moment 3").
"TaskbarSi"=dword:00000002
;;------------------------------------------ w7-* no shake-interface to to minimize windows.
"DisallowShaking"=dword:00000001
;;------------------------------------------ w11 start run keep history, expand start menu (sometimes helps classic-start).
"Start_TrackProgs"=dword:00000001
"EnableXamlStartMenu"=dword:00000001
;;------ you can avoid "creating extra desktop" using various combinations by mistake by disabling all windows command lines that have "D" in it.
;;------ now bring back show desktop specific, using autohotkey and a script with this line in it:
;;------ #d:: ComObjCreate("Shell.Application").ToggleDesktop() ; [WIN] + [D] --- a better desktop show/hide, works even if 'd' keys disabled with HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced DisabledHotkeys REG_SZ D
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;"DisabledHotkeys"="D"
;disable cortana and remove its button from start menu.
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowCortanaButton"=dword:00000000
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Cortana]
"IsAvailable"=dword:00000000
;;----------------------------------------------- reduce some space initial.
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer]
"ExplorerRibbonStartsMinimized"=dword:00000001
;;----------------------------------------------- allow autocomplete to be more useful.
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete]
"Use AutoComplete"="yes"
"AutoSuggest"="yes"
"Append Completion"="yes"
;;---------------------------- extended autocomplete (applied originally in internet-exploer).
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Main]
"FormSuggest Passwords"="yes"
"Use FormSuggest"="yes"
;;----------------------------------------------- developer mode.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock]
"AllowAllTrustedApps"=dword:00000001
"AllowDevelopmentWithoutDevLicense"=dword:00000001
;------------- turn OFF notifications from windows defender. all. anti-virus, firewall, etc..
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications]
"DisableEnhancedNotifications"=dword:00000001
"DisableNotifications"=dword:00000001
;------------- same.
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows Defender Security Center\Notifications]
"DisableEnhancedNotifications"=dword:00000001
"DisableNotifications"=dword:00000001
;------------------------- disable full-screen previous when hovering mouse over task-bar, show mini preview window.
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"DisablePreviewWindow"=dword:00000001
"DisablePreviewDesktop"=dword:00000001
;---------- disable LUA to make every command admin, avoid auto running installations as admin. try do that using gpedit.msc first.. if gpedit.msc removed those, then re-enable those and apply it. suggest disable notification of user actions first (lower the bar of user interaction notification to the lowest).
;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
;"EnableLUA"=dword:00000000
;"EnableInstallerDetection"=dword:00000000
;"EnableSecureUIAPaths"=dword:00000000
;"EnableUIADesktopToggle"=dword:00000000
;"PromptOnSecureDesktop"=dword:00000000
;"shutdownwithoutlogon"=dword:00000001
;------- 0 allow ms accounts, 1 no add ms accounts, 3 no add/login ms accounts. (https://docs.microsoft.com/en-us/windows/privacy/manage-connections-from-windows-operating-system-components-to-microsoft-services#bkmk-microsoft-account)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"NoConnectedUser"=dword:00000003
;;---------------------------------------------- faster showing menu (400 default).
[HKEY_CURRENT_USER\Control Panel\Desktop]
"MenuShowDelay"="0"
;;---------------------------------------------- same.
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"MenuShowDelay"="0"
;;---------------------------------------------- same.
[HKEY_USERS\S-1-5-18\Control Panel\Desktop]
"MenuShowDelay"="0"
;;---------------------------------------------- same.
[HKEY_USERS\S-1-5-19\Control Panel\Desktop]
"MenuShowDelay"="0"
;;---------------------------------------------- same.
[HKEY_USERS\S-1-5-20\Control Panel\Desktop]
"MenuShowDelay"="0"
;;----------------------------------------------------- use better time servers.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers]
@="0"
"0"="time.google.com"
"1"="pool.ntp.org"
"2"="time.windows.com"
"3"="time.nist.gov"
"4"="time-nw.nist.gov"
"5"="time-a.nist.gov"
"6"="time-b.nist.gov"
;;----------------------------------------------------- default time server.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Parameters]
"NtpServer"="time.google.com,0x9"
;;----------------------------------------------------- default time server.
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\W32Time\Parameters]
"NtpServer"="time.google.com,0x9"
;;---------------- show explorer here using CMD. cmd2 is used since cmd is protected key.
[-HKEY_CLASSES_ROOT\Directory\shell\cmd2]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\cmd2]
[-HKEY_CLASSES_ROOT\Drive\shell\cmd2]
[HKEY_CLASSES_ROOT\Directory\shell\cmd2]
@="@shell32.dll,-8506"
"Extended"=""
[HKEY_CLASSES_ROOT\Directory\shell\cmd2\command]
@="cmd.exe /s /k pushd \"%V\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd2]
@="@shell32.dll,-8506"
"Extended"=""
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd2\command]
@="cmd.exe /s /k pushd \"%V\""
[HKEY_CLASSES_ROOT\Drive\shell\cmd2]
@="@shell32.dll,-8506"
"Extended"=""
[HKEY_CLASSES_ROOT\Drive\shell\cmd2\command]
@="cmd.exe /s /k pushd \"%V\""
;;-----------------------------------------------------------------------------
;;;;;;;;;;;;;;;;;;;;-------------- network optimizations.
;;--------------increase amount of parallel-allowed connections.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters]
"TcpNumConnections"=dword:000007d0
"TcpMaxHalfOpen"=dword:00000fa0
"TcpMaxHalfOpenRetried"=dword:00000bb8
"TcpMaxPortsExhausted"=dword:00001388
"SynAttackProtect"=dword:00000000
;TcpNumConnections
; maximum number of connections that TCP can have open simultaneously.
; default: not there (not "0"!!!)
; limits: 0-16777214 or 0-FFFFFE
; good value: 500 or 1F4
; https://technet.microsoft.com/en-us/library/cc938216.aspx
;TcpMaxHalfOpen
; maintain in the half-open (SYN-RCVD) state before TCP/IP initiates SYN flooding attack protection
; default: Windows NT Server: 0x64 ( 100 ) Windows NT Workstation: 0x1F4 ( 500 )
; limits: 0x64–0xFFFF ( connections ) 100 or 65535
; good value: 1500 or 5DC
; https://technet.microsoft.com/en-us/library/cc938212.aspx
;TcpMaxHalfOpenRetried
; limit 0x50 ( 80 )–0xFFFF
; default Windows NT Server: 0x50 ( 80 ) Windows NT Workstation: 0x190 ( 400 )
; good value: 1000 or 3E8
; https://technet.microsoft.com/en-us/library/cc938213.aspx
;TcpMaxPortsExhausted
; limits: 0-65535 or 0x0–0xFFFF
; default: 5 or 0x5
; good value: 2000 or 7D0
; https://technet.microsoft.com/en-us/library/cc938214.aspx
;SynAttackProtect
; default 0
; should be kept 0
; https://technet.microsoft.com/en-us/library/cc938202.aspx
;;----------------------------------------------------------------------------------------------
;------------- reduce windows lag due to trying to maintain recent-documents from network/lan (not needed).
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRecentDocsNetHood"=dword:00000001
;;-------------------solve "not enough storage is available to process this command" message.
;https://technet.microsoft.com/en-us/library/cc957453.aspx
;https://windowsinstructed.com/fix-not-enough-storage-is-available-to-process-this-command/
;value: 20(decimal) 14(hex)
;default: 15(decimal) F(hex)
;range is 1-50(decimal) 1-32(hex)
;for "undo" use "IRPStackSize"=- and reboot.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters]
"IRPStackSize"=dword:00000014
;-------improve lan stuff to undo just place =- instead. decimal values are for reading not usage.
;using MaxCmds=255, MaxThreads=255, MaxCollectionCount=65535.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters]
"MaxCmds"=dword:000000ff
"MaxThreads"=dword:000000ff
"MaxCollectionCount"=dword:0000ffff
;------------ avoid maintaining and using offline cache from network/lan. if its offline, its offline as it should! reduce garbage, helps to only work with fresh files. does not hurt working on files in network, you can open .doc file on network without the risk of saving/opening an old cached file.
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetCache]
"Enabled"=dword:00000000
"NoMakeAvailableOffline"=dword:00000001
"NoReminders"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]
"SizReqBuf"=dword:0000ffff
;;---------- show hidden devices that are not currently connected (helps uninstall them)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
"devmgr_show_nonpresent_devices"="1"
;;---------- disable some .net analytics
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
"DOTNET_CLI_TELEMETRY_OPTOUT"="1"
;;---------- no driver-signing verification (drivers can be signed with a self-signed certificate).
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{5EE91DA0-502A-476C-9E0F-2BE3D0CB2485}User\Software\Policies\Microsoft\Windows NT\Driver Signing]
"BehaviorOnFailedVerify"=dword:00000000
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT\Driver Signing]
"BehaviorOnFailedVerify"=dword:00000000
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT\Driver Signing]
"BehaviorOnFailedVerify"=dword:00000000
;;-----------------------------------------------------------------------
;;------------ search box (0 hide, 1 icon, 2 full search box).
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
;"SearchboxTaskbarMode"=dword:00000000
"SearchboxTaskbarMode"=dword:00000001
;----------- windows 11 - widgets button on start menu - hide.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"TaskbarDa"=dword:00000000
;----------- same.
[KEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"TaskbarDa"=dword:00000000
;----------- same, with group-policy (all users).
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh]
"AllowNewsAndInterests"=dword:00000000
;----------- windows 11 - chat button on start menu - hide.
[KEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"TaskbarMn"=dword:00000000
;----------- same.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"TaskbarMn"=dword:00000000
;----------- same, with group-policy (all users).
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Chat]
"ChatIcon"=dword:00000003
;--- allow showing context-menu items, even if 100 files are selected (default is 15 - "MultipleInvokePromptMinimum"=dword:0000000F or "MultipleInvokePromptMinimum"=- )
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"MultipleInvokePromptMinimum"=dword:00000064
;;------------------------------------------ no bing search suggestions in search.
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"DisableSearchBoxSuggestions"=dword:00000001
;--- 300 https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/cannot-open-high-resolution-file-photo-gallery
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Photo Gallery\Viewer]
"MaximumFrameSizeMegapixels"=dword:0000012c

https://gist.github.com/eladkarako/c64631cc3135a1c02130fff1c2d57194#file-skip-minimal-requirement-and-speed-up-first-steps-in-the-new-setup-of-windows-11-26h1-md

  1. assuming you've already built your own ISO of a recent Windows 11 ( https://uupdump.net/known.php?sort=1&q=category%3Aw11-26h1 )
  2. include the following reg_tweaks.reg and autounattend.xml in the ISO (use UltraISO or PowerISO which preserve the bootable state of the ISO).

get them from this gist,
I have added some additional tweaking to the registry file, which is optional.

you can open cmd.exe at any time during the setup,
navigate to D: and run reg import reg_tweaks.reg .

=-=-=-=-=-=-=-=-=-=-=-=-=-=

VirtualBox special case.

you can speed-up the virtual-machine a bit more.
set TPM to none, disable secure boot and UEFI entirely,
enable PAE/NX, nested paging,
and nested VT-x/AMD-v (using VBoxManage modifyvm "<VM_NAME>" --nested-hw-virt on)
under storage remove all, create new SATA (ahci) controller, enable 'use host I/O cache'.
add your hard-drive file, and mark it 'solid state drive' (to reduce writes).
add an empty optical drive, to the sata controller as well.

under audio, disable the audio output,
it can be re-enebled if needed.

under network set the adapter to be disconnected.
those can be re-enabled at any time.
it would help to avoid the setup from accessing online.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment