diff --git a/Windows/PostInstall/Windows-Tweaks.bat b/Windows/PostInstall/Windows-Tweaks.bat index 6b55e05..31020a7 100644 --- a/Windows/PostInstall/Windows-Tweaks.bat +++ b/Windows/PostInstall/Windows-Tweaks.bat @@ -87,14 +87,45 @@ if %ERRORLEVEL% EQU 1 ( echo You must restart the computer before changes are in effect. ) -choice /C yn /M "Disable adds?" +choice /C yn /M "Disable adds for Windows 10 / Windows 11?" if %ERRORLEVEL% EQU 1 ( echo Disabling adds reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Start_IrisRecommendations /t REG_DWORD /d 0 /f >nul 2>&1 + :: Disable Start Menu suggestions + reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SystemPaneSuggestionsEnabled /t REG_DWORD /d 0 /f >nul 2>&1 + :: Disable lock screen ads (Spotlight) + reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v RotatingLockScreenEnabled /t REG_DWORD /d 0 /f >nul 2>&1 + reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v RotatingLockScreenOverlayEnabled /t REG_DWORD /d 0 /f >nul 2>&1 + reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v ContentDeliveryAllowed /t REG_DWORD /d 0 /f >nul 2>&1 + :: Disable suggestions in Settings + reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement" /v ScoobeSystemSettingEnabled /t REG_DWORD /d 0 /f >nul 2>&1 + :: Disable tips and tailored experiences + reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SubscribedContent-338393Enabled /t REG_DWORD /d 0 /f >nul 2>&1 + reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Privacy" /v TailoredExperiencesWithDiagnosticDataEnabled /t REG_DWORD /d 0 /f >nul 2>&1 + :: Disable suggested content (apps like Candy Crush) + reg add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v DisableConsumerFeatures /t REG_DWORD /d 1 /f >nul 2>&1 + :: Disable ads in File Explorer + reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowSyncProviderNotifications /t REG_DWORD /d 0 /f >nul 2>&1 + :: Disable Windows welcome experience + reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SubscribedContent-310093Enabled /t REG_DWORD /d 0 /f >nul 2>&1 + echo Disabling Copilot reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot" /v TurnOffWindowsCopilot /t REG_DWORD /d 1 /f >nul 2>&1 ) +choice /C yn /M "Mimic Windows 10 user interface on Windows 11?" +if %ERRORLEVEL% EQU 1 ( + :: Enable classic file explorer look + reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages" /v UndockingDisabled /t REG_DWORD /d 0 /f >nul 2>&1 + :: Startmenu to the left + reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarAl /t REG_DWORD /d 0 /f >nul 2>&1 +) + +choice /C yn /M "Enable changes by restarting explorer?" +if %ERRORLEVEL% EQU 1 ( + taskkill /f /im explorer.exe && start explorer.exe +) + echo. echo All done! popd