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. W7W10

    W7W10 MDL Novice

    May 11, 2023
    23
    3
    0
    Thank you very much for the clarification.
     
  2. Milord94

    Milord94 MDL Novice

    Sep 22, 2018
    1
    0
    0
    On my side I work only on Pro for Workstation
     
  3. MajkelP

    MajkelP MDL Junior Member

    Nov 11, 2015
    59
    26
    0
    #43 MajkelP, Sep 4, 2024
    Last edited: Sep 4, 2024

    Attached Files:

  4. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,325
    2,506
    120
    For clean start menu install windows pro education or education sku , after install use generic key ( change product key with ending 3V66T search google )

    Edge are google chrome compatible better to keep
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,325
    2,506
    120
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,150
    5,947
    150
    What is the News
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,325
    2,506
    120
    news bypass and news methode to create light windows 11 more easy
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,325
    2,506
    120
    #49 pm67310, Oct 30, 2024
    Last edited: Nov 2, 2024
    (OP)
    Change from legacy methode to news :

    Add legacy bypass + custom hwreq.dll ( bypass for modern 24h2 setup )

    Add little privacy , remove unused apps ( xbox , zune video , clipchamps, bing wheater , web widgets ) you can restore yourself

    Disable edge first run experience

    Disable update check during oobe

    Delay security update to 7 days
    ( prevent buggy update.. )

    Delay upgrade update ( 23h2 > 24h2 for exemple ) to 1 years only for education or enterprise

    Disable reboot if os crash

    Enable legacy drivers install allowed

    My script keep windows 11 modern experience by removing only useless appx , add little privacy , and increase compatibility with legacy computers

    Others script are no easy to use ,

    Tiny11 remove windows 11 features like Edge and important features , and can breaks update

    Others bypass on MDL works but not privacy setting

    And others script on MDL can breaks update or important windows experience ( for novice)

    @erpsterm35 @Hader2108

    @hoak
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,325
    2,506
    120
    V3 Added bypass for windows update check at install screen
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,325
    2,506
    120
    Testing... news features for V4 atm
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. xCyBx

    xCyBx MDL Senior Member

    Aug 6, 2018
    356
    717
    10
    • Can you add some tweaks for disabling update default drivers from WindowsUpdate while connected to internet.
    • And add a file named 'Run.cmd' for run 'Win11LiteCreator.ps1' as admin with powershell executable.
    Thanks a lot.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,325
    2,506
    120
    • And add a file named 'Run.cmd' for run 'Win11LiteCreator.ps1' as admin with powershell executable => why ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. xCyBx

    xCyBx MDL Senior Member

    Aug 6, 2018
    356
    717
    10
    To Run as Administrator from right click.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. delMicron

    delMicron MDL Junior Member

    Dec 28, 2021
    57
    28
    0
    Merge this registry so you can immediately right click on the PS1 file
    Code:
    Windows Registry Editor Version 5.00
    
    ;Ps1 as administrators
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Microsoft.PowerShellScript.1\Shell\PsAsAdmin]
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Microsoft.PowerShellScript.1\Shell\PsAsAdmin]
    "HasLUAShield"=""
    "MUIVerb"="Run as Administrators"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Microsoft.PowerShellScript.1\Shell\PsAsAdmin\Command]
    @="powershell.exe -nop -exec bypass -c \"& '%1'\""
     
  15. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,325
    2,506
    120

    Execute script as admin and after try to virtual machine
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. TesterMachineOS

    TesterMachineOS MDL Addicted

    Apr 20, 2021
    564
    264
    30
    The Host OS is Windows 10 Pro 21H2.

    In addition to having UAC disabled, as such I have not had any problems with other powershell scripts, only here it shows me errors about access denied and that the NULL value should not be present in some functions, I doubt I have to use a virtual machine.
     
  17. TesterMachineOS

    TesterMachineOS MDL Addicted

    Apr 20, 2021
    564
    264
    30
    Testing on the same host version but using a newer version of powershell (7.4.6)

    I get the same problems, it doesn't recognize Null values.

    Win11LiteV3.log
    Code:
    **********************
    PowerShell transcript start
    Start time: 20241105123723
    Username: DESKTOP-H79GMMF\TESTER
    RunAs User: DESKTOP-H79GMMF\TESTER
    Configuration Name:
    Machine: DESKTOP-H79GMMF (Microsoft Windows NT 10.0.19044.0)
    Host Application: C:\Program Files\PowerShell\7\pwsh.dll -WorkingDirectory ~
    Process ID: 6040
    PSVersion: 7.4.6
    PSEdition: Core
    GitCommitId: 7.4.6
    OS: Microsoft Windows 10.0.19044
    Platform: Win32NT
    PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1, 6.0, 7.0
    PSRemotingProtocolVersion: 2.3
    SerializationVersion: 1.1.0.1
    WSManStackVersion: 3.0
    **********************
    Transcript started, output file is C:\Win11LiteCreatorV3\Win11LiteV3.log
    Welcome to the Win11 Lite image creator Release: 30-10-24
    Copying Windows image...
    Copy complete!
    Getting image information:
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Details for image : C:\Win11Lite\sources\install.wim
    
    Index : 1
    Name : Windows 11 Home
    Description : Windows 11 Home
    Size : 24.520.768.289 bytes
    
    Index : 2
    Name : Windows 11 Pro
    Description : Windows 11 Pro
    Size : 24.832.164.598 bytes
    
    The operation completed successfully.
    Mounting Windows image. This may take a while.
    
    CORRECTO: el archivo (o carpeta): "C:\Win11Lite\sources\install.wim" ahora es propiedad del usuario "DESKTOP-H79GMMF\Yog
    enis".
    archivo procesado: C:\Win11Lite\sources\install.wim
    Se procesaron correctamente 1 archivos; error al procesar 0 archivos
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    Default system UI language code: es-ES
    Architecture: amd64
    Mounting complete! Performing removal of applications...
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22631.4249
    
    The operation completed successfully.
    Loading registry...
    if you have little errors you can ignore safety
    Bypassing system requirements(on the system image):
    Disabling DIAGTRACK aka Diagnostic Tracking Service and PCA Service >used for ask if software installed correctly
    Disabling Bitlocker Forced Encryption and Autoreboot if bluescreen
    Enable Legacy Driver install Change value 0 to 1 to disable
    Disabling Os Update During OOBE
    Script to restore update after OOBE
    Disabling Sponsored Apps:
    Disable Send FEEDBACK
    Disable Reserved Storage
    Disable DevHome and News Outlook autoinstall
    Enabling CUSTOM PRIVACY and Tweaks
    Enabling windows 11 edu theme
    Enabling Delay of 365 days for Features update aka 23h2 to 24h2 , works for Education or enterprise only
    Enabling Delay of 7 days after Microsoft release update any sku aka edition, Windows 11 pro minimum required
    Enabling Local Accounts on OOBE:
    Disabling Reserved Storage:
    Disabling Chat icon:
    Disabling Telemetry:
    False
    MethodInvocationException: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:376
    Line |
     376 |  $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW …
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | Exception calling "OpenSubKey" with "3" argument(s): "Requested registry access is not allowed."
    MethodInvocationException: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:376
    Line |
     376 |  $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW …
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | Exception calling "OpenSubKey" with "3" argument(s): "Requested registry access is not allowed."
    
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:377
    Line |
     377 |  $regACL = $regKey.GetAccessControl()
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:377
    Line |
     377 |  $regACL = $regKey.GetAccessControl()
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:378
    Line |
     378 |  $regACL.SetOwner($adminGroup)
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:378
    Line |
     378 |  $regACL.SetOwner($adminGroup)
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:379
    Line |
     379 |  $regKey.SetAccessControl($regACL)
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:379
    Line |
     379 |  $regKey.SetAccessControl($regACL)
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:380
    Line |
     380 |  $regKey.Close()
         |  ~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:380
    Line |
     380 |  $regKey.Close()
         |  ~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    
    Owner changed to Administrators.
    MethodInvocationException: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:382
    Line |
     382 |  $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW …
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | Exception calling "OpenSubKey" with "3" argument(s): "Requested registry access is not allowed."
    MethodInvocationException: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:382
    Line |
     382 |  $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW …
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | Exception calling "OpenSubKey" with "3" argument(s): "Requested registry access is not allowed."
    
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:383
    Line |
     383 |  $regACL = $regKey.GetAccessControl()
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:383
    Line |
     383 |  $regACL = $regKey.GetAccessControl()
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:385
    Line |
     385 |  $regACL.SetAccessRule($regRule)
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:385
    Line |
     385 |  $regACL.SetAccessRule($regRule)
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:386
    Line |
     386 |  $regKey.SetAccessControl($regACL)
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:386
    Line |
     386 |  $regKey.SetAccessControl($regACL)
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    
    Permissions modified for Administrators group.
    Registry key permissions successfully updated.
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:389
    Line |
     389 |  $regKey.Close()
         |  ~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:389
    Line |
     389 |  $regKey.Close()
         |  ~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    
    Deleting Application Compatibility Appraiser
    Deleting Customer Experience Improvement Program
    Deleting Program Data Updater
    Deleting autochk proxy
    Deleting QueueReporting
    Tweaking complete!
    Unmounting Registry...
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:406
    Line |
     406 |  $regKey.Close()
         |  ~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    InvalidOperation: C:\Win11LiteCreatorV3\Win11LiteCreator.ps1:406
    Line |
     406 |  $regKey.Close()
         |  ~~~~~~~~~~~~~~~
         | You cannot call a method on a null-valued expression.
    
    La operación se completó correctamente.
    Cleaning up image...
    Cleanup complete.
    
    Unmounting image...
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Saving image
    [================           28.0%                          ]
    Exporting image...
    
     
  18. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,325
    2,506
    120
    Tested on english windows 10 iot ltsc stock no modified script work fines

    If you try win11Lite.iso

    Iso works fines or not ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...