1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Thanks,

    As far as resources, recently I have built a new PC and was able to make the W10 v2004 pack files for all languages available so early, still need to set-it up properly to put to work.

    Hope to add the removal support within next two weeks.

     
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Either you can re-do the whole process or integrate the CU and just remove the required components.

     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #14563 MSMG, Mar 28, 2020
    Last edited: Mar 28, 2020
    (OP)
    Thanks, No I didn't get offended, just wrote the reality, anyway as said above I do have a better hardware now to work for the Toolkit and hope to add the removal support within next two weeks.

     
  4. amnester

    amnester MDL Junior Member

    Nov 9, 2018
    72
    18
    0
    Hello, MSMG! To disable scheduler tasks before installing Windows 10, You advised me to use Setupcomplete.cmd . But using your Setupcomplete.cmd when installing Windows 10, an error occurs and Windows 10 is not installed.
    My Setupcomplete.cmd :

    @echo on

    schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable
    schtasks /Change /TN "Microsoft\Windows\Application Experience\AitAgent" /Disable
    schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable
    schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable
    schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable
    schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable
    schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable
    schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable
    schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable
    schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable
    schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\BthSQM" /Disable
    schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\HypervisorFlightingTask" /Disable
    schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable
    schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticResolver" /Disable
    schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable
    schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable
    schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable
    schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable
    schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable
    schtasks /Change /TN "Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /Disable
    schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyMonitor" /Disable
    schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyRefresh" /Disable
    schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyUpload" /Disable
    schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /Disable
    schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Automatic App Update" /Disable

    exit

    Can I disable scheduler tasks in the registry or using the command line, or can I use a script before installing Windows 10? Thanks!
     
  5. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    @MSMG
    Comment on this method.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. AeonX

    AeonX MDL Addicted

    May 24, 2013
    796
    725
    30
    Code:
    schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable
    Disabling this task will cause an error in OOBE. After entering the username you are unable to proceed. You can use autounattend.xml to workaround this.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. amnester

    amnester MDL Junior Member

    Nov 9, 2018
    72
    18
    0
    Can you tell me how to do this?
     
  8. LittlePro

    LittlePro MDL Senior Member

    Jan 19, 2017
    389
    138
    10
    @amnester :
    Are you facing the same problem "An error in OOBE .i.e. after entering the username, you are unable to proceed & the installation process is blocked/ halted at that point" ? If yes, then he suggests a parallel way out to use an autounattend.xml that makes / completes the installation without your inputs : an unattended installation!

    Thanks. ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    @MSMG
    What components or applications are associated with Mail and Calendar?
    After uninstalling or disconnecting something, these two applications stopped launching, they crash at startup.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. xwing1000

    xwing1000 MDL Novice

    Oct 14, 2017
    15
    12
    0
    Try keep Advertising
     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Removing some components offline breaks the OS and they can only be removed online, CloudExperienceHost is one of such type.

    Try as @AeonX told, if it works disabling using unattend.xml file

    Code:
    <FirstLogonCommands>
       <SynchronousCommand wcm:action="add">
          <CommandLine>schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable</CommandLine>
          <Description>Disabling CloudExperienceHost Task </Description>
          <Order>1</Order>
       </SynchronousCommand>
    </FirstLogonCommands>
    
     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    AdvertisingXAML

     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Make sure you have integrated the cu .172

    Import the below registry settings before component removal

    Code:
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows NT\CurrentVersion]
    "CurrentBuild"=18363
    "CurrentBuildNumber"=18363
    "ReleaseId"=1909
    "UBR"=dword:000002d0
    

    Import the below registry settings after component removal

    Code:
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\Windows NT\CurrentVersion]
    "CurrentBuild"=19041
    "CurrentBuildNumber"=19041
    "ReleaseId"=2004
    "UBR"=dword:000000ac
    

    PS. I don't recommend this method since the component removal may differ for v2004, try at your own risk.


     
  14. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    import via ToolKit after mounting the image?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    #14575 windows builder, Mar 29, 2020
    Last edited: Mar 29, 2020
    here:
    HKCU\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo
    HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\AdvertisingInfo

    Enabled 0

    ???

    or how to return back correctly?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Yes.

    Integrate AdvertisingXAML appx

     
  17. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    #14577 windows builder, Mar 29, 2020
    Last edited: Mar 29, 2020
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. LittlePro

    LittlePro MDL Senior Member

    Jan 19, 2017
    389
    138
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    #14579 windows builder, Mar 30, 2020
    Last edited: Mar 30, 2020
    Installed the package:

    2020-03-30 001.png

    2020-03-30 001.png

    but did not find the .xml file to install.
    Mail and Calendar applications still crash at startup.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. amnester

    amnester MDL Junior Member

    Nov 9, 2018
    72
    18
    0
    Hi. Mail and Calendar are linked to telemetry. If you delete telemetry, these apps will NOT work!