From d11edb4a766e8d8d9cdda229e9ed090606031a35 Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Thu, 12 Feb 2026 17:43:33 +0200 Subject: [PATCH 01/14] Cleanup some old code --- MicroWin/tools/FirstStartup.ps1 | 107 +++++--------------------------- 1 file changed, 14 insertions(+), 93 deletions(-) diff --git a/MicroWin/tools/FirstStartup.ps1 b/MicroWin/tools/FirstStartup.ps1 index ce932bf..ed83204 100755 --- a/MicroWin/tools/FirstStartup.ps1 +++ b/MicroWin/tools/FirstStartup.ps1 @@ -1,66 +1,23 @@ # Set the global error action preference to continue $ErrorActionPreference = "Continue" -function Remove-RegistryValue { - param ( - [Parameter(Mandatory = $true)] - [string]$RegistryPath, - - [Parameter(Mandatory = $true)] - [string]$ValueName - ) - - # Check if the registry path exists - if (Test-Path -Path $RegistryPath) { - $registryValue = Get-ItemProperty -Path $RegistryPath -Name $ValueName -ErrorAction SilentlyContinue - - # Check if the registry value exists - if ($registryValue) { - # Remove the registry value - Remove-ItemProperty -Path $RegistryPath -Name $ValueName -Force - Write-Host "Registry value '$ValueName' removed from '$RegistryPath'." - } else { - Write-Host "Registry value '$ValueName' not found in '$RegistryPath'." - } - } else { - Write-Host "Registry path '$RegistryPath' not found." - } -} "FirstStartup has worked" | Out-File -FilePath "$env:HOMEDRIVE\windows\LogFirstRun.txt" -Append -NoClobber $taskbarPath = "$env:AppData\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar" # Delete all files on the Taskbar if (Test-Path "$taskbarPath") { - Get-ChildItem -Path $taskbarPath -File | Remove-Item -Force + Remove-Item "$taskbarPath\*" } -Remove-RegistryValue -RegistryPath "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" -ValueName "FavoritesRemovedChanges" -Remove-RegistryValue -RegistryPath "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" -ValueName "FavoritesChanges" -Remove-RegistryValue -RegistryPath "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" -ValueName "Favorites" -# Delete Edge Icon from the desktop -$edgeShortcutFiles = Get-ChildItem -Path $desktopPath -Filter "*Edge*.lnk" -# Check if Edge shortcuts exist on the desktop -if ($edgeShortcutFiles) { - foreach ($shortcutFile in $edgeShortcutFiles) { - # Remove each Edge shortcut - Remove-Item -Path $shortcutFile.FullName -Force - Write-Host "Edge shortcut '$($shortcutFile.Name)' removed from the desktop." - } -} -Remove-Item -Path "$env:USERPROFILE\Desktop\*.lnk" -Remove-Item -Path "$env:HOMEDRIVE\Users\Default\Desktop\*.lnk" - -try -{ - if ((Get-WindowsOptionalFeature -Online | Where-Object { $_.State -eq 'Enabled' -and $_.FeatureName -like "Recall" }).Count -gt 0) - { - Disable-WindowsOptionalFeature -Online -FeatureName "Recall" -Remove - } -} -catch -{ +Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" -Name "FavoritesRemovedChanges" +Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" -Name "FavoritesChanges" +Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" -Name "Favorites" -} +# Delete edge .lnk files like desktop shortcut and start menu entry +Remove-Item "$Public\Desktop\Microsoft Edge.lnk" +Remove-Item "$Env:ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" +Remove-Item "$Env:AppData\Microsoft\Internet Explorer\Quick Launch\Microsoft Edge.lnk" +Remove-Item "$Env:AppData\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Microsoft Edge.lnk" if ((Get-BitLockerVolume -MountPoint $Env:SystemDrive).ProtectionStatus -eq 'On') { Write-Host "Disabling BitLocker..." @@ -68,18 +25,9 @@ if ((Get-BitLockerVolume -MountPoint $Env:SystemDrive).ProtectionStatus -eq 'On' } # Get BCD entries and set bootmgr timeout accordingly -try -{ - # Check if the number of occurrences of "path" is 2 - this fixes the Boot Manager screen issue (#2562) - if ((bcdedit | Select-String "path").Count -eq 2) - { - # Set bootmgr timeout to 0 - bcdedit /set `{bootmgr`} timeout 0 - } -} -catch -{ - +# Check if the number of occurrences of "path" is 2 - this fixes the Boot Manager screen issue +if ((bcdedit | Select-String "path").Count -eq 2) { + bcdedit /timeout 0 } reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.SystemToast.Suggested" /f @@ -104,35 +52,8 @@ reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Start" /v ShowFrequentLi reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Start" /v ShowRecentList /t REG_DWORD /d 0 /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_TrackDocs /t REG_DWORD /d 0 /f -# Color Modes -- requires sending messages to apply to everything +# Color Modes reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "AppsUseLightTheme" /t REG_DWORD /d 0 /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "SystemUsesLightTheme" /t REG_DWORD /d 0 /f -# Send the WM_SETTINGCHANGE message to all windows -Add-Type -TypeDefinition @" -using System; -using System.Runtime.InteropServices; -public class Win32 { - [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = false)] - public static extern IntPtr SendMessageTimeout( - IntPtr hWnd, - uint Msg, - IntPtr wParam, - string lParam, - uint fuFlags, - uint uTimeout, - out IntPtr lpdwResult); -} -"@ - -$HWND_BROADCAST = [IntPtr]0xffff -$WM_SETTINGCHANGE = 0x1A -$SMTO_ABORTIFHUNG = 0x2 -$timeout = 100 - -# Send the broadcast message to all windows -[Win32]::SendMessageTimeout($HWND_BROADCAST, $WM_SETTINGCHANGE, [IntPtr]::Zero, "ImmersiveColorSet", $SMTO_ABORTIFHUNG, $timeout, [ref]([IntPtr]::Zero)) - -Clear-Host -Write-Host "The taskbar will take around a minute to show up, but you can start using your computer now. Try pressing the Windows key to open the Start menu, or Windows + E to launch File Explorer." -Start-Sleep -Seconds 10 \ No newline at end of file +Stop-Process -Name Explorer From 94911133fc8b8a5173e4087ec35e3847e327900e Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Thu, 12 Feb 2026 17:47:24 +0200 Subject: [PATCH 02/14] Fix hide 25h2 start menu Recommendations --- MicroWin/tools/FirstStartup.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/MicroWin/tools/FirstStartup.ps1 b/MicroWin/tools/FirstStartup.ps1 index ed83204..a3f62b3 100755 --- a/MicroWin/tools/FirstStartup.ps1 +++ b/MicroWin/tools/FirstStartup.ps1 @@ -42,8 +42,10 @@ reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\W # This will set List view in Start menu on Win11 25H2. This will not do anything in 24H2 and older reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Start" /v AllAppsViewMode /t REG_DWORD /d 2 /f -# This will disable the Recommendations in 25H2. This is much simpler than the method used in 24H2 that requires the Education Environment policy -reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_IrisRecommendations /t REG_DWORD /d 0 /f +# This will disable the Recommendations in 25H2. +reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v HideRecommendedSection /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Start" /v HideRecommendedSection /t REG_DWORD /d 0 /f +reg add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Education" /v IsEducationEnvironment /t REG_DWORD /d 0 /f # Other Start Menu settings reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_AccountNotifications /t REG_DWORD /d 0 /f @@ -57,3 +59,4 @@ reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v " reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "SystemUsesLightTheme" /t REG_DWORD /d 0 /f Stop-Process -Name Explorer + From 0b1dc07a17b5bdb9dfb162814cc1480478141876 Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Thu, 12 Feb 2026 17:47:44 +0200 Subject: [PATCH 03/14] Update FirstStartup.ps1 --- MicroWin/tools/FirstStartup.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MicroWin/tools/FirstStartup.ps1 b/MicroWin/tools/FirstStartup.ps1 index a3f62b3..534ff5e 100755 --- a/MicroWin/tools/FirstStartup.ps1 +++ b/MicroWin/tools/FirstStartup.ps1 @@ -58,5 +58,5 @@ reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v St reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "AppsUseLightTheme" /t REG_DWORD /d 0 /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "SystemUsesLightTheme" /t REG_DWORD /d 0 /f +# Restart explorer to apply all messages Stop-Process -Name Explorer - From 2f34d3be5d27b561a2932e4a18712ec5b47a8923 Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Thu, 12 Feb 2026 17:55:14 +0200 Subject: [PATCH 04/14] Fix bcdedit --- MicroWin/tools/FirstStartup.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MicroWin/tools/FirstStartup.ps1 b/MicroWin/tools/FirstStartup.ps1 index 534ff5e..efea665 100755 --- a/MicroWin/tools/FirstStartup.ps1 +++ b/MicroWin/tools/FirstStartup.ps1 @@ -26,7 +26,8 @@ if ((Get-BitLockerVolume -MountPoint $Env:SystemDrive).ProtectionStatus -eq 'On' # Get BCD entries and set bootmgr timeout accordingly # Check if the number of occurrences of "path" is 2 - this fixes the Boot Manager screen issue -if ((bcdedit | Select-String "path").Count -eq 2) { + +if ((bcdedit | Select-String "timeout").Line -match "2") { bcdedit /timeout 0 } @@ -60,3 +61,4 @@ reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v " # Restart explorer to apply all messages Stop-Process -Name Explorer + From b1ef5e132a82f322896a4563e351853362df7d31 Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Thu, 12 Feb 2026 17:56:13 +0200 Subject: [PATCH 05/14] Format Fixes --- MicroWin/tools/FirstStartup.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MicroWin/tools/FirstStartup.ps1 b/MicroWin/tools/FirstStartup.ps1 index efea665..6e0ee3c 100755 --- a/MicroWin/tools/FirstStartup.ps1 +++ b/MicroWin/tools/FirstStartup.ps1 @@ -3,8 +3,9 @@ $ErrorActionPreference = "Continue" "FirstStartup has worked" | Out-File -FilePath "$env:HOMEDRIVE\windows\LogFirstRun.txt" -Append -NoClobber -$taskbarPath = "$env:AppData\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar" # Delete all files on the Taskbar +$taskbarPath = "$Env:AppData\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar" + if (Test-Path "$taskbarPath") { Remove-Item "$taskbarPath\*" } @@ -55,10 +56,11 @@ reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Start" /v ShowFrequentLi reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Start" /v ShowRecentList /t REG_DWORD /d 0 /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_TrackDocs /t REG_DWORD /d 0 /f -# Color Modes +# Enable Dark Mode reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "AppsUseLightTheme" /t REG_DWORD /d 0 /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "SystemUsesLightTheme" /t REG_DWORD /d 0 /f # Restart explorer to apply all messages Stop-Process -Name Explorer + From 8e6e956ba7caf18aa036e11c3989f931fc1d6864 Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Fri, 13 Feb 2026 14:33:17 +0200 Subject: [PATCH 06/14] Update FirstStartup.ps1 --- MicroWin/tools/FirstStartup.ps1 | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/MicroWin/tools/FirstStartup.ps1 b/MicroWin/tools/FirstStartup.ps1 index 6e0ee3c..2f52bf4 100755 --- a/MicroWin/tools/FirstStartup.ps1 +++ b/MicroWin/tools/FirstStartup.ps1 @@ -60,7 +60,27 @@ reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v St reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "AppsUseLightTheme" /t REG_DWORD /d 0 /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "SystemUsesLightTheme" /t REG_DWORD /d 0 /f -# Restart explorer to apply all messages -Stop-Process -Name Explorer +# Send the WM_SETTINGCHANGE message to all windows +Add-Type -TypeDefinition @" +using System; +using System.Runtime.InteropServices; +public class Win32 { + [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = false)] + public static extern IntPtr SendMessageTimeout( + IntPtr hWnd, + uint Msg, + IntPtr wParam, + string lParam, + uint fuFlags, + uint uTimeout, + out IntPtr lpdwResult); +} +"@ +$HWND_BROADCAST = [IntPtr]0xffff +$WM_SETTINGCHANGE = 0x1A +$SMTO_ABORTIFHUNG = 0x2 +$timeout = 100 +# Send the broadcast message to all windows +[Win32]::SendMessageTimeout($HWND_BROADCAST, $WM_SETTINGCHANGE, [IntPtr]::Zero, "ImmersiveColorSet", $SMTO_ABORTIFHUNG, $timeout, [ref]([IntPtr]::Zero)) From 69530c3d4d6ebc8afacff67732e82fed5506cd35 Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Fri, 13 Feb 2026 16:14:29 +0200 Subject: [PATCH 07/14] Update FirstStartup.ps1 --- MicroWin/tools/FirstStartup.ps1 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/MicroWin/tools/FirstStartup.ps1 b/MicroWin/tools/FirstStartup.ps1 index 2f52bf4..17b2f63 100755 --- a/MicroWin/tools/FirstStartup.ps1 +++ b/MicroWin/tools/FirstStartup.ps1 @@ -10,10 +10,6 @@ if (Test-Path "$taskbarPath") { Remove-Item "$taskbarPath\*" } -Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" -Name "FavoritesRemovedChanges" -Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" -Name "FavoritesChanges" -Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" -Name "Favorites" - # Delete edge .lnk files like desktop shortcut and start menu entry Remove-Item "$Public\Desktop\Microsoft Edge.lnk" Remove-Item "$Env:ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" @@ -84,3 +80,4 @@ $timeout = 100 # Send the broadcast message to all windows [Win32]::SendMessageTimeout($HWND_BROADCAST, $WM_SETTINGCHANGE, [IntPtr]::Zero, "ImmersiveColorSet", $SMTO_ABORTIFHUNG, $timeout, [ref]([IntPtr]::Zero)) + From c5b7a360944ae6a8180bfebf6f1a9890f4598c98 Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Fri, 13 Feb 2026 16:15:14 +0200 Subject: [PATCH 08/14] Update FirstStartup.ps1 --- MicroWin/tools/FirstStartup.ps1 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/MicroWin/tools/FirstStartup.ps1 b/MicroWin/tools/FirstStartup.ps1 index 17b2f63..bf6a306 100755 --- a/MicroWin/tools/FirstStartup.ps1 +++ b/MicroWin/tools/FirstStartup.ps1 @@ -10,11 +10,8 @@ if (Test-Path "$taskbarPath") { Remove-Item "$taskbarPath\*" } -# Delete edge .lnk files like desktop shortcut and start menu entry +# Delete Edge desktop icon Remove-Item "$Public\Desktop\Microsoft Edge.lnk" -Remove-Item "$Env:ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" -Remove-Item "$Env:AppData\Microsoft\Internet Explorer\Quick Launch\Microsoft Edge.lnk" -Remove-Item "$Env:AppData\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Microsoft Edge.lnk" if ((Get-BitLockerVolume -MountPoint $Env:SystemDrive).ProtectionStatus -eq 'On') { Write-Host "Disabling BitLocker..." @@ -81,3 +78,4 @@ $timeout = 100 # Send the broadcast message to all windows [Win32]::SendMessageTimeout($HWND_BROADCAST, $WM_SETTINGCHANGE, [IntPtr]::Zero, "ImmersiveColorSet", $SMTO_ABORTIFHUNG, $timeout, [ref]([IntPtr]::Zero)) + From 1d0a672e9c0974d976b762c08f4e92136431f5ea Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Fri, 13 Feb 2026 17:00:34 +0200 Subject: [PATCH 09/14] Update FirstStartup.ps1 --- MicroWin/tools/FirstStartup.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MicroWin/tools/FirstStartup.ps1 b/MicroWin/tools/FirstStartup.ps1 index bf6a306..c954420 100755 --- a/MicroWin/tools/FirstStartup.ps1 +++ b/MicroWin/tools/FirstStartup.ps1 @@ -11,7 +11,7 @@ if (Test-Path "$taskbarPath") { } # Delete Edge desktop icon -Remove-Item "$Public\Desktop\Microsoft Edge.lnk" +Remove-Item "$Env:Public\Desktop\Microsoft Edge.lnk" if ((Get-BitLockerVolume -MountPoint $Env:SystemDrive).ProtectionStatus -eq 'On') { Write-Host "Disabling BitLocker..." @@ -79,3 +79,4 @@ $timeout = 100 [Win32]::SendMessageTimeout($HWND_BROADCAST, $WM_SETTINGCHANGE, [IntPtr]::Zero, "ImmersiveColorSet", $SMTO_ABORTIFHUNG, $timeout, [ref]([IntPtr]::Zero)) + From 5271afa8b7081ad093bc17256e33d2606b8c1405 Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Fri, 13 Feb 2026 17:10:44 +0200 Subject: [PATCH 10/14] Update FirstStartup.ps1 --- MicroWin/tools/FirstStartup.ps1 | 3 --- 1 file changed, 3 deletions(-) diff --git a/MicroWin/tools/FirstStartup.ps1 b/MicroWin/tools/FirstStartup.ps1 index c954420..eefd7b7 100755 --- a/MicroWin/tools/FirstStartup.ps1 +++ b/MicroWin/tools/FirstStartup.ps1 @@ -77,6 +77,3 @@ $timeout = 100 # Send the broadcast message to all windows [Win32]::SendMessageTimeout($HWND_BROADCAST, $WM_SETTINGCHANGE, [IntPtr]::Zero, "ImmersiveColorSet", $SMTO_ABORTIFHUNG, $timeout, [ref]([IntPtr]::Zero)) - - - From 01085f5fa06cd6f6954deff3da778d336c212548 Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Mon, 16 Feb 2026 10:15:22 +0200 Subject: [PATCH 11/14] Update FirstStartup.ps1 --- MicroWin/tools/FirstStartup.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/MicroWin/tools/FirstStartup.ps1 b/MicroWin/tools/FirstStartup.ps1 index eefd7b7..6731726 100755 --- a/MicroWin/tools/FirstStartup.ps1 +++ b/MicroWin/tools/FirstStartup.ps1 @@ -21,8 +21,10 @@ if ((Get-BitLockerVolume -MountPoint $Env:SystemDrive).ProtectionStatus -eq 'On' # Get BCD entries and set bootmgr timeout accordingly # Check if the number of occurrences of "path" is 2 - this fixes the Boot Manager screen issue -if ((bcdedit | Select-String "timeout").Line -match "2") { - bcdedit /timeout 0 + # Check if the number of occurrences of "path" is 2 - this fixes the Boot Manager screen issue (#2562) +if ((bcdedit | Select-String "path").Count -eq 2) { + # Set bootmgr timeout to 0 + bcdedit /set `{bootmgr`} timeout 0 } reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.SystemToast.Suggested" /f @@ -77,3 +79,4 @@ $timeout = 100 # Send the broadcast message to all windows [Win32]::SendMessageTimeout($HWND_BROADCAST, $WM_SETTINGCHANGE, [IntPtr]::Zero, "ImmersiveColorSet", $SMTO_ABORTIFHUNG, $timeout, [ref]([IntPtr]::Zero)) + From 1d3c6052763ea0a3a05c5f25e772858ae4527e54 Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Mon, 16 Feb 2026 10:16:25 +0200 Subject: [PATCH 12/14] Update FirstStartup.ps1 --- MicroWin/tools/FirstStartup.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MicroWin/tools/FirstStartup.ps1 b/MicroWin/tools/FirstStartup.ps1 index 6731726..698e1c9 100755 --- a/MicroWin/tools/FirstStartup.ps1 +++ b/MicroWin/tools/FirstStartup.ps1 @@ -24,7 +24,7 @@ if ((Get-BitLockerVolume -MountPoint $Env:SystemDrive).ProtectionStatus -eq 'On' # Check if the number of occurrences of "path" is 2 - this fixes the Boot Manager screen issue (#2562) if ((bcdedit | Select-String "path").Count -eq 2) { # Set bootmgr timeout to 0 - bcdedit /set `{bootmgr`} timeout 0 + bcdedit /set `{bootmgr`} timeout 0 } reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.SystemToast.Suggested" /f @@ -80,3 +80,4 @@ $timeout = 100 # Send the broadcast message to all windows [Win32]::SendMessageTimeout($HWND_BROADCAST, $WM_SETTINGCHANGE, [IntPtr]::Zero, "ImmersiveColorSet", $SMTO_ABORTIFHUNG, $timeout, [ref]([IntPtr]::Zero)) + From 915ddd4d982f92c25b1ea240a3466d992892217b Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Mon, 16 Feb 2026 10:17:23 +0200 Subject: [PATCH 13/14] Update FirstStartup.ps1 --- MicroWin/tools/FirstStartup.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MicroWin/tools/FirstStartup.ps1 b/MicroWin/tools/FirstStartup.ps1 index 698e1c9..754ab65 100755 --- a/MicroWin/tools/FirstStartup.ps1 +++ b/MicroWin/tools/FirstStartup.ps1 @@ -39,7 +39,7 @@ reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\W # This will set List view in Start menu on Win11 25H2. This will not do anything in 24H2 and older reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Start" /v AllAppsViewMode /t REG_DWORD /d 2 /f -# This will disable the Recommendations in 25H2. +# This will disable the Recommendations section in 25h2's start menu reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v HideRecommendedSection /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Start" /v HideRecommendedSection /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Education" /v IsEducationEnvironment /t REG_DWORD /d 0 /f @@ -81,3 +81,4 @@ $timeout = 100 [Win32]::SendMessageTimeout($HWND_BROADCAST, $WM_SETTINGCHANGE, [IntPtr]::Zero, "ImmersiveColorSet", $SMTO_ABORTIFHUNG, $timeout, [ref]([IntPtr]::Zero)) + From 25147da768c1d895f5a06760223d9355f5ca9c02 Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Mon, 16 Feb 2026 10:17:46 +0200 Subject: [PATCH 14/14] Update FirstStartup.ps1 --- MicroWin/tools/FirstStartup.ps1 | 3 --- 1 file changed, 3 deletions(-) diff --git a/MicroWin/tools/FirstStartup.ps1 b/MicroWin/tools/FirstStartup.ps1 index 754ab65..ac5213f 100755 --- a/MicroWin/tools/FirstStartup.ps1 +++ b/MicroWin/tools/FirstStartup.ps1 @@ -79,6 +79,3 @@ $timeout = 100 # Send the broadcast message to all windows [Win32]::SendMessageTimeout($HWND_BROADCAST, $WM_SETTINGCHANGE, [IntPtr]::Zero, "ImmersiveColorSet", $SMTO_ABORTIFHUNG, $timeout, [ref]([IntPtr]::Zero)) - - -