Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bazzofx/fc5a0bb14d9355ceed4935a8b587de5f to your computer and use it in GitHub Desktop.
Save bazzofx/fc5a0bb14d9355ceed4935a8b587de5f to your computer and use it in GitHub Desktop.

Revisions

  1. bazzofx revised this gist Jun 2, 2025. 1 changed file with 4 additions and 345 deletions.
    349 changes: 4 additions & 345 deletions My Ultimate Windows 11 Customization Script.bat
    Original file line number Diff line number Diff line change
    @@ -1,16 +1,3 @@
    rem ---------------------------------------------------------------------------
    rem MY ULTIMATE WINDOWS 11 CUSTOMIZATION SCRIPT
    rem ---------------------------------------------------------------------------

    rem Tested on Windows 11 IoT Enterprise LTSC 24H2 Build 26100.2033
    rem Most of these hacks require signing out and in again.
    rem ___
    rem Explanation of registry flags:
    rem /f = Overwrite
    rem /d = Assigns the specified data to the registry value.
    rem /t <something here> = Defines the type of the registry value. For example REG_DWORD indicates a 32-bit number.
    rem /V "<something here>" = Specifies the name of the registry value to add or modify.

    rem ---------------------------------------------------------------------------
    rem PRIVACY
    rem ---------------------------------------------------------------------------
    @@ -391,54 +378,6 @@ rem REMOTE DSKTOP
    rem ---------------------------------------------------------------------------

    rem ...

    rem ---------------------------------------------------------------------------
    rem CLIPBOARD
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ System ➜ Clipboard
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Clipboard" /v "EnableClipboardHistory" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-clipboard-history-in-windows-11.973

    rem ---------------------------------------------------------------------------
    rem PRINTERS & SCANNERS
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Bluetooth & devices ➜ Printers & scanners ➜ Let Windows manage my default printer
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Clipboard" /v "LegacyDefaultPrinterMode" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/turn-on-or-off-let-windows-manage-default-printer-in-windows-11.7759/

    rem ---------------------------------------------------------------------------
    rem BLUETOOTH & DEVICES ➜ MOBILE DEVICES
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Bluetooth & devices ➜ Mobile devices ➜ Allow this PC to access your mobile devices
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Mobility" /v "CrossDeviceEnabled" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/turn-on-or-off-let-windows-manage-default-printer-in-windows-11.7759/

    rem Start ➜ Settings ➜ Bluetooth & devices ➜ Mobile devices ➜ Phone Link (Requires the phone link app)
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Mobility" /v "PhoneLinkEnabled" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-phone-link-app-in-windows-11.1368/

    rem Start ➜ Settings ➜ Bluetooth & devices ➜ Mobile devices ➜ Show me suggestions for using my mobile device with Windows
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Mobility" /v "PhoneLinkEnabled" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-phone-link-suggestions-in-windows-11.19884/

    rem Start ➜ Settings ➜ Bluetooth & devices ➜ AutoPlay
    rem Options: [0 = Enable] [1 = Disable] (remember this is an inverted option...)
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers" /v "DisableAutoplay" /t REG_DWORD /d 1 /f
    rem https://www.elevenforum.com/t/turn-on-or-off-autoplay-in-windows-11.3150

    rem Start ➜ Settings ➜ Bluetooth & devices ➜ AutoPlay ➜ Connection notification (issues connecting USB device)
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Shell\USB" /v "NotifyOnUsbErrors" /t REG_DWORD /d 1 /f
    rem https://www.elevenforum.com/t/turn-on-or-off-notification-if-issues-connecting-usb-in-windows-11.7748/

    rem ---------------------------------------------------------------------------
    rem PERSONALIZATION ➜ Start
    rem ---------------------------------------------------------------------------
    @@ -564,7 +503,6 @@ reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Pers

    REM Turn off transparency
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "EnableTransparency" /t "REG_DWORD" /d 0 /f

    rem ---------------------------------------------------------------------------
    rem PERSONALIZATION ➜ Background (and desktop)
    rem ---------------------------------------------------------------------------
    @@ -616,119 +554,20 @@ rem Add Python document
    REG ADD "HKCR\.py" /V "" /D "py" /F 1>NUL
    REG ADD "HKCR\.py\ShellNew" /V "FileName" /T "REG_SZ" /D "" /F 1>NUL
    REG ADD "HKCR\py" /V "" /D "Python script" /F 1>NUL
    rem Add Powershell document
    REG ADD "HKCR\.ps1" /V "" /D "ps1" /F 1>NUL
    REG ADD "HKCR\.ps1\ShellNew" /V "FileName" /T "REG_SZ" /D "" /F 1>NUL
    REG ADD "HKCR\ps1" /V "" /D "Powershell script" /F 1>NUL
    rem Add HTML document
    REG ADD "HKCR\.html" /V "" /D "html" /F 1>NUL
    REG ADD "HKCR\.html\ShellNew" /V "FileName" /T "REG_SZ" /D "" /F 1>NUL
    REG ADD "HKCR\html" /V "" /D "HTML document" /F 1>NUL
    rem Add CSS document
    REG ADD "HKCR\.css" /V "" /D "css" /F 1>NUL
    REG ADD "HKCR\.css\ShellNew" /V "FileName" /T "REG_SZ" /D "" /F 1>NUL
    REG ADD "HKCR\css" /V "" /D "CSS file" /F 1>NUL
    rem Add BAT document
    REG ADD "HKCR\.bat" /V "" /D "bat" /F 1>NUL
    REG ADD "HKCR\.bat\ShellNew" /V "FileName" /T "REG_SZ" /D "" /F 1>NUL
    REG ADD "HKCR\bat" /V "" /D "Windows batch file" /F 1>NUL
    rem Restart Explorer to apply
    taskkill /f /im explorer.exe & start explorer.exe

    rem Add "Open elevated PowerShell window here" (Only works in Batch file)
    REM OPTIONS:
    rem https://www.tenforums.com/tutorials/25721-open-elevated-windows-powershell-windows-10-a.html
    REG ADD "HKCR\Directory\Background\shell\PowerShellAsAdmin" /V "" /D "Open PowerShell window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\Directory\Background\shell\PowerShellAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\Background\shell\PowerShellAsAdmin" /V "HasLUAShield" /T "REG_SZ" /D "" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\Background\shell\PowerShellAsAdmin" /V "Icon" /T "REG_SZ" /D "powershell.exe" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\Background\shell\PowerShellAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V ^&^& start PowerShell ^&^& exit' -Verb RunAs\"" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\shell\PowerShellAsAdmin" /V "" /D "Open PowerShell window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\Directory\shell\PowerShellAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\shell\PowerShellAsAdmin" /V "HasLUAShield" /T "REG_SZ" /D "" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\shell\PowerShellAsAdmin" /V "Icon" /T "REG_SZ" /D "powershell.exe" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\shell\PowerShellAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V ^&^& start PowerShell ^&^& exit' -Verb RunAs\"" /F 1>NUL 2>&1
    REG ADD "HKCR\Drive\shell\PowerShellAsAdmin" /V "" /D "Open PowerShell window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\Drive\shell\PowerShellAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\Drive\shell\PowerShellAsAdmin" /V "HasLUAShield" /T "REG_SZ" /D "" /F 1>NUL 2>&1
    REG ADD "HKCR\Drive\shell\PowerShellAsAdmin" /V "Icon" /T "REG_SZ" /D "powershell.exe" /F 1>NUL 2>&1
    REG ADD "HKCR\Drive\shell\PowerShellAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V ^&^& start PowerShell ^&^& exit' -Verb RunAs\"" /F 1>NUL 2>&1
    REG ADD "HKCR\LibraryFolder\Background\shell\PowerShellAsAdmin" /V "" /D "Open PowerShell window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\LibraryFolder\Background\shell\PowerShellAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\LibraryFolder\Background\shell\PowerShellAsAdmin" /V "HasLUAShield" /T "REG_SZ" /D "" /F 1>NUL 2>&1
    REG ADD "HKCR\LibraryFolder\Background\shell\PowerShellAsAdmin" /V "Icon" /T "REG_SZ" /D "powershell.exe" /F 1>NUL 2>&1
    REG ADD "HKCR\LibraryFolder\Background\shell\PowerShellAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V ^&^& start PowerShell ^&^& exit' -Verb RunAs\"" /F 1>NUL 2>&1

    rem Add "Open elevated command window here" (Only works in Batch file)
    REM OPTIONS:
    rem https://www.tenforums.com/tutorials/59686-open-command-window-here-administrator-add-windows-10-a.html
    REG ADD "HKCR\Directory\shell\OpenCmdHereAsAdmin" /V "" /D "Open command window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\Directory\shell\OpenCmdHereAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\shell\OpenCmdHereAsAdmin" /V "Icon" /T "REG_SZ" /D "imageres.dll,-5324" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\shell\OpenCmdHereAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V' -Verb RunAs\"" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\Background\shell\OpenCmdHereAsAdmin" /V "" /D "Open command window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\Directory\Background\shell\OpenCmdHereAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\Background\shell\OpenCmdHereAsAdmin" /V "Icon" /T "REG_SZ" /D "imageres.dll,-5324" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\Background\shell\OpenCmdHereAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V' -Verb RunAs\"" /F 1>NUL 2>&1
    REG ADD "HKCR\Drive\shell\OpenCmdHereAsAdmin" /V "" /D "Open command window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\Drive\shell\OpenCmdHereAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\Drive\shell\OpenCmdHereAsAdmin" /V "Icon" /T "REG_SZ" /D "imageres.dll,-5324" /F 1>NUL 2>&1
    REG ADD "HKCR\Drive\shell\OpenCmdHereAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V' -Verb RunAs\"" /F 1>NUL 2>&1
    REG ADD "HKCR\LibraryFolder\background\shell\OpenCmdHereAsAdmin" /V "" /D "Open command window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\LibraryFolder\background\shell\OpenCmdHereAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\LibraryFolder\background\shell\OpenCmdHereAsAdmin" /V "Icon" /T "REG_SZ" /D "imageres.dll,-5324" /F 1>NUL 2>&1
    REG ADD "HKCR\LibraryFolder\background\shell\OpenCmdHereAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V' -Verb RunAs\"" /F 1>NUL 2>&1

    REM ----------------------------------------------------------------------------------------------------------
    REM Visual performance options
    REM ----------------------------------------------------------------------------------------------------------

    rem Disable Desktop Wallpaper JPEG Quality Reduction
    reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "JPEGImportQuality" /t REG_DWORD /d "0x00000064" /f
    rem https://www.elevenforum.com/t/disable-desktop-wallpaper-jpeg-quality-reduction-in-windows-11.10782/

    rem Show window contents while dragging
    rem Optopns: 1 = On 0 = Off
    rem https://www.elevenforum.com/t/enable-or-disable-show-window-contents-while-dragging-in-windows-11.6560/
    reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v DragFullWindows /t REG_SZ /d 1 /f

    rem Smooth edges of screen fonts
    rem Optopns: 2 = On 0 = Off
    rem https://www.elevenforum.com/t/enable-or-disable-font-smoothing-in-windows-11.8476/
    reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v FontSmoothing /t REG_SZ /d 2 /f

    rem Show borders on Windows (NOTE: This is a combination of multiple settings)
    rem Optopns: 9032078010000000 =
    rem ❌ Animate controls and elements inside windows
    rem ❌ Animate windows when minimizing and maximizing
    rem ❌ Animations in the taskbar
    rem ❌ Enable Peek
    rem ❌ Fade or slide menus into view
    rem ❌ Fade or slide ToolTips into view
    rem ❌ Fade out menu items after clicking
    rem ❌ Save taskbar thumbnail previews
    rem ✔ Show shadows under mouse pointer
    rem ✔ Show shadows under windows
    rem ✔ Show thumbnails instead of icons
    rem ✔ Show translucent selection rectangle
    rem ✔ Show window contents while dragging
    rem ❌ Slide open combo boxes
    rem ✔ Smooth edges of screen fonts
    rem ❌ Smooth-scroll list boxes
    rem ✔ Use drop shadows for icon labels on the desktop
    rem https://www.tenforums.com/tutorials/6377-change-visual-effects-settings-windows-10-a.html#option4
    reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v UserPreferencesMask /t REG_BINARY /d 9032078010000000 /f

    rem ---------------------------------------------------------------------------
    rem ACCESSIBILITY
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Accessibility ➜ Visual Effects ➜ Animation effects (Animate Windows when Minimizing and Maximizing)
    rem Options: [1 = Enable] [0 = Disable]
    rem https://www.tenforums.com/tutorials/126788-enable-disable-animate-windows-when-minimizing-maximizing.html
    reg add "HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics" /v "MinAnimate" /t REG_SZ /d 0 /f

    rem Start ➜ Settings ➜ Accessibility ➜ Keyboard ➜ Use the Print screen key to open screen capture
    rem Options: [1 = Enable] [0 = Disable]
    rem https://www.elevenforum.com/t/enable-or-disable-use-print-screen-key-to-open-screen-snipping-in-windows-11.520/
    reg add "HKEY_CURRENT_USER\Control Panel\Keyboard" /v "PrintScreenKeyForSnippingEnabled" /t REG_DWORD /d 0 /f

    rem ---------------------------------------------------------------------------
    rem NOTIFICATIONS
    rem ---------------------------------------------------------------------------
    @@ -757,16 +596,6 @@ reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Notificatio
    rem Start ➜ Settings ➜ Notifications ➜ Additional settings ➜ suggest ways to get the most out of windows and finish setting up this device
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "ScoobeSystemSettingEnabled" /t REG_DWORD /d 0 /f

    rem ---------------------------------------------------------------------------
    rem WINDOWS BACKUP
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Accounts ➜ Windows Backup
    rem Options: [0 = Show 20 most recent tabs] [1 = Show 5 most recent tabs] [2 = Show 3 most recent tabs] [3 = Don't show tabs]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "MultiTaskingAltTabFilter" /t REG_DWORD /d 3 /f
    rem https://www.elevenforum.com/t/turn-on-or-off-remember-apps-for-microsoft-account-across-windows-11-devices.4249/

    rem ---------------------------------------------------------------------------
    rem SOUND SCHEME
    rem ---------------------------------------------------------------------------
    @@ -972,173 +801,3 @@ reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\PanelSound\.default" /v"" /d "C:\Wi
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\PanelSound\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Names\.Default" /v"" /d "Windows Default" /f
    reg add "HKCU\AppEvents\Schemes\Names\.None" /v"" /d "No Sounds" /f

    rem ---------------------------------------------------------------------------
    rem SYSTEM ➜ MULTITASKING
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Multitasking ➜ Snap Windows
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "WindowArrangementActive" /t REG_SZ /d 1 /f

    rem Start ➜ Settings ➜ Multitasking ➜ When I snap a window, suggest what I can snap next to it
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "SnapAssist" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Multitasking ➜ Show snap layouts when I hover over a window's maximize button
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "EnableSnapAssistFlyout" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Multitasking ➜ Show snap layouts when I drag a window to the top of my screen
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "EnableSnapBar" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Multitasking ➜ Show my snapped windows when I hover over taskbar apps, in Task View, and when I press Alt+Tab
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "EnableTaskGroups" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Multitasking ➜ When I drag a window let me snap it without dragging all the way to the screen edge
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "DITest" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Multitasking ➜ Show tabs from apps when snapping or pressing Alt+Tab
    rem Options: [0 = Show 20 most recent tabs] [1 = Show 5 most recent tabs] [2 = Show 3 most recent tabs] [3 = Don't show tabs]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "MultiTaskingAltTabFilter" /t REG_DWORD /d 3 /f
    rem https://www.elevenforum.com/t/change-what-alt-tab-shows-in-windows-11.3836

    rem Start ➜ Settings ➜ Multitasking ➜ Show all open windows when I press Alt+Tab
    rem Options: [0 = On all desktops] [0 = Only the desktop I'm using]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "VirtualDesktopTaskbarFilter" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Multitasking ➜ Show all open windows when I press Alt+Tab
    rem Options: [0 = On all desktops] [0 = Only the desktop I'm using]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "VirtualDesktopAltTabFilter" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Multitasking ➜ Title bar window shake (previously NoWindowMinimizingShortcuts)
    rem Options: [0 = Enable] [1 = Disable] (remember this is an inverted option...)
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "DisallowShaking" /t REG_DWORD /d 1 /f

    rem ---------------------------------------------------------------------------
    rem GAMING
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Gaming ➜ Game Bar ➜ Allow your controller to open Game Bar
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\GameBar" /v "UseNexusForGameBarEnabled" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-open-game-bar-using-xbox-button-on-controller-in-windows-11.4290/

    rem ----------------------------------------------------------------------------------------------------------
    rem Security settings
    rem ----------------------------------------------------------------------------------------------------------

    rem Enable XTS-AES 256-bit BitLocker encryption for all drives
    rem https://www.elevenforum.com/t/change-bitlocker-drive-encryption-method-in-windows-11.25095/
    rem OPTIONS:
    reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "EncryptionMethodWithXtsOs" /t "REG_DWORD" /d 7 /f
    reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "EncryptionMethodWithXtsFdv" /t "REG_DWORD" /d 7 /f
    reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "EncryptionMethodWithXtsRdv" /t "REG_DWORD" /d 7 /f

    rem ---------------------------------------------------------------------------
    rem REMOVE OPTIONAL FEATURES
    rem ---------------------------------------------------------------------------

    rem Check installed features with: DISM /Online /Get-Capabilities

    rem Remove Windows Optional Feature: WordPad
    dism /Online /NoRestart /Remove-Capability /CapabilityName:Microsoft.Windows.WordPad~~~~0.0.1.0

    rem Remove Windows Optional Feature: PowerShell ISE
    rem DISM /Online /NoRestart /Remove-Capability /CapabilityName:Microsoft.Windows.PowerShell.ISE~~~~0.0.1.0

    rem Remove Windows Optional Feature: Notepad
    rem DISM /Online /NoRestart /Remove-Capability /CapabilityName:Microsoft.Windows.Notepad.System~~~~0.0.1.0

    rem Remove Windows Optional Feature: Notepad (App)
    rem DISM /Online /NoRestart /Remove-Capability /CapabilityName:Microsoft.Windows.Notepad~~~~0.0.1.0

    rem Remove Windows Optional Feature: Extended Theme Content
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:Microsoft.Wallpapers.Extended~~~~0.0.1.0

    rem Remove Windows Optional Feature: Facial Recognition (Windows Hello)
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:Hello.Face.20134~~~~0.0.1.0

    rem Remove Windows Optional Feature: Internet Explorer mode
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:Browser.InternetExplorer~~~~0.0.11.0

    rem Remove Windows Optional Feature: Math Recognizer
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:MathRecognizer~~~~0.0.1.0

    rem Remove Windows Optional Feature: OpenSSH Client
    rem DISM /Online /NoRestart /Remove-Capability /CapabilityName:OpenSSH.Client~~~~0.0.1.0

    rem Remove Windows Optional Feature: Print Management
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:Print.Management.Console~~~~0.0.1.0

    rem Remove Windows Optional Feature: Steps Recorder
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:App.StepsRecorder~~~~0.0.1.0

    rem Remove Windows Optional Feature: WMIC
    rem DISM /Online /NoRestart /Remove-Capability /CapabilityName:WMIC~~~~

    rem Remove Windows Optional Feature: Windows Media Player Legacy
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:Media.WindowsMediaPlayer~~~~0.0.12.0

    rem Remove Windows Optional Feature: VBSCRIPT
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:VBSCRIPT~~~~

    rem ---------------------------------------------------------------------------
    rem TURN OFF WINDOWS FEATURES
    rem ---------------------------------------------------------------------------

    rem Check installed features with: dism /online /Get-Features

    rem Turn off Windows feature: Print and Document Services
    dism /Online /Disable-Feature /FeatureName:"Printing-Foundation-Features" /NoRestart

    rem Turn off Windows feature: Remote Differential Compression
    DISM /online /disable-feature /featurename:"MSRDC-Infrastructure" /NoRestart

    rem Turn off Windows feature: Work Folder Client
    dism /Online /Disable-Feature /FeatureName:"WorkFolders-Client" /NoRestart

    rem Turn off Windows feature: Windows PowerShell 2.0
    dism /Online /Disable-Feature /FeatureName:"MicrosoftWindowsPowerShellV2" /NoRestart
    dism /Online /Disable-Feature /FeatureName:"MicrosoftWindowsPowerShellV2Root" /NoRestart

    rem Turn off Windows feature: Media Features
    dism /Online /Disable-Feature /FeatureName:"MediaPlayback" /NoRestart

    rem Turn off Windows feature: MPrint to PDF
    rem dism /Online /Disable-Feature /FeatureName:"Printing-PrintToPDFServices-Features" /NoRestart

    rem Turn off Windows feature: SMB Direct
    rem dism /Online /Disable-Feature /FeatureName:"SmbDirect" /NoRestart

    rem Turn off Windows feature: .NET Framework 4.8 Advanced Services
    rem dism /Online /Disable-Feature /FeatureName:"NetFx4-AdvSrvs" /NoRestart

    rem ---------------------------------------------------------------------------
    rem UNINSTALL INSTALLED APPLICATIONS
    rem ---------------------------------------------------------------------------

    rem Find apps with dism /online /Get-Capabilities
    rem Reinstall using /Add-Capability instead of /Remove-Capability

    rem Snipping Tool
    dism /online /Remove-Capability /CapabilityName:Microsoft.Windows.SnippingTool~~~~0.0.1.0 /NoRestart

    rem Remove Paint
    dism /online /Remove-Capability /CapabilityName:Microsoft.Windows.MSPaint~~~~0.0.1.0 /NoRestart

    REM ---------------------------------------------------------------------------
    REM ### Prompt the user to confirm the restart
    REM ---------------------------------------------------------------------------
    set /p confirm=Do you want to restart the computer? (Y/N):

    :: Check the user's input
    if /i "%confirm%"=="Y" (
    echo Restarting the computer...
    shutdown /r /t 0
    ) else (
    echo Computer will not be restarted.
    )
  2. @ScribbleGhost ScribbleGhost revised this gist Jan 24, 2025. 1 changed file with 0 additions and 34 deletions.
    34 changes: 0 additions & 34 deletions My Ultimate Windows 11 Customization Script.bat
    Original file line number Diff line number Diff line change
    @@ -11,40 +11,6 @@ rem /d = Assigns the specified data to the registry value.
    rem /t <something here> = Defines the type of the registry value. For example REG_DWORD indicates a 32-bit number.
    rem /V "<something here>" = Specifies the name of the registry value to add or modify.

    rem ---------------------------------------------------------------------------
    rem CHANGE LANGUAGE AND REGION SETTINGS
    rem ---------------------------------------------------------------------------

    REM Set WinUserLanguageList as a variable
    powershell -Command "$lang = Get-WinUserLanguageList"

    REM Clear the WinUserLanguageList
    powershell -Command "$lang.Clear()"

    REM Add language to the language list
    powershell -Command "$lang.Add('en-US')"

    REM Remove whatever input method is present
    powershell -Command "$lang[0].InputMethodTips.Clear()"

    REM Add this keyboard as keyboard language
    powershell -Command "$lang[0].InputMethodTips.Add('0409:00000414')"

    REM Set this language list as default
    powershell -Command "Set-WinUserLanguageList $lang -Force"

    REM Make region settings independent of OS language
    powershell -Command "Set-WinCultureFromLanguageListOptOut -OptOut $True"

    REM Set region to this Country
    powershell -Command "Set-Culture nb-NO"

    REM Set the location to this location
    powershell -Command "Set-WinHomeLocation -GeoId 0xb1"

    REM Set non-unicode legacy software to use this language as default
    powershell -Command "Set-WinSystemLocale -SystemLocale nb-NO"

    rem ---------------------------------------------------------------------------
    rem PRIVACY
    rem ---------------------------------------------------------------------------
  3. @ScribbleGhost ScribbleGhost revised this gist Oct 15, 2024. 1 changed file with 2 additions and 11 deletions.
    13 changes: 2 additions & 11 deletions My Ultimate Windows 11 Customization Script.bat
    Original file line number Diff line number Diff line change
    @@ -8,17 +8,8 @@ rem ___
    rem Explanation of registry flags:
    rem /f = Overwrite
    rem /d = Assigns the specified data to the registry value.
    rem /t REG_DWORD = Defines the type of the registry value. REG_DWORD indicates a 32-bit number.
    rem /V "EnableSnapAssistFlyout" = Specifies the name of the registry value to add or modify.
    rem Missing features:
    rem ❌ Do not disturb
    rem ❌ Night light
    rem ❌ Priority notifications
    rem ❌ Focus session
    rem ❌ System ➜ Notifications ➜ Settings
    rem ❌ System ➜ Power
    rem ❌ Accounts ➜ Windows Backup
    rem ❌ Rcall: https://www.thewindowsclub.com/how-to-uninstall-recall-feature-in-windows
    rem /t <something here> = Defines the type of the registry value. For example REG_DWORD indicates a 32-bit number.
    rem /V "<something here>" = Specifies the name of the registry value to add or modify.

    rem ---------------------------------------------------------------------------
    rem CHANGE LANGUAGE AND REGION SETTINGS
  4. @ScribbleGhost ScribbleGhost revised this gist Oct 15, 2024. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions My Ultimate Windows 11 Customization Script.bat
    Original file line number Diff line number Diff line change
    @@ -544,6 +544,12 @@ rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/add-or-remove-task-view-button-on-taskbar-in-windows-11.1037

    rem Start ➜ Settings ➜ Personalization ➜ Taskbar ➜ Taskbar items ➜ Widgets
    rem Options: [0 = disable] [1 = enable]
    rem https://www.elevenforum.com/t/enable-or-disable-widgets-feature-in-windows-11.1196
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\NewsAndInterests\AllowNewsAndInterests" /v "Value" /t REG_DWORD /d 0 /f
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh" /v "AllowNewsAndInterests" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Personalization ➜ Taskbar ➜ System tray icons ➜ Pen Menu
    rem Options: [0 = hide pen menu] [1 = show pen menu when in use]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PenWorkspace" /v "PenWorkspaceButtonDesiredVisibility" /t REG_DWORD /d 1 /f
  5. @ScribbleGhost ScribbleGhost revised this gist Oct 15, 2024. 1 changed file with 29 additions and 4 deletions.
    33 changes: 29 additions & 4 deletions My Ultimate Windows 11 Customization Script.bat
    Original file line number Diff line number Diff line change
    @@ -58,21 +58,40 @@ rem ---------------------------------------------------------------------------
    rem PRIVACY
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Privacy & Security ➜ General ➜ Show me suggested content in the Settings app
    rem https://www.elevenforum.com/t/enable-or-disable-suggested-content-in-settings-in-windows-11.3791/
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353694Enabled" /t REG_DWORD /d 0 /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353696Enabled" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Privacy & Security ➜ General ➜ Let apps show me personalized ads by using my advertising ID
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v "Enabled" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-advertising-id-for-personalized-ads-in-apps-in-windows-11.3730

    rem Start ➜ Settings ➜ Privacy & Security ➜ General ➜ Let websites show me locally relevant content by accessing my language list
    rem Options: [0 = Turn on] [1 = Turn off]
    reg add "HKEY_CURRENT_USER\Control Panel\International\User Profile" /v "HttpAcceptLanguageOptOut" /t REG_DWORD /d 1 /f
    reg add "HKEY_CURRENT_USER\Control Panel\International\User Profile" /v "HttpAcceptLanguageOptOut" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-website-access-to-language-list-in-windows-11.3733

    rem Start ➜ Settings ➜ Privacy & Security ➜ General ➜ Let Windows improve Start and search results by tracking app launches
    rem Options: [0 = Turn on] [1 = Turn off]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackProgs" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-website-access-to-language-list-in-windows-11.3733

    rem Start ➜ Settings ➜ Privacy & Security ➜ General ➜ Custom inking and typing dictionary
    rem https://www.elevenforum.com/t/enable-or-disable-custom-inking-and-typing-dictionary-in-windows-11.5564/
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CPSS\Store\InkingAndTypingPersonalization" /v "Value" /t REG_DWORD /d 0 /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Personalization\Settings" /v "AcceptedPrivacyPolicy" /t REG_DWORD /d 0 /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\InputPersonalization" /v "RestrictImplicitInkCollection" /t REG_DWORD /d 1 /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\InputPersonalization" /v "RestrictImplicitTextCollection" /t REG_DWORD /d 1 /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\InputPersonalization\TrainedDataStore" /v "HarvestContacts" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Privacy & Security ➜ General ➜ Show me notifications in the Settings app
    rem Options: [0 = Don't show] [1 = Show]
    rem https://www.elevenforum.com/t/enable-or-disable-show-notifications-in-settings-app-in-windows-11.25835/
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\SystemSettings\AccountNotifications" /v "EnableAccountNotifications" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Privacy & Security ➜ Find my device
    rem Options: [0 = Turn off] [1 = Turn on]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MdmCommon\SettingValues" /v "LocationSyncEnabled" /t REG_DWORD /d 0 /f
    @@ -122,15 +141,21 @@ rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\SearchSettings" /v "IsMSACloudSearchEnabled" /t "REG_DWORD" /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-cloud-content-search-in-windows-11.5378/

    rem Start ➜ Settings ➜ Privacy & Security ➜ Search permissions ➜ Cloud content search ➜ Microsoft Account
    rem Start ➜ Settings ➜ Privacy & Security ➜ Search permissions ➜ Cloud content search ➜ Work or school account
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\SearchSettings" /v "IsAADCloudSearchEnabled" /t "REG_DWORD" /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-cloud-content-search-in-windows-11.5378/

    rem Start ➜ Settings ➜ Privacy & Security ➜ Search permissions ➜ History ➜ Search history on this device
    rem Start ➜ Settings ➜ Privacy & Security ➜ Search permissions ➜ Search history on this device
    rem https://www.elevenforum.com/t/enable-or-disable-recent-search-history-in-windows-11.5395/
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\SearchSettings" /v "IsDeviceSearchHistoryEnabled" /t "REG_DWORD" /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-recent-search-history-in-windows-11.5395/

    rem Start ➜ Settings ➜ Privacy & Security ➜ Search permissions ➜ Let search apps show results
    rem https://www.elevenforum.com/t/add-or-remove-copilot-and-find-results-in-web-in-windows-search-in-windows-11.5309/
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search" /v "BingSearchEnabled" /t REG_DWORD /d 0 /f
    powershell -windowstyle hidden -command "Start-Process cmd -ArgumentList '/s,/c,REG Add "HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer" /V DisableSearchBoxSuggestions /T REG_DWORD /D 1 /F' -Verb runAs"

    rem Start ➜ Settings ➜ Privacy & Security ➜ Searching Windows ➜ Find my files
    rem Options: [0 = Classic] [1 = Enhanced]
  6. @ScribbleGhost ScribbleGhost revised this gist Oct 15, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion My Ultimate Windows 11 Customization Script.bat
    Original file line number Diff line number Diff line change
    @@ -739,7 +739,7 @@ reg add "HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics" /v "MinAnimate"
    rem Start ➜ Settings ➜ Accessibility ➜ Keyboard ➜ Use the Print screen key to open screen capture
    rem Options: [1 = Enable] [0 = Disable]
    rem https://www.elevenforum.com/t/enable-or-disable-use-print-screen-key-to-open-screen-snipping-in-windows-11.520/
    reg add "HKEY_CURRENT_USER\Control Panel\Keyboard" /v "PrintScreenKeyForSnippingEnabled" /t REG_SZ /d 0 /f
    reg add "HKEY_CURRENT_USER\Control Panel\Keyboard" /v "PrintScreenKeyForSnippingEnabled" /t REG_DWORD /d 0 /f

    rem ---------------------------------------------------------------------------
    rem NOTIFICATIONS
  7. @ScribbleGhost ScribbleGhost revised this gist Oct 15, 2024. 1 changed file with 10 additions and 1 deletion.
    11 changes: 10 additions & 1 deletion My Ultimate Windows 11 Customization Script.bat
    Original file line number Diff line number Diff line change
    @@ -727,10 +727,19 @@ rem ✔ Use drop shadows for icon labels on the desktop
    rem https://www.tenforums.com/tutorials/6377-change-visual-effects-settings-windows-10-a.html#option4
    reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v UserPreferencesMask /t REG_BINARY /d 9032078010000000 /f

    rem ---------------------------------------------------------------------------
    rem ACCESSIBILITY
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Accessibility ➜ Visual Effects ➜ Animation effects (Animate Windows when Minimizing and Maximizing)
    rem Options: [1 = Enable] [0 = Disable]
    rem https://www.tenforums.com/tutorials/126788-enable-disable-animate-windows-when-minimizing-maximizing.html
    reg add "HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics" /v MinAnimate /t REG_SZ /d 0 /f
    reg add "HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics" /v "MinAnimate" /t REG_SZ /d 0 /f

    rem Start ➜ Settings ➜ Accessibility ➜ Keyboard ➜ Use the Print screen key to open screen capture
    rem Options: [1 = Enable] [0 = Disable]
    rem https://www.elevenforum.com/t/enable-or-disable-use-print-screen-key-to-open-screen-snipping-in-windows-11.520/
    reg add "HKEY_CURRENT_USER\Control Panel\Keyboard" /v "PrintScreenKeyForSnippingEnabled" /t REG_SZ /d 0 /f

    rem ---------------------------------------------------------------------------
    rem NOTIFICATIONS
  8. @ScribbleGhost ScribbleGhost revised this gist Oct 14, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion My Ultimate Windows 11 Customization Script.bat
    Original file line number Diff line number Diff line change
    @@ -1081,7 +1081,7 @@ rem Remove Windows Optional Feature: Steps Recorder
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:App.StepsRecorder~~~~0.0.1.0

    rem Remove Windows Optional Feature: WMIC
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:WMIC~~~~
    rem DISM /Online /NoRestart /Remove-Capability /CapabilityName:WMIC~~~~

    rem Remove Windows Optional Feature: Windows Media Player Legacy
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:Media.WindowsMediaPlayer~~~~0.0.12.0
  9. @ScribbleGhost ScribbleGhost revised this gist Oct 14, 2024. 1 changed file with 198 additions and 0 deletions.
    198 changes: 198 additions & 0 deletions My Ultimate Windows 11 Customization Script.bat
    Original file line number Diff line number Diff line change
    @@ -778,6 +778,204 @@ rem Start ➜ Settings ➜ Sound ➜ More sound settings ➜ Sounds ➜ Sound sc
    rem Options: [.Default = Windows Default] [.None = No sounds]
    reg add "HKEY_CURRENT_USER\AppEvents\Schemes" /v "" /d ".None" /f

    reg add "HKCU\AppEvents\Schemes" /v"" /d ".None" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default" /v"" /d "Windows" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default" /v"DispFileName" /T "REG_SZ" /d "@mmres.dll,-5856" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\.Default\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\.Default\.Default" /v"" /d "C:\Windows\media\Windows Background.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\.Default\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\AppGPFault\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\AppGPFault\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\AppGPFault\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\CCSelect\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\CCSelect\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\CCSelect\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\ChangeTheme\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\ChangeTheme\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\ChangeTheme\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Close\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Close\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Close\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\CriticalBatteryAlarm\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\CriticalBatteryAlarm\.Default" /v"" /d "C:\Windows\media\Windows Foreground.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\CriticalBatteryAlarm\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\DeviceConnect\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\DeviceConnect\.Default" /v"" /d "C:\Windows\media\Windows Hardware Insert.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\DeviceConnect\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\DeviceDisconnect\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\DeviceDisconnect\.Default" /v"" /d "C:\Windows\media\Windows Hardware Remove.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\DeviceDisconnect\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\DeviceFail\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\DeviceFail\.Default" /v"" /d "C:\Windows\media\Windows Hardware Fail.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\DeviceFail\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\FaxBeep\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\FaxBeep\.Default" /v"" /d "C:\Windows\media\Windows Notify Email.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\FaxBeep\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\LowBatteryAlarm\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\LowBatteryAlarm\.Default" /v"" /d "C:\Windows\media\Windows Background.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\LowBatteryAlarm\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\MailBeep\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\MailBeep\.Default" /v"" /d "C:\Windows\media\Windows Notify Email.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\MailBeep\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Maximize\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Maximize\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Maximize\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\MenuCommand\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\MenuCommand\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\MenuCommand\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\MenuPopup\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\MenuPopup\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\MenuPopup\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\MessageNudge\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\MessageNudge\.Default" /v"" /d "C:\Windows\media\Windows Message Nudge.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\MessageNudge\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Minimize\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Minimize\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Minimize\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Default\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Default\.Default" /v"" /d "C:\Windows\media\Windows Notify System Generic.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Default\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.IM\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.IM\.Default" /v"" /d "C:\Windows\media\Windows Notify Messaging.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.IM\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,31,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,31,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm10\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,31,00,30,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm10\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,31,00,30,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm2\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,32,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm2\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,32,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm3\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,33,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm3\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,33,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm4\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,34,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm4\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,34,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm5\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,35,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm5\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,35,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm6\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,36,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm6\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,36,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm7\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,37,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm7\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,37,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm8\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,38,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm8\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,38,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm9\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,39,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Alarm9\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,41,00,6c,00,61,00,72,00,6d,00,30,00,39,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,31,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,31,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call10\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,31,00,30,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call10\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,31,00,30,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call2\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,32,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call2\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,32,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call3\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,33,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call3\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,33,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call4\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,34,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call4\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,34,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call5\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,35,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call5\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,35,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call6\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,36,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call6\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,36,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call7\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,37,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call7\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,37,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call8\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,38,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call8\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,38,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call9\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,39,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Looping.Call9\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,52,00,69,00,6e,00,67,00,30,00,39,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Mail\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Mail\.Default" /v"" /d "C:\Windows\media\Windows Notify Email.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Mail\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Proximity\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Proximity\.Default" /v"" /d "C:\Windows\media\Windows Proximity Notification.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Proximity\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Reminder\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Reminder\.Default" /v"" /d "C:\Windows\media\Windows Notify Calendar.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.Reminder\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.SMS\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.SMS\.Default" /v"" /d "C:\Windows\media\Windows Notify Messaging.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Notification.SMS\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Open\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Open\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\Open\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\PrintComplete\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\PrintComplete\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\PrintComplete\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\ProximityConnection\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\ProximityConnection\.Default" /v"" /d "C:\Windows\media\Windows Proximity Connection.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\ProximityConnection\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\RestoreDown\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\RestoreDown\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\RestoreDown\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\RestoreUp\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\RestoreUp\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\RestoreUp\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\ShowBand\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\ShowBand\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\ShowBand\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemAsterisk\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemAsterisk\.Default" /v"" /d "C:\Windows\media\Windows Background.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemAsterisk\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemExclamation\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemExclamation\.Default" /v"" /d "C:\Windows\media\Windows Background.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemExclamation\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemHand\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemHand\.Default" /v"" /d "C:\Windows\media\Windows Foreground.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemHand\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemNotification\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemNotification\.Default" /v"" /d "C:\Windows\media\Windows Background.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemNotification\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemQuestion\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemQuestion\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\SystemQuestion\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\WindowsLogon\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,4c,00,6f,00,67,00,6f,00,6e,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\WindowsLogon\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,4c,00,6f,00,67,00,6f,00,6e,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\WindowsUAC\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\WindowsUAC\.Default" /v"" /d "C:\Windows\media\Windows User Account Control.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\WindowsUAC\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\WindowsUnlock\.Current" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,55,00,6e,00,6c,00,6f,00,63,00,6b,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\.Default\WindowsUnlock\.Default" /v"" /d "ex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,55,00,6e,00,6c,00,6f,00,63,00,6b,00,2e,00,77,00,61,00,76,00,00,0" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer" /v"" /d "File Explorer" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer" /v"DispFileName" /T "REG_SZ" /d "@mmres.dll,-5854" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\ActivatingDocument\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\ActivatingDocument\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\ActivatingDocument\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\BlockedPopup\.current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\BlockedPopup\.default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\BlockedPopup\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\EmptyRecycleBin\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\EmptyRecycleBin\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\EmptyRecycleBin\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\FeedDiscovered\.current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\FeedDiscovered\.default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\FeedDiscovered\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\MoveMenuItem\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\MoveMenuItem\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\MoveMenuItem\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\Navigating\.Current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\Navigating\.Default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\Navigating\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\SecurityBand\.current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\SecurityBand\.default" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\Explorer\SecurityBand\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr" /v"" /d "Speech Recognition" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr" /v"DispFileName" /T "REG_SZ" /d "@C:\Windows\System32\speech\speechux\sapi.cpl,-5555" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\DisNumbersSound\.current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\DisNumbersSound\.default" /v"" /d "C:\Windows\media\Speech Disambiguation.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\DisNumbersSound\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\HubOffSound\.current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\HubOffSound\.default" /v"" /d "C:\Windows\media\Speech Off.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\HubOffSound\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\HubOnSound\.current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\HubOnSound\.default" /v"" /d "C:\Windows\media\Speech On.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\HubOnSound\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\HubSleepSound\.current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\HubSleepSound\.default" /v"" /d "C:\Windows\media\Speech Sleep.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\HubSleepSound\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\MisrecoSound\.current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\MisrecoSound\.default" /v"" /d "C:\Windows\media\Speech Misrecognition.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\MisrecoSound\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\PanelSound\.current" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\PanelSound\.default" /v"" /d "C:\Windows\media\Speech Disambiguation.wav" /f
    reg add "HKCU\AppEvents\Schemes\Apps\sapisvr\PanelSound\.None" /v"" /d "" /f
    reg add "HKCU\AppEvents\Schemes\Names\.Default" /v"" /d "Windows Default" /f
    reg add "HKCU\AppEvents\Schemes\Names\.None" /v"" /d "No Sounds" /f

    rem ---------------------------------------------------------------------------
    rem SYSTEM ➜ MULTITASKING
    rem ---------------------------------------------------------------------------
  10. @ScribbleGhost ScribbleGhost revised this gist Oct 14, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion My Ultimate Windows 11 Customization Script.bat
    Original file line number Diff line number Diff line change
    @@ -376,7 +376,7 @@ rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ System ➜ For developers ➜ Show file extensions
    rem Options: [0 = Enable] [1 = Disable] (remember this is an inverted option...)
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 1 /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ System ➜ For developers ➜ Show hidden and system files
    rem Options: [1 = Enable] [2 = Disable]
  11. @ScribbleGhost ScribbleGhost created this gist Oct 14, 2024.
    949 changes: 949 additions & 0 deletions My Ultimate Windows 11 Customization Script.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,949 @@
    rem ---------------------------------------------------------------------------
    rem MY ULTIMATE WINDOWS 11 CUSTOMIZATION SCRIPT
    rem ---------------------------------------------------------------------------

    rem Tested on Windows 11 IoT Enterprise LTSC 24H2 Build 26100.2033
    rem Most of these hacks require signing out and in again.
    rem ___
    rem Explanation of registry flags:
    rem /f = Overwrite
    rem /d = Assigns the specified data to the registry value.
    rem /t REG_DWORD = Defines the type of the registry value. REG_DWORD indicates a 32-bit number.
    rem /V "EnableSnapAssistFlyout" = Specifies the name of the registry value to add or modify.
    rem Missing features:
    rem ❌ Do not disturb
    rem ❌ Night light
    rem ❌ Priority notifications
    rem ❌ Focus session
    rem ❌ System ➜ Notifications ➜ Settings
    rem ❌ System ➜ Power
    rem ❌ Accounts ➜ Windows Backup
    rem ❌ Rcall: https://www.thewindowsclub.com/how-to-uninstall-recall-feature-in-windows

    rem ---------------------------------------------------------------------------
    rem CHANGE LANGUAGE AND REGION SETTINGS
    rem ---------------------------------------------------------------------------

    REM Set WinUserLanguageList as a variable
    powershell -Command "$lang = Get-WinUserLanguageList"

    REM Clear the WinUserLanguageList
    powershell -Command "$lang.Clear()"

    REM Add language to the language list
    powershell -Command "$lang.Add('en-US')"

    REM Remove whatever input method is present
    powershell -Command "$lang[0].InputMethodTips.Clear()"

    REM Add this keyboard as keyboard language
    powershell -Command "$lang[0].InputMethodTips.Add('0409:00000414')"

    REM Set this language list as default
    powershell -Command "Set-WinUserLanguageList $lang -Force"

    REM Make region settings independent of OS language
    powershell -Command "Set-WinCultureFromLanguageListOptOut -OptOut $True"

    REM Set region to this Country
    powershell -Command "Set-Culture nb-NO"

    REM Set the location to this location
    powershell -Command "Set-WinHomeLocation -GeoId 0xb1"

    REM Set non-unicode legacy software to use this language as default
    powershell -Command "Set-WinSystemLocale -SystemLocale nb-NO"

    rem ---------------------------------------------------------------------------
    rem PRIVACY
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Privacy & Security ➜ General ➜ Let apps show me personalized ads by using my advertising ID
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v "Enabled" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-advertising-id-for-personalized-ads-in-apps-in-windows-11.3730

    rem Start ➜ Settings ➜ Privacy & Security ➜ General ➜ Let websites show me locally relevant content by accessing my language list
    rem Options: [0 = Turn on] [1 = Turn off]
    reg add "HKEY_CURRENT_USER\Control Panel\International\User Profile" /v "HttpAcceptLanguageOptOut" /t REG_DWORD /d 1 /f
    rem https://www.elevenforum.com/t/enable-or-disable-website-access-to-language-list-in-windows-11.3733

    rem Start ➜ Settings ➜ Privacy & Security ➜ General ➜ Let Windows improve Start and search results by tracking app launches
    rem Options: [0 = Turn on] [1 = Turn off]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackProgs" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-website-access-to-language-list-in-windows-11.3733

    rem Start ➜ Settings ➜ Privacy & Security ➜ Find my device
    rem Options: [0 = Turn off] [1 = Turn on]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MdmCommon\SettingValues" /v "LocationSyncEnabled" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-find-my-device-in-windows-11.3861

    rem Start ➜ Settings ➜ Privacy & Security ➜ Speech ➜ Online speech recognition
    rem Options: [0 = Turn off] [1 = Turn on]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Speech_OneCore\Settings\OnlineSpeechPrivacy" /v "HasAccepted" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-online-speech-recognition-in-windows-11.7552

    rem Start ➜ Settings ➜ Privacy & Security ➜ Inking & typing personalization
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CPSS\Store\InkingAndTypingPersonalization" /v "Value" /t "REG_DWORD" /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-online-speech-recognition-in-windows-11.7552
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Personalization\Settings" /v "AcceptedPrivacyPolicy" /t "REG_DWORD" /d 0 /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\InputPersonalization" /v "RestrictImplicitInkCollection" /t "REG_DWORD" /d 1 /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\InputPersonalization" /v "RestrictImplicitTextCollection" /t "REG_DWORD" /d 1 /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\InputPersonalization\TrainedDataStore" /v "HarvestContacts" /t "REG_DWORD" /d 1 /f

    rem Start ➜ Settings ➜ Privacy & Security ➜ Diagnostics & Feedback ➜ Diagnostic data ➜ Send optional diagnostic data
    reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack" /v "ShowedToastAtLevel" /t "REG_DWORD" /d 0 /f
    rem https://www.elevenforum.com/t/change-diagnostic-data-settings-in-windows-11.2621
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t "REG_DWORD" /d 0 /f
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "MaxTelemetryAllowed" /t "REG_DWORD" /d 0 /f

    rem Start ➜ Settings ➜ Privacy & Security ➜ Diagnostics & Feedback ➜ Tailored experiences
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Privacy" /v "TailoredExperiencesWithDiagnosticDataEnabled" /t "REG_DWORD" /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-tailored-experiences-in-windows-11.7554

    rem Start ➜ Settings ➜ Privacy & Security ➜ Diagnostics & Feedback ➜ View diagnostc data
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack\EventTranscriptKey" /v "EnableEventTranscript" /t "REG_DWORD" /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-diagnostic-data-viewer-in-windows-11.7629/

    rem Start ➜ Settings ➜ Privacy & Security ➜ Activity history ➜ Activity History ➜ Store my activity history on this device
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System" /v "PublishUserActivities" /t "REG_DWORD" /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-store-activity-history-on-device-in-windows-11.7812/

    rem Start ➜ Settings ➜ Privacy & Security ➜ Search permissions ➜ SafeSearch ➜ Moderate
    rem Options: [0 = Off] [1 = Moderate] [2 = Strict]
    reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings" /v "SafeSearchMode" /t "REG_DWORD" /d 1 /f
    rem https://www.elevenforum.com/t/change-bing-safesearch-filters-in-windows-11.5389/

    rem Start ➜ Settings ➜ Privacy & Security ➜ Search permissions ➜ Cloud content search ➜ Microsoft Account
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\SearchSettings" /v "IsMSACloudSearchEnabled" /t "REG_DWORD" /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-cloud-content-search-in-windows-11.5378/

    rem Start ➜ Settings ➜ Privacy & Security ➜ Search permissions ➜ Cloud content search ➜ Microsoft Account
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\SearchSettings" /v "IsAADCloudSearchEnabled" /t "REG_DWORD" /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-cloud-content-search-in-windows-11.5378/

    rem Start ➜ Settings ➜ Privacy & Security ➜ Search permissions ➜ History ➜ Search history on this device
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\SearchSettings" /v "IsDeviceSearchHistoryEnabled" /t "REG_DWORD" /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-recent-search-history-in-windows-11.5395/

    rem Start ➜ Settings ➜ Privacy & Security ➜ Searching Windows ➜ Find my files
    rem Options: [0 = Classic] [1 = Enhanced]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search" /v "IsDeviceSearchHistoryEnabled" /t "EnableFindMyFiles" /d 0 /f
    rem https://www.elevenforum.com/t/turn-on-or-off-enhanced-mode-for-search-indexer-in-windows-11.2941

    rem Start ➜ Settings ➜ Privacy & Security ➜ Location ➜ Location services
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.elevenforum.com/t/enable-or-disable-location-services-in-windows-11.3003/

    rem Start ➜ Settings ➜ Privacy & Security ➜ Location ➜ Let apps use your location
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.elevenforum.com/t/turn-on-or-off-let-apps-access-location-in-windows-11.3017/

    rem Start ➜ Settings ➜ Privacy & Security ➜ Location ➜ Let desktop apps use your location
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location\NonPackaged" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.elevenforum.com/t/turn-on-or-off-let-apps-access-location-in-windows-11.3017/

    rem Start ➜ Settings ➜ Privacy & Security ➜ Location ➜ Allow location override
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CPSS\Store\UserLocationOverridePrivacySetting" /v "Value" /t "REG_SZ" /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-allow-location-override-in-windows-11.18038

    rem Start ➜ Settings ➜ Privacy & Security ➜ Location ➜ Notify when apps request location
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location" /v "ShowGlobalPrompts" /t "REG_DWORD" /d 1 /f
    rem https://www.elevenforum.com/t/turn-on-or-off-notify-when-apps-request-location-in-windows-11.18578/

    rem Start ➜ Settings ➜ Privacy & Security ➜ Camera ➜ Let apps access your camera
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\webcam" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.elevenforum.com/t/turn-on-or-off-notify-when-apps-request-location-in-windows-11.18578/

    rem Start ➜ Settings ➜ Privacy & Security ➜ Camera ➜ Let desktop apps access your camera
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\webcam" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.elevenforum.com/t/turn-on-or-off-notify-when-apps-request-location-in-windows-11.18578/
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\webcam\NonPackaged" /v "Value" /t "REG_SZ" /d "Deny" /f

    rem Start ➜ Settings ➜ Privacy & Security ➜ Microphone ➜ Microphone access ➜ Let desktop apps acess your microphone
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\microphone" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.elevenforum.com/t/enable-or-disable-apps-access-to-microphone-in-windows-11.17117
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\microphone\NonPackaged" /v "Value" /t "REG_SZ" /d "Deny" /f

    rem Start ➜ Settings ➜ Privacy & Security ➜ Microphone ➜ Microphone access ➜ Let apps acess your microphone
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\microphone" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.elevenforum.com/t/enable-or-disable-apps-access-to-microphone-in-windows-11.17117

    rem Start ➜ Settings ➜ Privacy & Security ➜ Microphone ➜ Microphone access ➜ Microphone access
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\microphone" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.elevenforum.com/t/enable-or-disable-apps-access-to-microphone-in-windows-11.17117

    rem Start ➜ Settings ➜ Privacy & Security ➜ Voice activation
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Speech_OneCore\Settings\VoiceActivation\UserPreferenceForAllApps" /v "AgentActivationEnabled" /t "REG_DWORD" /d 0 /f
    rem https://www.tenforums.com/tutorials/130122-allow-deny-apps-access-use-voice-activation-windows-10-a.html

    rem Start ➜ Settings ➜ Privacy & Security ➜ Account info ➜ Account info access
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\userAccountInformation" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.tenforums.com/tutorials/102723-allow-deny-os-apps-access-account-info-windows-10-a.html

    rem Start ➜ Settings ➜ Privacy & Security ➜ Account info ➜ Let apps access your account info
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\userAccountInformation" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.tenforums.com/tutorials/102723-allow-deny-os-apps-access-account-info-windows-10-a.html

    rem Start ➜ Settings ➜ Privacy & Security ➜ Contacts ➜ Contact access
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\contacts" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.tenforums.com/tutorials/104644-allow-deny-os-apps-access-contacts-windows-10-a.html

    rem Start ➜ Settings ➜ Privacy & Security ➜ Contacts ➜ Let apps access your contacts
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\contacts" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.tenforums.com/tutorials/104644-allow-deny-os-apps-access-contacts-windows-10-a.html

    rem Start ➜ Settings ➜ Privacy & Security ➜ Contacts ➜ Calendar access
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\appointments" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.tenforums.com/tutorials/102857-allow-deny-os-apps-access-calendar-windows-10-a.html

    rem Start ➜ Settings ➜ Privacy & Security ➜ Contacts ➜ Let apps access your calendar
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\appointments" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.tenforums.com/tutorials/102857-allow-deny-os-apps-access-calendar-windows-10-a.html

    rem Start ➜ Settings ➜ Privacy & Security ➜ Phone calls ➜ Phone call access
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\phoneCall" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Phone calls ➜ Let apps access your phone calls
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\phoneCall" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Contacts ➜ Call history
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\phoneCallHistory" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.tenforums.com/tutorials/102857-allow-deny-os-apps-access-calendar-windows-10-a.html

    rem Start ➜ Settings ➜ Privacy & Security ➜ Contacts ➜ Let apps access your call history
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\phoneCallHistory" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem https://www.tenforums.com/tutorials/102857-allow-deny-os-apps-access-calendar-windows-10-a.html

    rem Start ➜ Settings ➜ Privacy & Security ➜ Email ➜ Email access
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\email" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Email ➜ Let apps access your email
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\email" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Email ➜ Tasks access
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\userDataTasks" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Email ➜ Let apps access your tasks
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\userDataTasks" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Messaging ➜ Messaging access
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\chat" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Messaging ➜ Let apps access your messages
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\chat" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Radios ➜ Radio control access
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\radios" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Radio ➜ Let apps control device radios
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\radios" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Other devices ➜ Communicate with unpaired devices
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\bluetoothSync" /v "Value" /t "REG_SZ" /d "Allow" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ App diagnostics ➜ App diagnostics access
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\appDiagnostics" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ App diagnostics ➜ Let apps access diagnostic info about other apps
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\appDiagnostics" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Documents
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\documentsLibrary" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Documents ➜ Let apps access your documents library
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\documentsLibrary" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Documents
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\downloadsFolder" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Documents ➜ Let apps access your documents library
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\downloadsFolder" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Music library ➜ Allow access to music libraries on this device
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\musicLibrary" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Music library ➜ Allow apps to access your music library
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\musicLibrary" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Pictures library ➜ Allow access to pictures libraries on this device
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\picturesLibrary" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Pictures library ➜ Allow apps to access your pictures library
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\picturesLibrary" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Videos library ➜ Allow access to videos libraries on this device
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\videosLibrary" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Videos library ➜ Allow apps to access your videos library
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\videosLibrary" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ File system ➜ File system access
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\broadFileSystemAccess" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ File system ➜ Allow apps to access your File system
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\broadFileSystemAccess" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Screenshot borders ➜ Screenshot border settings access
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\graphicsCaptureWithoutBorder" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Screenshot borders ➜ Let apps turn off the screenshot border
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\graphicsCaptureWithoutBorder" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem Start ➜ Settings ➜ Privacy & Security ➜ Screenshot borders ➜ Let desktop apps turn off the screenshot border
    rem Options: [Deny = Disable] [Allow = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\graphicsCaptureProgrammatic\NonPackaged" /v "Value" /t "REG_SZ" /d "Deny" /f
    rem

    rem ---------------------------------------------------------------------------
    rem FILE EXPLORER OPTIONS
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ System ➜ For developers ➜ Show file extensions
    rem Options: [0 = Enable] [1 = Disable] (remember this is an inverted option...)
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 1 /f

    rem Start ➜ Settings ➜ System ➜ For developers ➜ Show hidden and system files
    rem Options: [1 = Enable] [2 = Disable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d 2 /f

    rem Start ➜ Settings ➜ System ➜ For developers ➜ show full path in title bar
    rem Options: [1 = Enable] [0 = Disable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState" /v "FullPath" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/turn-on-or-off-display-full-path-in-title-bar-of-file-explorer-in-windows-11.3585

    rem Start ➜ Settings ➜ System ➜ For developers ➜ Show full path in title bar
    rem Options: [1 = Show] [0 = Hide]
    reg add "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer" /v "ShowRunAsDifferentUserInStart" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/add-or-remove-run-as-different-user-context-menu-on-start-in-windows-11.14289/

    rem Start ➜ Settings ➜ System ➜ For developers ➜ Show empty drives
    rem Options: [0,0,1 = Hide] [0,0,0 = Hide]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/turn-on-or-off-hide-empty-drives-in-windows-11.11141
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideDrivesWithNoMedia" /t REG_DWORD /d 0 /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideDrivesWithNoMedia" /t REG_DWORD /d 1 /f

    rem Open This Computer to My Computer
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "LaunchTo" /t REG_DWORD /d 1 /f
    rem https://www.elevenforum.com/t/change-folder-to-open-file-explorer-to-by-default-in-windows-11.675/

    rem ---------------------------------------------------------------------------
    rem REMOTE DSKTOP
    rem ---------------------------------------------------------------------------

    rem ...

    rem ---------------------------------------------------------------------------
    rem CLIPBOARD
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ System ➜ Clipboard
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Clipboard" /v "EnableClipboardHistory" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-clipboard-history-in-windows-11.973

    rem ---------------------------------------------------------------------------
    rem PRINTERS & SCANNERS
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Bluetooth & devices ➜ Printers & scanners ➜ Let Windows manage my default printer
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Clipboard" /v "LegacyDefaultPrinterMode" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/turn-on-or-off-let-windows-manage-default-printer-in-windows-11.7759/

    rem ---------------------------------------------------------------------------
    rem BLUETOOTH & DEVICES ➜ MOBILE DEVICES
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Bluetooth & devices ➜ Mobile devices ➜ Allow this PC to access your mobile devices
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Mobility" /v "CrossDeviceEnabled" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/turn-on-or-off-let-windows-manage-default-printer-in-windows-11.7759/

    rem Start ➜ Settings ➜ Bluetooth & devices ➜ Mobile devices ➜ Phone Link (Requires the phone link app)
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Mobility" /v "PhoneLinkEnabled" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-phone-link-app-in-windows-11.1368/

    rem Start ➜ Settings ➜ Bluetooth & devices ➜ Mobile devices ➜ Show me suggestions for using my mobile device with Windows
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Mobility" /v "PhoneLinkEnabled" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-phone-link-suggestions-in-windows-11.19884/

    rem Start ➜ Settings ➜ Bluetooth & devices ➜ AutoPlay
    rem Options: [0 = Enable] [1 = Disable] (remember this is an inverted option...)
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers" /v "DisableAutoplay" /t REG_DWORD /d 1 /f
    rem https://www.elevenforum.com/t/turn-on-or-off-autoplay-in-windows-11.3150

    rem Start ➜ Settings ➜ Bluetooth & devices ➜ AutoPlay ➜ Connection notification (issues connecting USB device)
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Shell\USB" /v "NotifyOnUsbErrors" /t REG_DWORD /d 1 /f
    rem https://www.elevenforum.com/t/turn-on-or-off-notification-if-issues-connecting-usb-in-windows-11.7748/

    rem ---------------------------------------------------------------------------
    rem PERSONALIZATION ➜ Start
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Personalization ➜ Start ➜ Layout
    rem Options: [0 = Default] [1 = More pins] [2 = More recommendations]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_Layout" /t REG_DWORD /d 1 /f
    rem https://www.elevenforum.com/t/change-start-layout-to-show-more-pins-or-more-recommendations-in-windows-11.3148

    rem Start ➜ Settings ➜ Personalization ➜ Start ➜ Show recently added apps
    rem Options: [to enable replace the last line with reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "HideRecentlyAddedApps" /f]
    reg delete "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer" /v "HideRecentlyAddedApps" /f
    rem https://www.elevenforum.com/t/add-or-remove-recently-added-apps-on-start-menu-in-windows-11.1157/
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "HideRecentlyAddedApps" /t REG_DWORD /d 1 /f

    rem Start ➜ Settings ➜ Personalization ➜ Start ➜ Show most used apps
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "ShowOrHideMostUsedApps" /t "REG_DWORD" /d "0x00000002" /f
    rem https://www.elevenforum.com/t/add-or-remove-recently-added-apps-on-start-menu-in-windows-11.1157/
    reg delete "HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "ShowOrHideMostUsedApps" /f
    reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoStartMenuMFUprogramsList" /f
    reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoInstrumentation" /f
    reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoStartMenuMFUprogramsList" /f
    reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoInstrumentation" /f

    rem Start ➜ Settings ➜ Personalization ➜ Start ➜ Show recommended files in Start, recent files in File Explorer, and items in Jump Lists
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackDocs" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-recent-items-in-start-jump-lists-file-explorer-in-windows-11.1161/

    rem Start ➜ Settings ➜ Personalization ➜ Start ➜ Show recommendations for tips, shortcuts, new apps, and more
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_IrisRecommendations" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-recommended-tips-shortcuts-new-apps-and-more-on-start-menu-in-windows-11.14346/

    rem Start ➜ Settings ➜ Personalization ➜ Start ➜ Show account related notifications
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_AccountNotifications" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-notification-badging-for-microsoft-accounts-on-start-menu-in-windows-11.14645/

    rem Start ➜ Settings ➜ Personalization ➜ Start ➜ Folders
    REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Start" /v "VisiblePlaces" /t "REG_BINARY" /d "448175FE0D08AE428BDA34ED97B66394BC248A140CD68942A0806ED9BBA2488286087352AA5143429F7B2776584659D4" /f
    rem https://www.elevenforum.com/t/add-or-remove-folders-on-start-next-to-power-button-in-windows-11.357/

    rem ---------------------------------------------------------------------------
    rem PERSONALIZATION ➜ TASKBAR
    rem ---------------------------------------------------------------------------

    rem Start ➜ Personalization ➜ Taskbar ➜ Taskbar alignment
    rem Options: [0 = Left] [1 = Center]
    rem https://www.elevenforum.com/t/change-taskbar-alignment-in-windows-11.12/
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarAl" /t "REG_DWORD" /d 0 /f

    rem Start ➜ Settings ➜ Personalization ➜ Taskbar ➜ Taskbar items ➜ Search
    rem Options: [0 = disable] [1 = show] [2 = show search box] [2 = show icon and label]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/add-or-remove-search-button-on-taskbar-in-windows-11.1197/

    rem Start ➜ Settings ➜ Personalization ➜ Taskbar ➜ Taskbar items ➜ Task view
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/add-or-remove-task-view-button-on-taskbar-in-windows-11.1037

    rem Start ➜ Settings ➜ Personalization ➜ Taskbar ➜ System tray icons ➜ Pen Menu
    rem Options: [0 = hide pen menu] [1 = show pen menu when in use]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PenWorkspace" /v "PenWorkspaceButtonDesiredVisibility" /t REG_DWORD /d 1 /f
    rem https://www.elevenforum.com/t/show-or-hide-pen-menu-icon-on-taskbar-in-windows-11.5641/

    rem Start ➜ Settings ➜ Personalization ➜ Taskbar ➜ System tray icons ➜ Touch keyboard
    rem Options: [0 = never show] [1 = always show] [2 = show when no keyboard is attached]
    reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\TabletTip\1.7" /v "TipbandDesiredVisibility" /t REG_DWORD /d 2 /f
    rem https://www.elevenforum.com/t/show-or-hide-touch-keyboard-icon-on-taskbar-system-tray-in-windows-11.2866/

    rem Start ➜ Settings ➜ Personalization ➜ Taskbar ➜ System tray icons ➜ Virtual Touchpad
    rem Options: [0 = hide] [1 = show]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Touchpad" /v "TouchpadDesiredVisibility" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/show-or-hide-virtual-touchpad-icon-on-taskbar-in-windows-11.5636/

    rem Hide the "Search" button from the taskbar
    rem Options: [0 = Hide] [1 = Show]
    rem https://www.elevenforum.com/t/add-or-remove-search-button-on-taskbar-in-windows-11.1197/
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t "REG_DWORD" /d 0 /f

    rem Disable "Search" on the taskbar
    rem Options: [0 = Hide] [1 = Show]
    rem https://www.elevenforum.com/t/enable-or-disable-search-on-taskbar-and-start-menu-in-windows-11.8601/
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search" /v "InstalledWin32AppsRevision" /t "REG_SZ" /d "{68C27189-9CFE-4F68-97FB-29D0AFB49068}" /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search" /v "InstalledPackagedAppsRevision" /t "REG_SZ" /d "{FEAE1A90-911F-4196-B5C0-A52C39E23AE1}" /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t "REG_DWORD" /d 0 /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search\JumplistData" /v "windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel" /t "REG_QWORD" /d "0x01DA0F09D3882FB0" /f

    rem Hide the "Task View" button from the taskbar
    rem Options: [0 = Hide] [1 = Show]
    rem https://www.elevenforum.com/t/add-or-remove-task-view-button-on-taskbar-in-windows-11.1037/
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t "REG_DWORD" /d 0 /f

    rem Hide the "Widgets" button from the taskbar
    rem Options: [0 = Hide] [1 = Show]
    rem https://www.elevenforum.com/t/add-or-remove-widgets-button-on-taskbar-in-windows-11.32/
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t "REG_DWORD" /d 0 /f

    rem Hide the "Chat" button from the taskbar
    rem Options: [0 = Hide] [1 = Show]
    rem https://www.elevenforum.com/t/add-or-remove-chat-button-on-taskbar-in-windows-11.696/
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t "REG_DWORD" /d 0 /f

    rem Hide the "Copilot" button from the taskbar
    rem Options: [0 = Hide] [1 = Show]
    rem https://www.elevenforum.com/t/add-or-remove-copilot-button-on-taskbar-in-windows-11.16015/
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowCopilotButton" /t "REG_DWORD" /d 0 /f

    rem ---------------------------------------------------------------------------
    rem PERSONALIZATION ➜ Colors
    rem ---------------------------------------------------------------------------

    REM Make system use dark theme (Windows mode - Make taskbar dark)
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "SystemUsesLightTheme" /t "REG_DWORD" /d 0 /f

    REM Turn off transparency
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "EnableTransparency" /t "REG_DWORD" /d 0 /f

    rem ---------------------------------------------------------------------------
    rem PERSONALIZATION ➜ Background (and desktop)
    rem ---------------------------------------------------------------------------

    rem Disable "Show more options" context menu in Windows 11
    rem https://www.elevenforum.com/t/disable-show-more-options-context-menu-in-windows-11.1589/
    reg add "HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /v "" /d "" /f

    rem Start ➜ Settings ➜ Personalization ➜ Background ➜ Personalize your background
    rem Options: [1 = Disable spotlight] [0 = Enable spotlight] (remember this is an inverted option...)
    reg add "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableSpotlightCollectionOnDesktop" /t REG_DWORD /d 1 /f
    rem https://www.elevenforum.com/t/enable-or-disable-windows-spotlight-on-desktop-background-in-windows-11.18246/

    REM Remove default desktop icons (This PC, Users folder, Network, Recycle bin, Control Panel)
    REM Options: See link for description. "0x00000001=remove shortcut"
    REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /V "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
    rem https://www.tenforums.com/tutorials/6942-add-remove-default-desktop-icons-windows-10-a.html
    REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" /V "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
    REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /V "{59031a47-3f72-44a7-89c5-5595fe6b30ee}" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
    REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" /V "{59031a47-3f72-44a7-89c5-5595fe6b30ee}" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
    REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /V "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
    REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" /V "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
    REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /V "{645FF040-5081-101B-9F08-00AA002F954E}" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
    REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" /V "{645FF040-5081-101B-9F08-00AA002F954E}" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
    REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /V "{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}" /T "REG_DWORD" /D "0x00000001" /F 1>NUL
    REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" /V "{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}" /T "REG_DWORD" /D "0x00000001" /F 1>NUL

    rem Remove default extensions in the "new file" context menu
    REM OPTIONS: "reg delete" to delete the extension. "REG ADD" to add
    rem
    reg delete "HKCR\.accdb\Access.Application.16\ShellNew" /F 1>NUL 2>&1
    reg delete "HKCR\.mdb\ShellNew" /F 1>NUL 2>&1
    reg delete "HKCR\.bmp\ShellNew" /F 1>NUL 2>&1
    reg delete "HKCR\.docx\Word.Document.12\ShellNew" /F 1>NUL 2>&1
    reg delete "HKCR\.xlsx\Excel.Sheet.12\ShellNew" /v "FileName" /T REG_SZ /D "C:\Program Files\Microsoft Office\Root\VFS\Windows\ShellNew\excel12.xlsx" /F 1>NUL 2>&1
    reg delete "HKCR\.pptx\PowerPoint.Show.12\ShellNew" /F 1>NUL 2>&1
    reg delete "HKCR\.pub\Publisher.Document.16\ShellNew" /F 1>NUL 2>&1
    reg delete "HKCR\.rtf\ShellNew" /F 1>NUL 2>&1
    reg delete "HKCR\.zip\CompressedFolder\ShellNew" /F 1>NUL 2>&1
    reg delete "HKCR\.zip\ShellNew" /F 1>NUL 2>&1
    reg delete "HKEY_CLASSES_ROOT\.contact\ShellNew" /F 1>NUL 2>&1

    rem Add file extensions in the "new file" context menu
    rem Add Markdown document
    REG ADD "HKCR\.md" /V "" /D "md" /F 1>NUL
    REG ADD "HKCR\.md\ShellNew" /V "FileName" /T "REG_SZ" /D "" /F 1>NUL
    REG ADD "HKCR\md" /V "" /D "Markdown document" /F 1>NUL
    rem Add Python document
    REG ADD "HKCR\.py" /V "" /D "py" /F 1>NUL
    REG ADD "HKCR\.py\ShellNew" /V "FileName" /T "REG_SZ" /D "" /F 1>NUL
    REG ADD "HKCR\py" /V "" /D "Python script" /F 1>NUL
    rem Add HTML document
    REG ADD "HKCR\.html" /V "" /D "html" /F 1>NUL
    REG ADD "HKCR\.html\ShellNew" /V "FileName" /T "REG_SZ" /D "" /F 1>NUL
    REG ADD "HKCR\html" /V "" /D "HTML document" /F 1>NUL
    rem Add CSS document
    REG ADD "HKCR\.css" /V "" /D "css" /F 1>NUL
    REG ADD "HKCR\.css\ShellNew" /V "FileName" /T "REG_SZ" /D "" /F 1>NUL
    REG ADD "HKCR\css" /V "" /D "CSS file" /F 1>NUL
    rem Add BAT document
    REG ADD "HKCR\.bat" /V "" /D "bat" /F 1>NUL
    REG ADD "HKCR\.bat\ShellNew" /V "FileName" /T "REG_SZ" /D "" /F 1>NUL
    REG ADD "HKCR\bat" /V "" /D "Windows batch file" /F 1>NUL
    rem Restart Explorer to apply
    taskkill /f /im explorer.exe & start explorer.exe

    rem Add "Open elevated PowerShell window here" (Only works in Batch file)
    REM OPTIONS:
    rem https://www.tenforums.com/tutorials/25721-open-elevated-windows-powershell-windows-10-a.html
    REG ADD "HKCR\Directory\Background\shell\PowerShellAsAdmin" /V "" /D "Open PowerShell window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\Directory\Background\shell\PowerShellAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\Background\shell\PowerShellAsAdmin" /V "HasLUAShield" /T "REG_SZ" /D "" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\Background\shell\PowerShellAsAdmin" /V "Icon" /T "REG_SZ" /D "powershell.exe" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\Background\shell\PowerShellAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V ^&^& start PowerShell ^&^& exit' -Verb RunAs\"" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\shell\PowerShellAsAdmin" /V "" /D "Open PowerShell window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\Directory\shell\PowerShellAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\shell\PowerShellAsAdmin" /V "HasLUAShield" /T "REG_SZ" /D "" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\shell\PowerShellAsAdmin" /V "Icon" /T "REG_SZ" /D "powershell.exe" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\shell\PowerShellAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V ^&^& start PowerShell ^&^& exit' -Verb RunAs\"" /F 1>NUL 2>&1
    REG ADD "HKCR\Drive\shell\PowerShellAsAdmin" /V "" /D "Open PowerShell window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\Drive\shell\PowerShellAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\Drive\shell\PowerShellAsAdmin" /V "HasLUAShield" /T "REG_SZ" /D "" /F 1>NUL 2>&1
    REG ADD "HKCR\Drive\shell\PowerShellAsAdmin" /V "Icon" /T "REG_SZ" /D "powershell.exe" /F 1>NUL 2>&1
    REG ADD "HKCR\Drive\shell\PowerShellAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V ^&^& start PowerShell ^&^& exit' -Verb RunAs\"" /F 1>NUL 2>&1
    REG ADD "HKCR\LibraryFolder\Background\shell\PowerShellAsAdmin" /V "" /D "Open PowerShell window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\LibraryFolder\Background\shell\PowerShellAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\LibraryFolder\Background\shell\PowerShellAsAdmin" /V "HasLUAShield" /T "REG_SZ" /D "" /F 1>NUL 2>&1
    REG ADD "HKCR\LibraryFolder\Background\shell\PowerShellAsAdmin" /V "Icon" /T "REG_SZ" /D "powershell.exe" /F 1>NUL 2>&1
    REG ADD "HKCR\LibraryFolder\Background\shell\PowerShellAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V ^&^& start PowerShell ^&^& exit' -Verb RunAs\"" /F 1>NUL 2>&1

    rem Add "Open elevated command window here" (Only works in Batch file)
    REM OPTIONS:
    rem https://www.tenforums.com/tutorials/59686-open-command-window-here-administrator-add-windows-10-a.html
    REG ADD "HKCR\Directory\shell\OpenCmdHereAsAdmin" /V "" /D "Open command window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\Directory\shell\OpenCmdHereAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\shell\OpenCmdHereAsAdmin" /V "Icon" /T "REG_SZ" /D "imageres.dll,-5324" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\shell\OpenCmdHereAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V' -Verb RunAs\"" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\Background\shell\OpenCmdHereAsAdmin" /V "" /D "Open command window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\Directory\Background\shell\OpenCmdHereAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\Background\shell\OpenCmdHereAsAdmin" /V "Icon" /T "REG_SZ" /D "imageres.dll,-5324" /F 1>NUL 2>&1
    REG ADD "HKCR\Directory\Background\shell\OpenCmdHereAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V' -Verb RunAs\"" /F 1>NUL 2>&1
    REG ADD "HKCR\Drive\shell\OpenCmdHereAsAdmin" /V "" /D "Open command window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\Drive\shell\OpenCmdHereAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\Drive\shell\OpenCmdHereAsAdmin" /V "Icon" /T "REG_SZ" /D "imageres.dll,-5324" /F 1>NUL 2>&1
    REG ADD "HKCR\Drive\shell\OpenCmdHereAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V' -Verb RunAs\"" /F 1>NUL 2>&1
    REG ADD "HKCR\LibraryFolder\background\shell\OpenCmdHereAsAdmin" /V "" /D "Open command window here as administrator" /F 1>NUL 2>&1
    REG DELETE "HKCR\LibraryFolder\background\shell\OpenCmdHereAsAdmin" /V "Extended" /F 1>NUL 2>&1
    REG ADD "HKCR\LibraryFolder\background\shell\OpenCmdHereAsAdmin" /V "Icon" /T "REG_SZ" /D "imageres.dll,-5324" /F 1>NUL 2>&1
    REG ADD "HKCR\LibraryFolder\background\shell\OpenCmdHereAsAdmin\command" /V "" /D "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd,%%%V' -Verb RunAs\"" /F 1>NUL 2>&1

    REM ----------------------------------------------------------------------------------------------------------
    REM Visual performance options
    REM ----------------------------------------------------------------------------------------------------------

    rem Disable Desktop Wallpaper JPEG Quality Reduction
    reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "JPEGImportQuality" /t REG_DWORD /d "0x00000064" /f
    rem https://www.elevenforum.com/t/disable-desktop-wallpaper-jpeg-quality-reduction-in-windows-11.10782/

    rem Show window contents while dragging
    rem Optopns: 1 = On 0 = Off
    rem https://www.elevenforum.com/t/enable-or-disable-show-window-contents-while-dragging-in-windows-11.6560/
    reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v DragFullWindows /t REG_SZ /d 1 /f

    rem Smooth edges of screen fonts
    rem Optopns: 2 = On 0 = Off
    rem https://www.elevenforum.com/t/enable-or-disable-font-smoothing-in-windows-11.8476/
    reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v FontSmoothing /t REG_SZ /d 2 /f

    rem Show borders on Windows (NOTE: This is a combination of multiple settings)
    rem Optopns: 9032078010000000 =
    rem ❌ Animate controls and elements inside windows
    rem ❌ Animate windows when minimizing and maximizing
    rem ❌ Animations in the taskbar
    rem ❌ Enable Peek
    rem ❌ Fade or slide menus into view
    rem ❌ Fade or slide ToolTips into view
    rem ❌ Fade out menu items after clicking
    rem ❌ Save taskbar thumbnail previews
    rem ✔ Show shadows under mouse pointer
    rem ✔ Show shadows under windows
    rem ✔ Show thumbnails instead of icons
    rem ✔ Show translucent selection rectangle
    rem ✔ Show window contents while dragging
    rem ❌ Slide open combo boxes
    rem ✔ Smooth edges of screen fonts
    rem ❌ Smooth-scroll list boxes
    rem ✔ Use drop shadows for icon labels on the desktop
    rem https://www.tenforums.com/tutorials/6377-change-visual-effects-settings-windows-10-a.html#option4
    reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v UserPreferencesMask /t REG_BINARY /d 9032078010000000 /f

    rem Start ➜ Settings ➜ Accessibility ➜ Visual Effects ➜ Animation effects (Animate Windows when Minimizing and Maximizing)
    rem Options: [1 = Enable] [0 = Disable]
    rem https://www.tenforums.com/tutorials/126788-enable-disable-animate-windows-when-minimizing-maximizing.html
    reg add "HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics" /v MinAnimate /t REG_SZ /d 0 /f

    rem ---------------------------------------------------------------------------
    rem NOTIFICATIONS
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Notifications ➜ Notifications ➜ Show recently added apps
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications" /v "ToastEnabled" /t REG_DWORD /d 1 /f

    rem Start ➜ Settings ➜ Notifications ➜ Notifications ➜ Allow notifications to play sounds
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "NOC_GLOBAL_SETTING_ALLOW_NOTIFICATION_SOUND" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Notifications ➜ Notifications ➜ Show notifications on the lock screen
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "NOC_GLOBAL_SETTING_ALLOW_TOASTS_ABOVE_LOCK" /t REG_DWORD /d 0 /f
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications" /v "LockScreenToastEnabled" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Notifications ➜ Notifications ➜ Show reminders and incoming VoIP calls on the lock screen
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "NOC_GLOBAL_SETTING_ALLOW_CRITICAL_TOASTS_ABOVE_LOCK" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Notifications ➜ Notifications ➜ Show reminders and incoming VoIP calls on the lock screen
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "NOC_GLOBAL_SETTING_ALLOW_CRITICAL_TOASTS_ABOVE_LOCK" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Notifications ➜ Additional settings ➜ suggest ways to get the most out of windows and finish setting up this device
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "ScoobeSystemSettingEnabled" /t REG_DWORD /d 0 /f

    rem ---------------------------------------------------------------------------
    rem WINDOWS BACKUP
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Accounts ➜ Windows Backup
    rem Options: [0 = Show 20 most recent tabs] [1 = Show 5 most recent tabs] [2 = Show 3 most recent tabs] [3 = Don't show tabs]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "MultiTaskingAltTabFilter" /t REG_DWORD /d 3 /f
    rem https://www.elevenforum.com/t/turn-on-or-off-remember-apps-for-microsoft-account-across-windows-11-devices.4249/

    rem ---------------------------------------------------------------------------
    rem SOUND SCHEME
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Sound ➜ More sound settings ➜ Sounds ➜ Sound scheme
    rem Options: [.Default = Windows Default] [.None = No sounds]
    reg add "HKEY_CURRENT_USER\AppEvents\Schemes" /v "" /d ".None" /f

    rem ---------------------------------------------------------------------------
    rem SYSTEM ➜ MULTITASKING
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Multitasking ➜ Snap Windows
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "WindowArrangementActive" /t REG_SZ /d 1 /f

    rem Start ➜ Settings ➜ Multitasking ➜ When I snap a window, suggest what I can snap next to it
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "SnapAssist" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Multitasking ➜ Show snap layouts when I hover over a window's maximize button
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "EnableSnapAssistFlyout" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Multitasking ➜ Show snap layouts when I drag a window to the top of my screen
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "EnableSnapBar" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Multitasking ➜ Show my snapped windows when I hover over taskbar apps, in Task View, and when I press Alt+Tab
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "EnableTaskGroups" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Multitasking ➜ When I drag a window let me snap it without dragging all the way to the screen edge
    rem Options: [0 = disable] [1 = enable]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "DITest" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Multitasking ➜ Show tabs from apps when snapping or pressing Alt+Tab
    rem Options: [0 = Show 20 most recent tabs] [1 = Show 5 most recent tabs] [2 = Show 3 most recent tabs] [3 = Don't show tabs]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "MultiTaskingAltTabFilter" /t REG_DWORD /d 3 /f
    rem https://www.elevenforum.com/t/change-what-alt-tab-shows-in-windows-11.3836

    rem Start ➜ Settings ➜ Multitasking ➜ Show all open windows when I press Alt+Tab
    rem Options: [0 = On all desktops] [0 = Only the desktop I'm using]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "VirtualDesktopTaskbarFilter" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Multitasking ➜ Show all open windows when I press Alt+Tab
    rem Options: [0 = On all desktops] [0 = Only the desktop I'm using]
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "VirtualDesktopAltTabFilter" /t REG_DWORD /d 0 /f

    rem Start ➜ Settings ➜ Multitasking ➜ Title bar window shake (previously NoWindowMinimizingShortcuts)
    rem Options: [0 = Enable] [1 = Disable] (remember this is an inverted option...)
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "DisallowShaking" /t REG_DWORD /d 1 /f

    rem ---------------------------------------------------------------------------
    rem GAMING
    rem ---------------------------------------------------------------------------

    rem Start ➜ Settings ➜ Gaming ➜ Game Bar ➜ Allow your controller to open Game Bar
    rem Options: [0 = Disable] [1 = Enable]
    reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\GameBar" /v "UseNexusForGameBarEnabled" /t REG_DWORD /d 0 /f
    rem https://www.elevenforum.com/t/enable-or-disable-open-game-bar-using-xbox-button-on-controller-in-windows-11.4290/

    rem ----------------------------------------------------------------------------------------------------------
    rem Security settings
    rem ----------------------------------------------------------------------------------------------------------

    rem Enable XTS-AES 256-bit BitLocker encryption for all drives
    rem https://www.elevenforum.com/t/change-bitlocker-drive-encryption-method-in-windows-11.25095/
    rem OPTIONS:
    reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "EncryptionMethodWithXtsOs" /t "REG_DWORD" /d 7 /f
    reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "EncryptionMethodWithXtsFdv" /t "REG_DWORD" /d 7 /f
    reg add "HKLM\SOFTWARE\Policies\Microsoft\FVE" /v "EncryptionMethodWithXtsRdv" /t "REG_DWORD" /d 7 /f

    rem ---------------------------------------------------------------------------
    rem REMOVE OPTIONAL FEATURES
    rem ---------------------------------------------------------------------------

    rem Check installed features with: DISM /Online /Get-Capabilities

    rem Remove Windows Optional Feature: WordPad
    dism /Online /NoRestart /Remove-Capability /CapabilityName:Microsoft.Windows.WordPad~~~~0.0.1.0

    rem Remove Windows Optional Feature: PowerShell ISE
    rem DISM /Online /NoRestart /Remove-Capability /CapabilityName:Microsoft.Windows.PowerShell.ISE~~~~0.0.1.0

    rem Remove Windows Optional Feature: Notepad
    rem DISM /Online /NoRestart /Remove-Capability /CapabilityName:Microsoft.Windows.Notepad.System~~~~0.0.1.0

    rem Remove Windows Optional Feature: Notepad (App)
    rem DISM /Online /NoRestart /Remove-Capability /CapabilityName:Microsoft.Windows.Notepad~~~~0.0.1.0

    rem Remove Windows Optional Feature: Extended Theme Content
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:Microsoft.Wallpapers.Extended~~~~0.0.1.0

    rem Remove Windows Optional Feature: Facial Recognition (Windows Hello)
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:Hello.Face.20134~~~~0.0.1.0

    rem Remove Windows Optional Feature: Internet Explorer mode
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:Browser.InternetExplorer~~~~0.0.11.0

    rem Remove Windows Optional Feature: Math Recognizer
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:MathRecognizer~~~~0.0.1.0

    rem Remove Windows Optional Feature: OpenSSH Client
    rem DISM /Online /NoRestart /Remove-Capability /CapabilityName:OpenSSH.Client~~~~0.0.1.0

    rem Remove Windows Optional Feature: Print Management
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:Print.Management.Console~~~~0.0.1.0

    rem Remove Windows Optional Feature: Steps Recorder
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:App.StepsRecorder~~~~0.0.1.0

    rem Remove Windows Optional Feature: WMIC
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:WMIC~~~~

    rem Remove Windows Optional Feature: Windows Media Player Legacy
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:Media.WindowsMediaPlayer~~~~0.0.12.0

    rem Remove Windows Optional Feature: VBSCRIPT
    DISM /Online /NoRestart /Remove-Capability /CapabilityName:VBSCRIPT~~~~

    rem ---------------------------------------------------------------------------
    rem TURN OFF WINDOWS FEATURES
    rem ---------------------------------------------------------------------------

    rem Check installed features with: dism /online /Get-Features

    rem Turn off Windows feature: Print and Document Services
    dism /Online /Disable-Feature /FeatureName:"Printing-Foundation-Features" /NoRestart

    rem Turn off Windows feature: Remote Differential Compression
    DISM /online /disable-feature /featurename:"MSRDC-Infrastructure" /NoRestart

    rem Turn off Windows feature: Work Folder Client
    dism /Online /Disable-Feature /FeatureName:"WorkFolders-Client" /NoRestart

    rem Turn off Windows feature: Windows PowerShell 2.0
    dism /Online /Disable-Feature /FeatureName:"MicrosoftWindowsPowerShellV2" /NoRestart
    dism /Online /Disable-Feature /FeatureName:"MicrosoftWindowsPowerShellV2Root" /NoRestart

    rem Turn off Windows feature: Media Features
    dism /Online /Disable-Feature /FeatureName:"MediaPlayback" /NoRestart

    rem Turn off Windows feature: MPrint to PDF
    rem dism /Online /Disable-Feature /FeatureName:"Printing-PrintToPDFServices-Features" /NoRestart

    rem Turn off Windows feature: SMB Direct
    rem dism /Online /Disable-Feature /FeatureName:"SmbDirect" /NoRestart

    rem Turn off Windows feature: .NET Framework 4.8 Advanced Services
    rem dism /Online /Disable-Feature /FeatureName:"NetFx4-AdvSrvs" /NoRestart

    rem ---------------------------------------------------------------------------
    rem UNINSTALL INSTALLED APPLICATIONS
    rem ---------------------------------------------------------------------------

    rem Find apps with dism /online /Get-Capabilities
    rem Reinstall using /Add-Capability instead of /Remove-Capability

    rem Snipping Tool
    dism /online /Remove-Capability /CapabilityName:Microsoft.Windows.SnippingTool~~~~0.0.1.0 /NoRestart

    rem Remove Paint
    dism /online /Remove-Capability /CapabilityName:Microsoft.Windows.MSPaint~~~~0.0.1.0 /NoRestart

    REM ---------------------------------------------------------------------------
    REM ### Prompt the user to confirm the restart
    REM ---------------------------------------------------------------------------
    set /p confirm=Do you want to restart the computer? (Y/N):

    :: Check the user's input
    if /i "%confirm%"=="Y" (
    echo Restarting the computer...
    shutdown /r /t 0
    ) else (
    echo Computer will not be restarted.
    )