Below are cmd's I run for new Win11 setups (foistware uninstalls are a another page of PS commands).
:: Disable Web from Taskbar Search reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Search /v BingSearchEnabled /t REG_DWORD /d 0 /f reg add HKCU\Software\Policies\Microsoft\Windows /v DisableSearchBoxSuggestions /t REG_DWORD /d 1 /f :: Turn Off MS Account Notifications in Start (reduces MS Account grooming) reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\AccountNotifications" /v "DisableAccountNotifications" /t REG_DWORD /d "1" /f :: Win11 Start Menu to the left side reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarAl" /t REG_DWORD /d "0" /f :: Removes Task View from the Taskbar reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d "0" /f :: Set to show file assocations reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d "0" /f :: Removes Widgets from the Taskbar reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d "0" /f :: Win11 Turn Off Copilot reg add "HKCU\Software\Policies\Microsoft\Windows\Copilot" /v "TurnOffWindowsCopilot" /t REG_DWORD /d "1" /f :: P&G Disable Advertising ID for Personalized Ads reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v "Enabled" /t REG_DWORD /d "0" /f reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v "DisabledByGroupPolicy" /t REG_DWORD /d "1" /f :: P&G Disable Show me suggested content reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d "0" /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353694Enabled" /t REG_DWORD /d "0" /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353696Enabled" /t REG_DWORD /d "0" /f sc delete XboxGipSvc sc delete XblAuthManager sc delete XblGameSave sc delete XboxNetApiSvc :: System->Notifications->Disable notifications can play sounds,show reminders on lock, show notifications on lock reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "NOC_GLOBAL_SETTING_ALLOW_NOTIFICATION_SOUND" /t REG_DWORD /d "0" /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "NOC_GLOBAL_SETTING_ALLOW_TOASTS_ABOVE_LOCK" /t REG_DWORD /d "0" /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "LockScreenToastEnabled" /t REG_DWORD /d "0" /f :: System->Notifications->Additional Settings, disable all reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d "0" /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement" /v "ScoobeSystemSettingEnabled" /t REG_DWORD /d "0" /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d "0" /f :: After sleep, Never require signin reg add "HKCU\Control Panel\Desktop" /v DelayLockInterval /d 0xffffffff /t REG_DWORD /f :: Show and enable Max power plan powercfg /s SCHEME_MIN :: Restore UsersMustLogon checkbox to controluserpasswords2 reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v DevicePasswordLessBuildVersion /t REG_DWORD /d 00000000 /f :: Disable auto-submit samples to MSAV reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" /v "SubmitSamplesConsent" /t REG_DWORD /d "2" /f :: Set LockScreen to picture reg add "HKCU\Control Panel\Desktop" /v "LockScreenAutoLockActive" /t REG_DWORD /d "0" /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "RotatingLockScreenEnabled" /t REG_DWORD /d "0" /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Lock Screen" /v "SlideshowEnabled" /t REG_DWORD /d "0" /f :: Disable Lockscreen widgets for current, all users reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Lock Screen" /v "LockScreenWidgetsEnabled" /t REG_DWORD /d "0" /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Dsh" /v "DisableWidgetsOnLockScreen" /t REG_DWORD /d "0" /f :: Personalize Lockscreen = picture :: Set Lockscreen status = None (no joy 24H2) :: Disable "Get fun facts, tips, tricks, and more on your lock screen" reg add "HKCU\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableSpotlightCollectionOnDesktop" /t REG_DWORD /d "0" /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "RotatingLockScreenOverlayEnabled" /t REG_DWORD /d "0" /f reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d "0" /f :: Win11 Computer-> R-Click-> restore Win10 Context Menu reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /ve /d ""
Below are cmd's I run for new Win11 setups (foistware uninstalls are a another page of PS commands).