From 73fb487e5838c9bced0d803e3c5bd6af0e0b4351 Mon Sep 17 00:00:00 2001 From: Chris Titus Tech Date: Mon, 23 Feb 2026 13:27:47 -0600 Subject: [PATCH] fix startmenu on new 26h2 --- tools/autounattend.xml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/tools/autounattend.xml b/tools/autounattend.xml index 3ffc4d91..04a88d84 100644 --- a/tools/autounattend.xml +++ b/tools/autounattend.xml @@ -452,11 +452,21 @@ $scripts = @( reg.exe delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /f; reg.exe delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v DisableWindowsUpdateAccess /f; }; + { + $recallFeature = Get-WindowsOptionalFeature -Online -ErrorAction SilentlyContinue | Where-Object { $_.State -eq 'Enabled' -and $_.FeatureName -like 'Recall' }; + if( $recallFeature ) { + Disable-WindowsOptionalFeature -Online -FeatureName 'Recall' -Remove -ErrorAction SilentlyContinue; + } + }; { try { - if( (Get-WindowsOptionalFeature -Online | Where-Object { $_.State -eq 'Enabled' -and $_.FeatureName -like 'Recall' }).Count -gt 0 ) { - Disable-WindowsOptionalFeature -Online -FeatureName 'Recall' -Remove; - } + $viveDir = Join-Path $env:TEMP 'ViVeTool'; + $viveZip = Join-Path $env:TEMP 'ViVeTool.zip'; + Invoke-WebRequest 'https://github.com/thebookisclosed/ViVe/releases/download/v0.3.4/ViVeTool-v0.3.4-IntelAmd.zip' -OutFile $viveZip; + Expand-Archive -Path $viveZip -DestinationPath $viveDir -Force; + Remove-Item -Path $viveZip -Force; + Start-Process -FilePath (Join-Path $viveDir 'ViVeTool.exe') -ArgumentList '/disable /id:47205210' -Wait -NoNewWindow; + Remove-Item -Path $viveDir -Recurse -Force; } catch {} }; { @@ -465,11 +475,9 @@ $scripts = @( } }; { - try { - if( (bcdedit | Select-String 'path').Count -eq 2 ) { - bcdedit /set `{bootmgr`} timeout 0; - } - } catch {} + if( (bcdedit | Select-String 'path').Count -eq 2 ) { + bcdedit /set `{bootmgr`} timeout 0; + } }; );