1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Try the below commands, do change the file of appx to match with the one with you.

    Code:
    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /v "AllowAllTrustedApps" /t REG_DWORD /d "1"
    Dism /Online /Add-ProvisionedAppxPackage /PackagePath:NVIDIACorp.NVIDIAControlPanel_8.1.956.0_x64__56jybvy8sckqj.appxbundle /SkipLicense
    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /v "AllowAllTrustedApps" /t REG_DWORD /d "0"
    


     
  2. xCyBx

    xCyBx MDL Senior Member

    Aug 6, 2018
    368
    747
    10
  3. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    491
    284
    10
    Thanks for the suggestion.

    Please forgive me if I misunderstand. The goal is not to install MS Store (hell no!), so that I can download the UWP nVidia control panel. tbh, I'd rather keep the legacy control panel. It's more trustworthy than any MS UWP app. I believe if I kept Desktop App Installer component I could also achieve the same thing as you've suggested above (please correct me if I;m wrong). But it's always good to have more than one way to skin a cat :)

    I'm just really peeved at M$ for forcing people to use useless UWP apps that are waste people's time "buying" off store and downloading. It's just a convoluted over complicated process that from an end user perspective achieves absolutely nothing useful, making a simple process of upgrading one's graphics drivers a nightmare. </endrant>

    I guess I'm going to have to add back the Desktop App installer into my Windows and the image I install from :(

    @MSMG I'll give your suggestion a go later today.
     
  4. hxlio0

    hxlio0 MDL Novice

    Jan 14, 2020
    15
    0
    0
    Tweaks to disable Windows Defender do not work, I checked several times.

    What to do?
     
  5. xCyBx

    xCyBx MDL Senior Member

    Aug 6, 2018
    368
    747
    10
    #13865 xCyBx, Jan 19, 2020
    Last edited: Jan 19, 2020
    Try this code:

    for MSMG Toolkit
    Code:
    Windows Registry Editor Version 5.00
    
    [-HKEY_LOCAL_MACHINE\TK_SOFTWARE\Classes\*\shellex\ContextMenuHandlers\EPP]
    
    [-HKEY_LOCAL_MACHINE\TK_SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\EPP]
    
    [-HKEY_LOCAL_MACHINE\TK_SOFTWARE\Classes\Drive\shellex\ContextMenuHandlers\EPP]
    
    [-HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows Security Health]
    
    [-HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows Defender Security Center]
    
    [-HKEY_LOCAL_MACHINE\TK_SYSTEM\ControlSet001\Control\WMI\AutoLogger\DefenderApiLogger]
    
    [-HKEY_LOCAL_MACHINE\TK_SYSTEM\ControlSet001\Control\WMI\AutoLogger\DefenderAuditLogger]
    
    [HKEY_LOCAL_MACHINE\TK_NTUSER\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost]
    "SmartScreenEnabled"="Off"
    "EnableWebContentEvaluation"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\TK_NTUSER\SOFTWARE\Microsoft\Windows Security Health\State]
    "AccountProtection_MicrosoftAccount_Disconnected"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost]
    "EnableWebContentEvaluation"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
    "SmartScreenEnabled"="Off"
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows Defender\Features]
    "TamperProtection"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Policies\Microsoft\MRT]
    "DontOfferThroughWUAU"=dword:00000001
    "DontReportInfectionInformation"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Policies\Microsoft\Windows\System]
    "EnableSmartScreen"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
    "DeferUpdatePeriod"=dword:00000000
    "DeferUpgrade"=dword:00000001
    "DeferUpgradePeriod"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
    "AUOptions"=dword:00000002
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Policies\Microsoft\Windows Defender]
    "DisableAntiSpyware"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Policies\Microsoft\Windows Defender\MpEngine]
    "MpEnablePus"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Policies\Microsoft\Windows Defender\Policy Manager]
    "AllowBehaviorMonitoring"=dword:00000002
    "AllowCloudProtection"=dword:00000000
    "AllowRealtimeMonitoring"=dword:00000000
    "SubmitSamplesConsent"=dword:00000002
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection]
    "DisableBehaviorMonitoring"=dword:00000001
    "DisableRealtimeMonitoring"=dword:00000001
    "DisableOnAccessProtection"=dword:00000001
    "DisableScanOnRealtimeEnable"=dword:00000001
    "DisableIOAVProtection"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Policies\Microsoft\Windows Defender\Reporting]
    "DisableEnhancedNotifications"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Policies\Microsoft\Windows Defender\SmartScreen]
    "ConfigureAppInstallControlEnabled"=dword:00000001
    "ConfigureAppInstallControl"="Anywhere"
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Policies\Microsoft\Windows Defender\Spynet]
    "SpyNetReporting"=dword:00000000
    "SubmitSamplesConsent"=dword:00000002
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Policies\Microsoft\Windows Defender\UX Configuration]
    "Notification_Suppress"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Systray]
    "HideSystray"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer]
    "SmartScreenEnabled"="Off"
    
    [HKEY_LOCAL_MACHINE\TK_SYSTEM\ControlSet001\Services\SecurityHealthService]
    "Start"=dword:00000004
    
    [HKEY_LOCAL_MACHINE\TK_SYSTEM\ControlSet001\Services\Sense]
    "Start"=dword:00000004
    
    [HKEY_LOCAL_MACHINE\TK_SYSTEM\ControlSet001\Services\WdBoot]
    "Start"=dword:00000004
    
    [HKEY_LOCAL_MACHINE\TK_SYSTEM\ControlSet001\Services\WdFilter]
    "Start"=dword:00000004
    
    [HKEY_LOCAL_MACHINE\TK_SYSTEM\ControlSet001\Services\WdNisDrv]
    "Start"=dword:00000004
    
    [HKEY_LOCAL_MACHINE\TK_SYSTEM\ControlSet001\Services\WdNisSvc]
    "Start"=dword:00000004
    
    [HKEY_LOCAL_MACHINE\TK_SYSTEM\ControlSet001\Services\WinDefend]
    "Start"=dword:00000004
    
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
    "SecurityHealth"=-
    
    [HKEY_LOCAL_MACHINE\TK_DEFAULT\SOFTWARE\Microsoft\Windows Security Health\State]
    "AccountProtection_MicrosoftAccount_Disconnected"=dword:00000000
    
    OR for online windows:
    Try this code
    Code:
    Windows Registry Editor Version 5.00
    
    [-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\EPP]
    
    [-HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\EPP]
    
    [-HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\EPP]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Security Health]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender Security Center]
    
    [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\DefenderApiLogger]
    
    [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\DefenderAuditLogger]
    
    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost]
    "SmartScreenEnabled"="Off"
    "EnableWebContentEvaluation"=dword:00000000
    
    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Security Health\State]
    "AccountProtection_MicrosoftAccount_Disconnected"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost]
    "EnableWebContentEvaluation"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
    "SmartScreenEnabled"="Off"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Features]
    "TamperProtection"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MRT]
    "DontOfferThroughWUAU"=dword:00000001
    "DontReportInfectionInformation"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
    "EnableSmartScreen"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
    "DeferUpdatePeriod"=dword:00000000
    "DeferUpgrade"=dword:00000001
    "DeferUpgradePeriod"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
    "AUOptions"=dword:00000002
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender]
    "DisableAntiSpyware"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\MpEngine]
    "MpEnablePus"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Policy Manager]
    "AllowBehaviorMonitoring"=dword:00000002
    "AllowCloudProtection"=dword:00000000
    "AllowRealtimeMonitoring"=dword:00000000
    "SubmitSamplesConsent"=dword:00000002
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection]
    "DisableBehaviorMonitoring"=dword:00000001
    "DisableRealtimeMonitoring"=dword:00000001
    "DisableOnAccessProtection"=dword:00000001
    "DisableScanOnRealtimeEnable"=dword:00000001
    "DisableIOAVProtection"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Reporting]
    "DisableEnhancedNotifications"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\SmartScreen]
    "ConfigureAppInstallControlEnabled"=dword:00000001
    "ConfigureAppInstallControl"="Anywhere"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet]
    "SpyNetReporting"=dword:00000000
    "SubmitSamplesConsent"=dword:00000002
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\UX Configuration]
    "Notification_Suppress"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Systray]
    "HideSystray"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer]
    "SmartScreenEnabled"="Off"
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SecurityHealthService]
    "Start"=dword:00000004
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Sense]
    "Start"=dword:00000004
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WdBoot]
    "Start"=dword:00000004
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WdFilter]
    "Start"=dword:00000004
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WdNisDrv]
    "Start"=dword:00000004
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WdNisSvc]
    "Start"=dword:00000004
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend]
    "Start"=dword:00000004
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
    "SecurityHealth"=-
    
    [HKEY_USERS\.Default\SOFTWARE\Microsoft\Windows Security Health\State]
    "AccountProtection_MicrosoftAccount_Disconnected"=dword:00000000
    

    Is working for 1809, and i'm not tried on 1903 or later

    Sorry for my bad english.


     
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    I did checked with the Appx manifest and it required the Full Trust privilege to install the appx, do test with the reg commands I have specified.

    You don't require the store or the Desktop App, just can use the DISM to install the App.

    The Nvidia is still providing both the Standard and the DCH drivers, if you don't want to go through the Store, then do download the Standard drivers and install it.

     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Will check out.

     
  8. sabot

    sabot MDL Novice

    Dec 22, 2010
    6
    2
    0
    #13868 sabot, Jan 19, 2020
    Last edited: Jan 20, 2020
    .
     
  9. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    391
    162
    10
    @MSMG

    Is it possible to add the new Microsoft Edge with the MSMG Toolkit or DISM offline..?? If so, could you tell me step by step how to do..??

    Thanked in advance..!!
     
  10. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    as MSI or CAB package
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    391
    162
    10
    Thanks..!!

    Where I find it..??
     
  12. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    8,326
    11,613
    270
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    391
    162
    10
  15. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,940
    450
    By setupcomplete.cmd or in audit mode and capture the wim.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    391
    162
    10
    @Enthousiast

    Thank you so much..!!
     
  17. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    391
    162
    10
    @Enthousiast

    Why when I use Ctrl + Shift + F3 to enter audit mode, it doesn't work for me on Windows 10 Pro, LTSB and LTSC on the user screen creation..?? Do you know..??

    Thanks in advance..!!
     
  18. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,966
    125,940
    450
    I don't know, all i know is that i've entered audit mode 4 times last few days, 2 times for 18363.592 Home (x86 and x64) and 2 times for 17763.973 Enterprise 2019 LTSC (x86 and x64).

    You also can create a user account and when on the desktop, open an elevated cmd and enter:
    Code:
    cd sysprep
    and next
    Code:
    sysprep /audit /reboot
    and it should reboot in audit mode.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    391
    162
    10
    Thank you so much..!!