Script Create Win11 Version no ADS, Bypass Requirement, Remove Useless APPS, Any Language / Edition

Discussion in 'Windows 11' started by pm67310, Jul 3, 2022.

Tags:
  1. GreyMerlin67

    GreyMerlin67 MDL Novice

    Jan 6, 2025
    15
    7
    0
    Hello @pm67310 no update ?..
     
  2. 6ryvcIDtC2m

    6ryvcIDtC2m MDL Novice

    Oct 29, 2019
    9
    11
    0
    Thank you very much for sharing, I've been testing it on 23H2 Enterprise and it works really well. I've got a few notes though:
    Some registry tweaks display an "Access Denied" message when applying, those are:
    Code:
    & 'reg' 'add' 'HKLM\zNTUSER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize' '/v' 'EnableTransparency' '/t' 'REG_DWORD' '/d' '0' '/f' > $null
    
    & 'reg' 'add' 'HKLM\zNTUSER\Software\Microsoft\Windows\CurrentVersion\Feeds' '/v' 'ShellFeedsTaskbarViewMode' '/t' 'REG_DWORD' '/d' '2' '/f' > $null
    
    And one that doesn't seem to exist:
    Code:
    & 'reg' 'delete' 'HKLM\zNTUSER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\SuggestedApps' '/f' > $null
    
    I've done a few personal modifications (disabling OneDrive and Copilot, and other small things) but I've been struggling to find a way to disable Microsoft Teams (both and the (personal) one) and I'd appreciate some help. It doesn't seem to exist during the installation, but after updating Windows and opening MS Store it seems to get automatically installed, which is quite frustrating.

    Is the only way to disable the teams installation to Install Windows > Apply HKCU edits AFTER making the first user? I suppose I could automate this procedure with an autounattend but that's not ideal.

    Some information about the software used:
    VMware Workstation (17.0.0)
    ISO used: EN-GB Windows 11 23H2 (22631.5039) Business Edition -> Enterprise
    Host OS: W10 Enterprise 22H2 (19045.5198)
     
  3. spinalGR

    spinalGR MDL Senior Member

    Oct 16, 2014
    428
    86
    10
  4. 6ryvcIDtC2m

    6ryvcIDtC2m MDL Novice

    Oct 29, 2019
    9
    11
    0
    What is the purpose of the "Enable-Privilege" function present in the script? I understand the description you gave in the comment, to be able to modify protected keys, but as far as I can understand (which is not much) while the function does take ownership of some keys, it does not modify them whatsoever, making the section pointless.
    Was that a section you're planning to expand later on or am I missing something?
     
  5. nik stepinsky

    nik stepinsky MDL Novice

    May 28, 2025
    2
    2
    0
    I have downloaded the script and ran it in my new windows installation and started getting heavily spammed in my event viewer logs which might have caused a crash i wouldn't know, and looked more into the thread and noticed you removed smartscreen.
    "
    Unable to start a DCOM Server: {A463FCB9-6B1C-4E0D-A80B-A2CA7999E25D} as Unavailable/Unavailable. The error:
    "2147942402"
    Happened while starting this command:
    C:\Windows\System32\smartscreen.exe -Embedding"
    if it is related is there an option to make the computer to stop executing these commands to start smartscreen?
     
  6. nik stepinsky

    nik stepinsky MDL Novice

    May 28, 2025
    2
    2
    0
    alright didn't know if there's a difference but unfortunately I didn't get an answer to my question, so if smartscreen is disabled shouldn't windows stop trying to launch smartscreen.exe? I'm asking because my event log is clogged with the same error over and over
     
  7. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,875
    3,149
    120
    Smartscreen are disabled by ifeo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,330
    1,240
    60
    I do not know where is the script, so I can not compare it, but I disable smartscreen and I get no errors for smartscreen, only occasionally for Start, and I have removed smartscreen.exe But if you use Defender, it might be triggered by it.
    Code:
    rem Off - Disable Windows SmartScreen / On - Enable Windows SmartScreen
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "SmartScreenEnabled" /t REG_SZ /d "Off" /f
    
    rem 0 - Disable SmartScreen Filter in Microsoft Edge / 1 - Enable
    reg add "HKCU\Software\Microsoft\Edge\SmartScreenEnabled" /ve /t REG_DWORD /d "0" /f
    
    rem 0 - Disable SmartScreen PUA in Microsoft Edge / 1 - Enable
    reg add "HKCU\Software\Microsoft\Edge\SmartScreenPuaEnabled" /ve /t REG_DWORD /d "0" /f
    
    rem 0 - Disable Windows SmartScreen for Windows Store Apps / 1 - Enable
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\AppHost" /v "EnableWebContentEvaluation" /t "REG_DWORD" /d "0" /f
    
    rem ________________________________________________________________________________________
    reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /t "REG_DWORD" /d "0" /f
    reg add "HKLM\Software\Policies\Microsoft\Windows Defender\SmartScreen" /v "ConfigureAppInstallControl" /t REG_SZ /d "Anywhere" /f
    reg add "HKLM\Software\Policies\Microsoft\Windows Defender\SmartScreen" /v "ConfigureAppInstallControlEnabled" /t "REG_DWORD" /d "0" /f
    
    rem 1 - Enable Microsoft Defender SmartScreen DNS requests
    reg add "HKLM\Software\Policies\Microsoft\Edge" /v "SmartScreenDnsRequestsEnabled" /t REG_DWORD /d "0" /f
    
    rem Remove Smartscreen (to restore run "sfc /scannow")
    takeown /s %computername% /u %username% /f "%WinDir%\System32\smartscreen.exe"
    icacls "%WinDir%\System32\smartscreen.exe" /grant:r %username%:F
    taskkill /im smartscreen.exe /f
    del "%WinDir%\System32\smartscreen.exe" /s /f /q
    
     

    Attached Files:

  9. nguyenhuuchinh

    nguyenhuuchinh MDL Novice

    Jun 16, 2020
    16
    5
    0
    I hope the author updates the tool.
     
  10. M07REX

    M07REX MDL Novice

    Jan 30, 2017
    29
    11
    0
    Perfect but only need add auto uninstall to Onedrive and copilot (copilot app is redundant as searchapp and Edge has it) and possibly Rufus integration (so the script is ran automatically as soon as local account information is entered)
     
  11. ibay770

    ibay770 MDL Member

    Oct 9, 2015
    231
    63
    10
    Thanks for making this. Possible to delete winsxs too?
     
  12. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,875
    3,149
    120
    Avoid ! Winsxs if removed break windows
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,875
    3,149
    120
    #93 pm67310, Feb 10, 2026
    Last edited: Feb 10, 2026
    (OP)
    Script V6B

    password : MDL2025

    change :
    blocked telemetry executable with ifeo


    Windows License Monitoring Service. / wlms.exe
    User Interface for licensing popups / LicensingUi.exe
    CompatTelRunner.exe / Compatibility Telemetry (High CPU usage )
    DeviceCensus.exe / Device Telemetry.
    wsqmcons.exe / Windows SQM Consolidator
    aggregatorhost.exe / Telemetry Aggregator
    DiagTrackRunner.exe / Diagnostic Track Runner
    smartscreen.exe / SmartScreen Filter
    dtdump.exe / diagnostic dump tools telemetry
    aitstatic.exe / Application Impact Telemetry
    utcdecoderhost.exe / Unified Telemetry Client Decoder

    and disabled AI
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. wuliyen

    wuliyen MDL Member

    Oct 6, 2009
    199
    476
    10
    Password: MDL2026 incorrect?
     
  15. lalakis

    lalakis MDL Junior Member

    Dec 28, 2009
    51
    36
    0
  16. xlincn

    xlincn MDL Junior Member

    Nov 9, 2013
    59
    18
    0
    MDL2025
     
  17. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,875
    3,149
    120
    News update coming
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. maharshiharish

    maharshiharish MDL Novice

    Sep 11, 2016
    3
    0
    0
    bro....... i just downloaded media creation tool today on 24th march 2026.........now, how can i download official win 11 education iso OR win 11 enterprise iso via MCT ...?? ........ Also i searched many forums where ppl told that Enterprise or Education variants are ONLY available with LIMITED LANGUAGE CODES like MediaLangCode en-US ,, en-GB........... i live in ireland...... if i use the following command in a elevated cmd, will i be able to download irish variant(en-IE) of win11 EDU or ERP iso...??? Here is the command i wanna use ==>>
    MediaCreationTool.exe /Eula Accept /Retail /MediaLangCode en-US /MediaArch x64 /MediaEdition Enterprise ....
     
  19. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,875
    3,149
    120
    Use massgrave link for iso
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. maharshiharish

    maharshiharish MDL Novice

    Sep 11, 2016
    3
    0
    0
    enterprise iso links unavailable on massgrave