Clear Start Menu (All Users) Remove all pinned apps from the start menu for all existing and new users
Toe te passen code
# Clear pinned apps from the Start Menu (all users)
# This replaces the start2.bin layout file for every user profile
$usersDir = Split-Path $env:USERPROFILE
$startMenuRelPath = "AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState"
# Stop the Start Menu process
Stop-Process -Name StartMenuExperienceHost -Force -ErrorAction SilentlyContinue
Start-Sleep -Seconds 1
# Process each user profile
Get-ChildItem -Path $usersDir -Directory | ForEach-Object {
$startMenuPath = Join-Path $_.FullName $startMenuRelPath
$startMenuBin = Join-Path $startMenuPath "start2.bin"
if (Test-Path $startMenuBin) {
Copy-Item -Path $startMenuBin -Destination "$startMenuBin.bak" -Force
[byte[]]$emptyLayout = @()
Set-Content -Path $startMenuBin -Value $emptyLayout -Encoding Byte -Force
Write-Host "Cleared Start Menu for user $($_.Name)" -ForegroundColor Green
}
}
# Also clear for the Default profile (new users)
$defaultPath = Join-Path $usersDir "Default\$startMenuRelPath"
if (!(Test-Path $defaultPath)) { New-Item -Path $defaultPath -ItemType Directory -Force | Out-Null }
[byte[]]$emptyLayout = @()
Set-Content -Path (Join-Path $defaultPath "start2.bin") -Value $emptyLayout -Encoding Byte -Force
Write-Host "Cleared Start Menu for Default profile" -ForegroundColor GreenWilt u dit combineren met andere aanpassingen?
Configurator openenGerelateerde aanpassingen
This will hide the recommended section in the start menu, which shows recently added apps, recently opened files and app recommendations. This feature uses policies, which will lock down certain settings.
This will hide the 'All Apps' section in the start menu, which shows all installed apps. WARNING: Hiding this section may make it harder to find installed apps on your system. This feature uses policies, which will lock down certain settings.
This will remove the Phone Link integration in the start menu when you have a mobile device linked to your PC.
This will turn off Bing web search results and Copilot integration in the Windows search experience. This feature uses policies, which will lock down certain settings.