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

    pm67310 MDL Guru

    Sep 6, 2011
    3,325
    2,506
    120
    V5: Disable OFFICE 2016/19/21/24 or 365 Telemetry

    If you install Office.

    ADD POOL.NTP.ORG (no forced ) As default time server more stable, time.windows are keep

    Disable as default ( fix possible windows store issue , no issue for me with this value enabled )

    ;"OemPreInstalledAppsEnabled"=dword:00000000
    ;"PreInstalledAppsEnabled"=dword:00000000
    ;"PreInstalledAppsEverEnabled"=dword:00000000
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,325
    2,506
    120
    News version coming ..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Textaar

    Textaar MDL Novice

    Nov 25, 2024
    13
    9
    0
    The system I intend to use the ISO for, doesn't support POPCNT or SSE4.2, so 24H2 wouldn't work.
     
  4. JeepWillys58

    JeepWillys58 MDL Addicted

    Nov 6, 2010
    603
    379
    30
    Hi dear friend @pm6731

    I tried using your Win11LiteCreatorV5 with Windows 11, version 23H2 (22631.4602) amd64, index 2,22631.4602,x64,pt-BR,ProfessionalWorkstation that I downloaded from uupdump.net today, but both times I tried it, the same error occurred after the installation restart the first time, as reported by our friends above, can you tell me what is happening?

    uupdump.net-download.php?id=0c36c0e6-8397-424d-b460-26cc0d044c7f&pack=pt-br&edition=professional

    Windows 11, version 23H2 (22631.4602) amd64 => DISM Info:
    upload_2024-12-12_21-41-46.png

    Error:

    upload_2024-12-12_21-39-34.png

    Below is also the .log file.

    Thanks in advanced.

    Best Regards.
    @JeepWillys58
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. TesterMachineOS

    TesterMachineOS MDL Addicted

    Apr 20, 2021
    564
    264
    30
    As I see it, it seems that some registry entry is causing the failure, it seems to be touching some sensitive parts of the system.
     
  6. JeepWillys58

    JeepWillys58 MDL Addicted

    Nov 6, 2010
    603
    379
    30
    Hi dear friend @TesterMachineOS

    I owe you, I'm sorry, but I'm working from 10pm to 6am and I had a day off today, let me know if you still need those files and I'll upload them for you tomorrow morning.

    Best Regards.
    @JeepWillys58
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. TesterMachineOS

    TesterMachineOS MDL Addicted

    Apr 20, 2021
    564
    264
    30
    Don't worry :), everything in its time, I haven't had time lately either, I've been a bit busy.

    But as for the script here from our friend pm6731, I'll check to see if I can help solve these problems.
     
  8. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,325
    2,506
    120
    #110 pm67310, Dec 13, 2024
    Last edited: Dec 13, 2024
    (OP)
    Try with batch script

    https://forums.mydigitallife.net/th...seless-apps-any-language-edition.85561/page-5

    And report

    Suggest : change

    D:\Win11LiteCreatorV5_MDL2024\ => to
    D:\W11LiteV5
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. JeepWillys58

    JeepWillys58 MDL Addicted

    Nov 6, 2010
    603
    379
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. 2012mshs

    2012mshs MDL Novice

    Aug 13, 2015
    7
    6
    0
    Code:
    Write-Host "ADD and Change time.windows.com to pool.ntp.org better time sync"
    & 'reg' 'add' 'HKLM\zSYSTEM\CurrentControlSet\Services\W32Time\Parameters' '/v' 'NtpServer' '/t' 'REG_SZ' '/d' 'pool.ntp.org,0x9' '/f' >null
    
    correct: CurrentControlSet=>ControlSet001
     
  11. JeepWillys58

    JeepWillys58 MDL Addicted

    Nov 6, 2010
    603
    379
    30
    #113 JeepWillys58, Dec 13, 2024
    Last edited: Dec 13, 2024
    Hi dear friends @pm67310 and @2012mshs

    @pm67310 that's the result of run the same V5 with a small path D:\W11LiteV5... The same error again...

    upload_2024-12-13_11-27-10.png

    Thanks @2012mshs for to help! I'm changing the code as you say and will run the script again.

    New Code changed:
    Code:
    Write-Host "ADD and Change time.windows.com to pool.ntp.org better time sync"
    & 'reg' 'add' 'HKLM\zSYSTEM\ControlSet001\Services\W32Time\Parameters' '/v' 'NtpServer' '/t' 'REG_SZ' '/d' 'pool.ntp.org,0x9' '/f' >null
    
    upload_2024-12-13_11-32-1.png

    Thanks in advanced again.

    Regards

    Edit: A small comment about the script execution, dear friend @pm67310. Can you tell me if it is normal for the script to use all the processor when it is running, because it uses almost 90% of my old i5-7400? Especially when it is exporting the image at the end of the process.

    upload_2024-12-13_11-47-27.png
     
    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
    Yes expected, sorry we are busy atm
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. JeepWillys58

    JeepWillys58 MDL Addicted

    Nov 6, 2010
    603
    379
    30
    Hi again dear friends @2012mshs and @pm67310!!!

    Thanks one more time for your modification code dear @2012mshs it works great!

    Dear friend @pm67310 I tested again now and I didn't get any errors this time, I think the code modification proposed by our friend @2012mshs fixed the problem correctly, but the CPU usage remains high, especially at the end of the process.

    I would like to take this opportunity to wish you an excellent end of the year and a new year full of new achievements.

    Best Regards
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. 2012mshs

    2012mshs MDL Novice

    Aug 13, 2015
    7
    6
    0
    You should edit this line
    Code:
    & 'dism' '/English' '/Export-Image' "/SourceImageFile:$ScratchDisk\Win11Lite\sources\install.wim" "/SourceIndex:$index" "/DestinationImageFile:$ScratchDisk\Win11Lite\sources\install2.wim" '/compress:recovery'
    
    Compress:recovery (esd => use more cpu, small file) => to Compress:max (wim, larger esd, use less cpu, no need decompress)