Windows 11 Tweaks, Fixes and Modifications [Overview]

Discussion in 'Windows 11' started by Enthousiast, Jul 1, 2021.

  1. tistou77

    tistou77 MDL Guru

    Mar 22, 2008
    2,006
    644
    90
    @xploitmachine It doesn't work, I tested with the Favorites directory, and the icon is replaced by yellow (Windows icon)

    xcopy D:\Tests\Favorites C:\Users\tistou\Favorites /s /e /h
     
  2. Shortyportuguese

    Shortyportuguese MDL Addicted

    Apr 3, 2019
    548
    171
    30
    Anyone knows how to uninstall "clicktodo" feature?
     
  3. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,430
    6,460
    150
    Didn't break any updates yet
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Shortyportuguese

    Shortyportuguese MDL Addicted

    Apr 3, 2019
    548
    171
    30
    The H3als tool worked fine, but the second tool is also good?
     
  5. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,430
    6,460
    150
    If it wasn't good
    I wasn't recommend it
    Didn't break any updates
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Shortyportuguese

    Shortyportuguese MDL Addicted

    Apr 3, 2019
    548
    171
    30
    Thanks, This code also not breaking updates too?

    Code:
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\MicrosoftWindows.Client.AIX_cw5n1h2txyewy" /f >NUL 2>&1
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\MicrosoftWindows.Client.AIX_cw5n1h2txyewy" /ve /t REG_SZ /d "" /f >NUL 2>&1
    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\MicrosoftWindows.Client.AIX_cw5n1h2txyewy" /f >NUL 2>&1
    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\MicrosoftWindows.Client.AIX_cw5n1h2txyewy" /ve /t REG_SZ /d "" /f >NUL 2>&1
    powershell-Command "Get-AppxProvisionedPackage -Online | Where-Object {$_.packagename -like '*Client.AIX*'} | Remove-AppxProvisionedPackage -Online" >NUL 2>&1
    powershell-noprofile -executionpolicy bypass -command "Get-WmiObject -Query 'select * from Win32_Product where Name like \"%%%%Client.AIX%%%%\"' | ForEach-Object { ($_).Uninstall()}" >NUL 2>&1
    powershell-noprofile -executionpolicy bypass -command "Get-AppxPackage -Name *Client.AIX* -AllUsers | Foreach {Remove-AppxPackage $_.PackageFullName -AllUsers}" >NUL 2>&1
    powershell-noprofile -executionpolicy bypass -command "Get-ProvisionedAppxPackage -Online | Where-Object { $_.PackageName -match 'Client.AIX' } | ForEach-Object { Remove-ProvisionedAppxPackage -Online -AllUsers -PackageName $_.PackageName }" >NUL 2>&1
    powershell-noprofile -executionpolicy bypass -command "Get-ProvisionedAppxPackage -Online | Where-Object { $_.PackageName -match 'Client.CoPilot' } | ForEach-Object { Remove-ProvisionedAppxPackage -Online -AllUsers -PackageName $_.PackageName }" >NUL 2>&1
    powershell-noprofile -executionpolicy bypass -command "Get-ProvisionedAppxPackage -Online | Where-Object { $_.PackageName -match 'Ai.Copilot.Provider' } | ForEach-Object { Remove-ProvisionedAppxPackage -Online -AllUsers -PackageName $_.PackageName }" >NUL 2>&1
    powershell-noprofile -executionpolicy bypass -command "Get-ProvisionedAppxPackage -Online | Where-Object { $_.PackageName -match 'Copilot' } | ForEach-Object { Remove-ProvisionedAppxPackage -Online -AllUsers -PackageName $_.PackageName }" >NUL 2>&1
    powershell-noprofile -executionpolicy bypass -command "Remove-Item -Path "$env:LOCALAPPDATA\CoreAIPlatform*" -Force -Recurse -ErrorAction SilentlyContinue" >NUL 2>&1
    reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "DisableAIDataAnalysis" /t REG_DWORD /d "1" /f >nul 2>&1
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "DisableAIDataAnalysis" /t REG_DWORD /d "1" /f >nul 2>&1
    reg add "HKCU\Software\Policies\Microsoft\Windows\WindowsCopilot" /v "TurnOffWindowsCopilot" /t REG_DWORD /d "1" /f >nul 2>&1
    reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsCopilot" /v "TurnOffWindowsCopilot" /t REG_DWORD /d "1" /f >nul 2>&1
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "AllowTemporaryEnterpriseFeatureControl" /t REG_DWORD /d "0" /f >nul 2>&1
    reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\Appx" /v "MdmHosts" /f >nul 2>&1
    powershell-Command "Remove-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\Appx" -Name "MdmHosts" -Force" >NUL 2>&1
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Appx" /f >nul 2>&1
    powershell-Command "Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\Appx" -Name "RestrictAppDataToSystemVolume" -Type DWORD -Value "1" -Force" >NUL 2>&1
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\MDM" /v "DisableRegistration" /t REG_DWORD /d "1" /f >nul 2>&1
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\MDM" /v "AutoEnrollMDM" /t REG_DWORD /d "0" /f >nul 2>&1
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer" /f >nul 2>&1
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "HideCopilotButton" /t REG_DWORD /d "1" /f >nul 2>&1
    reg add "HKLM\SOFTWARE\Microsoft\PolicyManager\default\Start\HideCopilotButton" /v "value" /t REG_DWORD /d "1" /f >nul 2>&1
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowCopilotButton" /t REG_DWORD /d "0" /f >nul 2>&1
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "DisableSearchBoxSuggestions" /t REG_DWORD /d "1" /f >nul 2>&1
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot" /v "TurnOffWindowsCopilot" /t REG_DWORD /d "1" /f >nul 2>&1
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HubsSidebarEnabled" /t REG_DWORD /d "0" /f >nul 2>&1
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowCopilotButton" /t REG_DWORD /d "0" /f >nul 2>&1
    reg add "HKCU\Software\Microsoft\input\Settings" /v "InsightsEnabled" /t REG_DWORD /d "0" /f >nul 2>&1
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "CopilotCDPPageContext" /t REG_DWORD /d "0" /f >nul 2>&1
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "CopilotPageContext" /t REG_DWORD /d "0" /f >nul 2>&1
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "DiscoverPageContextEnabled" /t REG_DWORD /d "0" /f >nul 2>&1
    powershell-ExecutionPolicy Unrestricted -Command "$data = '0';reg add 'HKLM\Software\Microsoft\Windows\Shell\Copilot\BingChat' /v 'IsUserEligible' /t 'REG_DWORD' /d "^""$data"^"" /f" >nul 2>&1
    powershell-ExecutionPolicy Unrestricted -Command "$data = '0';reg add 'HKCU\Software\Microsoft\Windows\Shell\Copilot\BingChat' /v 'IsUserEligible' /t 'REG_DWORD' /d "^""$data"^"" /f" >nul 2>&1
    powershell-ExecutionPolicy Unrestricted -Command "$data = '0';reg add 'HKLM\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings' /v 'AutoOpenCopilotLargeScreens' /t 'REG_DWORD' /d "^""$data"^"" /f" >nul 2>&1
    powershell-ExecutionPolicy Unrestricted -Command "$data = '0';reg add 'HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings' /v 'AutoOpenCopilotLargeScreens' /t 'REG_DWORD' /d "^""$data"^"" /f" >nul 2>&1
    >nul 2>&1 dism.exe /online /disable-feature /FeatureName:recall /noRestart
    >nul 2>&1 reg add "HKCU\Software\Microsoft\Windows\Shell\Copilot" /f /v IsCopilotAvailable /t reg_dword /d 00000000
    >nul 2>&1 reg add "HKCU\Software\Microsoft\Windows\Shell\Copilot\BingChat" /f /v IsUserEligible /t reg_dword /d 00000000
    >nul 2>&1 reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /f /v DisableAIDataAnalysis /t reg_dword /d 00000001
    >nul 2>&1 reg add "HKCU\Software\Policies\Microsoft\Windows\WindowsCopilot" /f /v TurnOffWindowsCopilot /t reg_dword /d 00000001
    >nul 2>&1 reg add "HKCU\Software\Microsoft\Windows\Shell\Copilot" /f /v CopilotDisabledReason /t REG_SZ /d "FeatureIsDisabled"
    pause
     
  7. xploitmachine

    xploitmachine MDL Member

    Sep 15, 2023
    213
    120
    10
    I guess you'r original Favourites folder's icon is pointing somewhere else .. is there any screenshot of the original picture for source Favourites folder?
     
  8. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream
    Staff Member

    Dec 21, 2012
    7,137
    8,522
    240
    Folder icons are defined in desktop.ini inside the folder. desktop.ini is super-hidden. Make sure it is copied, too.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. tistou77

    tistou77 MDL Guru

    Mar 22, 2008
    2,006
    644
    90
    I'll take a screenshot

    The original desktop.ini file in the folder is preserved, which is why I don't understand why the icon is changing.
     
  10. GrofLuigi

    GrofLuigi MDL Senior Member

    Sep 17, 2016
    338
    898
    10
    For the built-in folders (Shell Folders) the icon is stored in the registry, I guess it takes precedence over desktop.ini.

    Favorites:

    [HKEY_CLASSES_ROOT\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\DefaultIcon]
    @=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c,69,\
    6d,61,67,65,72,65,73,2e,64,6c,6c,2c,2d,31,30,32,34,00

    (Win7 here, but it should be the same)
     
  11. tistou77

    tistou77 MDL Guru

    Mar 22, 2008
    2,006
    644
    90
    A simple xcopy command shouldn't change the icon, I think (in the registry or otherwise)
    Especially since there's no problem with a simple copy/paste
     
  12. Fowler

    Fowler MDL Member

    Apr 1, 2013
    133
    108
    10
    The desktop.ini is a text file.
    It contains the path to the icon file or the file containing the icon.
    If it is copied, the file access path must also be changed.
    desktop_ini.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,280
    1,197
    60
    Windows "remembers" icon even after clean install as long as the path of the icon is unchanged. I believe, it is stored in each shortcut, since sometimes I remove bothersome desktop.ini
     

    Attached Files:

  14. acyuta

    acyuta MDL Expert

    Mar 8, 2010
    1,710
    398
    60
    Earlier, one could make changes to fonts of icons, palette titles, menu etc. Both fonts could be changed from segoe ui to anything and even the size. With recent versions of 26100, 26120, 26200, that is no longer the case. One can make the changes but they do not persist after reboot or log-off. Example, I want to change globally to Leelawadee UI 13 but cant do so persistently.

    Any ideas.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Super Spartan

    Super Spartan MDL Expert

    May 30, 2014
    1,770
    1,024
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...