Windows 11 Tweaks, Fixes and Modifications [Overview]

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

  1. freddie-o

    freddie-o MDL Addicted

    Jul 29, 2009
    899
    1,147
    30
    #301 freddie-o, Aug 16, 2021
    Last edited: Dec 8, 2021 at 14:25
    REMOVED the script to permanently disable Windows Defender ONLINE
    This script can only work if applied OFFLINE (mounting the install.wim amf loading the Registry hives)
    The ONLINE script does not work 100% due to Windows restrictions in modifying the Registry.
    Below is the OFFLINE script to permanently disable Windows Defender

    Code:
    @echo off
    
    rem == create mount folder ==
    mkdir mount
    
    rem == mount install.wim ==
    dism /mount-wim /wimfile:install.wim /index:1 /mountdir:mount
    
    rem == modify the registry ==
    rem == disable windows defender, notifications, updates and malicious software removal tool ==
    reg load HKLM\SOFTHIVE mount\Windows\System32\config\SOFTWARE
    reg add "HKLM\SOFTHIVE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d "1" /f
    reg add "HKLM\SOFTHIVE\Policies\Microsoft\Windows Defender Security Center\Systray" /v "HideSystray" /t REG_DWORD /d "1" /f
    reg add "HKLM\SOFTHIVE\Policies\Microsoft\Windows Defender Security Center\Notifications" /v "DisableNotifications" /t REG_DWORD /d "1" /f
    reg add "HKLM\SOFTHIVE\Policies\Microsoft\Windows Defender Security Center\Notifications" /v "DisableEnhancedNotifications" /t REG_DWORD /d "1" /f
    reg add "HKLM\SOFTHIVE\Policies\Microsoft\MRT" /v "DontReportInfectionInformation" /t REG_DWORD /d "1" /f
    reg add "HKLM\SOFTHIVE\Policies\Microsoft\MRT" /v "DontOfferThroughWUAU" /t REG_DWORD /d "1" /f
    reg delete "HKLM\SOFTHIVE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\MRT.exe" /f
    
    rem == delete windows defender scheduled tasks ==
    reg delete "HKLM\SOFTHIVE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\Windows Defender" /f
    
    rem == disable smartscreen ==
    reg add "HKLM\SOFTHIVE\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /t REG_DWORD /d "0" /f
    reg add "HKLM\SOFTHIVE\Microsoft\PolicyManager\default\Browser\AllowSmartScreen" /v "value" /t REG_DWORD /d "0" /f
    reg add "HKLM\SOFTHIVE\Microsoft\Windows\CurrentVersion\Explorer" /v "SmartScreenEnabled" /t REG_SZ /d "Off" /f
    reg add "HKLM\SOFTHIVE\Policies\Microsoft\Windows Defender\SmartScreen" /v "ConfigureAppInstallControlEnabled" /t REG_DWORD /d "1" /f
    reg add "HKLM\SOFTHIVE\Policies\Microsoft\Windows Defender\SmartScreen" /v "ConfigureAppInstallControl" /t REG_SZ /d "Anywhere" /f
    reg add "HKLM\SOFTHIVE\Policies\Microsoft\Internet Explorer\PhishingFilter" /v "Enabled" /t REG_DWORD /d "0" /f
    reg add "HKLM\SOFTHIVE\Policies\Microsoft\Internet Explorer\PhishingFilter" /v "EnabledV8" /t REG_DWORD /d "0" /f
    reg add "HKLM\SOFTHIVE\Policies\Microsoft\Internet Explorer\PhishingFilter" /v "EnabledV9" /t REG_DWORD /d "0" /f
    reg add "HKLM\SOFTHIVE\Policies\Microsoft\MicrosoftEdge\PhishingFilter" /v "EnabledV9" /t REG_DWORD /d "0" /f
    reg add "HKLM\SOFTHIVE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\3" /v "2301" /t REG_DWORD /d "3" /f
    reg unload HKLM\SOFTHIVE
    
    rem == delete windefend service ==
    reg load HKLM\SYSHIVE mount\Windows\System32\config\SYSTEM
    reg delete "HKLM\SYSHIVE\ControlSet001\Services\WinDefend" /f
    reg unload HKLM\SYSHIVE
    
    rem == disable smartscreen for store and apps ==
    reg load HKLM\NTUSER mount\Users\Default\NTUSER.DAT
    reg add "HKLM\NTUSER\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v "EnableWebContentEvaluation" /t REG_DWORD /d "0" /f
    reg add "HKLM\NTUSER\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v "PreventOverride" /t REG_DWORD /d "1" /f
    reg add "HKLM\NTUSER\SOFTWARE\Microsoft\Windows Security Health\State" /v "AppAndBrowser_StoreAppsSmartScreenOff" /t REG_DWORD /d "0" /f
    
    rem == disable smartscreen for microsoft edge ==
    reg add "HKLM\NTUSER\SOFTWARE\Microsoft\Edge\SmartScreenEnabled" /ve /t REG_DWORD /d "0" /f
    reg add "HKLM\NTUSER\SOFTWARE\Microsoft\Edge\SmartScreenPuaEnabled" /ve /t REG_DWORD /d "0" /f
    reg add "HKLM\NTUSER\SOFTWARE\Microsoft\Windows Security Health\State" /v "AppAndBrowser_EdgeSmartScreenOff" /t REG_DWORD /d "0" /f
    reg unload HKLM\NTUSER
    rem == done editing registry ==
    
    rem == unmount wim ==
    dism /unmount-wim /mountdir:mount /commit
    
    rem == delete mount folder ==
    rd /s /q mount
    
    pause
    exit
    
     
  2. (\_/)^(\_/)

    (\_/)^(\_/) MDL Member

    May 31, 2020
    1,588
    1,336
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Xtreme21

    Xtreme21 MDL Addicted

    Jun 21, 2021
    689
    1,001
    30
    Never mind, deleted, can't be bothered. Bizarre!
     
  4. (\_/)^(\_/)

    (\_/)^(\_/) MDL Member

    May 31, 2020
    1,588
    1,336
    60
    I dont want to argue so pl spare me.

    @drew84 brother thanks a lot .
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. freddie-o

    freddie-o MDL Addicted

    Jul 29, 2009
    899
    1,147
    30
    #305 freddie-o, Aug 16, 2021
    Last edited: Aug 16, 2021
    This script Disables SmartScreen, turns off Windows Defender, removes the "WinDefend" service and scheduled tasks -- preventing it from running again.




     
  6. (\_/)^(\_/)

    (\_/)^(\_/) MDL Member

    May 31, 2020
    1,588
    1,336
    60
    Ok Brother Thanks.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. chaython

    chaython MDL Novice

    Oct 2, 2011
    25
    10
    0
    shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9} doesn't seem to do anything.
     
  8. cuteee

    cuteee MDL Guru

    Oct 13, 2012
    5,180
    838
    180
    It's open "Taskbar corner overflow" (In Settings➡Personalization➡Taskbar).
     
  9. (\_/)^(\_/)

    (\_/)^(\_/) MDL Member

    May 31, 2020
    1,588
    1,336
    60
    it does the job in a crystal clear way as it opens a taskbar notification windows from where user can set taskbar tray icons according to his or her needs.
    hence that shell command does the job clearly.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,089
    1,670
    60
    Have refrained from sharing anything compiled by you (as per your wishes) , except from pointing to @wilenty's page as I did Here
    It is easy enough for users to grab said code and have a close look at it... apparently still works, as referred to:
    ... as stated previously, understand your point of view, but a lot of the issue(s) is(are) down to Culture/Language differences,... stuff lost (misunderstood) in translation

    rather than enpowering users (that have offended you) by continuing to harp on the past, better to ignore and get back to being the person I know you to be.
     
  11. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    38,300
    66,608
    450
    Are you banned on mdl? Iirc you were disk2019 or something before, were you banned when you changed to mdl052020?

    Afaik, you were banned from the chat for obvious reasons, over 150 complaints i heard.

    You have asked numerous times for your current account to be deleted and, sadly it never happened, most likely so the staff knows who is who and not seeing another account behaving like you do.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. (\_/)^(\_/)

    (\_/)^(\_/) MDL Member

    May 31, 2020
    1,588
    1,336
    60
    No Comments .
    Reason : N/A
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. BAU

    BAU MDL Expert

    Feb 10, 2009
    1,234
    3,290
    60
    why struggle with subpar /cumbersome / destructive / closed-source solutions for Defender, when the awesome ToggleDefender script does the job more conveniently (can simply enter code in powershell console)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Shuren Inferno

    Shuren Inferno MDL Novice

    Oct 31, 2012
    7
    1
    0
    Windows 11 Bypass option is gone in delivery optimization group policy is there some tweak to get it back?
     
  15. lesbryce

    lesbryce MDL Novice

    Aug 13, 2021
    6
    6
    0
    Because some people may be blind in their left eye.
     
  16. (\_/)^(\_/)

    (\_/)^(\_/) MDL Member

    May 31, 2020
    1,588
    1,336
    60
    Hahahaha such a great joke :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...