[REPO] Windows 10 TELEMETRY REPOSITORY

Discussion in 'Windows 10' started by Yen, Aug 4, 2015.

  1. KartWheel

    KartWheel MDL Novice

    Jun 25, 2016
    5
    1
    0
  2. KartWheel

    KartWheel MDL Novice

    Jun 25, 2016
    5
    1
    0
  3. (\_/)^(\_/)

    (\_/)^(\_/) MDL Member

    Jul 31, 2022
    375
    376
    10
    oh linux geek :)
     
  4. ms_pam

    ms_pam MDL Novice

    Jan 29, 2023
    7
    3
    0
    Hello Freddie-o, I was able to test your scripts and they work well. Do you know how to get sysprep to work on the modded iso installs? I want to install your iso, add some programs on the new install, sysprep and save the image as my go to. However, I cannot get sysprep to run oin your builds. Do you have any experience or know how to get it working? Thanks agin for all your work and sharing it here!
     
  5. KartWheel

    KartWheel MDL Novice

    Jun 25, 2016
    5
    1
    0
    Nope, just AutoHotkey and Windows here. Wish I could switch to Linux, but I need to get work done :rolleyes:
     
  6. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,231
    1,865
    60
    #1887 freddie-o, Mar 17, 2023 at 02:47
    Last edited: Mar 17, 2023 at 03:41
    Sorry I haven't had the need to use sysprep yet

    Edit: When I need a backup image I create one using Macrium Reflect from WinRE
     
  7. ms_pam

    ms_pam MDL Novice

    Jan 29, 2023
    7
    3
    0
    #1888 ms_pam, Mar 17, 2023 at 12:45
    Last edited: Mar 17, 2023 at 13:33
    Ok, I looked into it more and got sysprep working.

    Sysprep was failing at <sysprepModule methodName="MSSrch_SysPrep_Cleanup" moduleName="$(runtime.system32)\mssrch.dll">. I guess this is due to Freddie-o script command: delete "HKLM\SYSHIVE\ControlSet001\Services\WSearch" /f

    So to get sysprep to work I removed the "MSSrch_SysPrep_Cleanup" method calls from the C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml. To edit the file you need to change the premissions to all users. You can so a search in the document for "MSSrch" and delete the relevant lines calling and referencing the "MSSrch_SysPrep_Cleanup" method. For me the lines to delete were:

    62. <sysprepModule methodName="MSSrch_SysPrep_Cleanup" moduleName="$(runtime.system32)\mssrch.dll"></sysprepModule></imaging><imaging exclude=""><assemblyIdentity name="Microsoft-Windows-TaskScheduler-Service" version="10.0.19041.906" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" versionScope="NonSxS"></assemblyIdentity>
    63. <sysprepOrder order="0x0E00"></sysprepOrder>

    75. <sysprepModule methodName="MSSrch_SysPrep_Cleanup" moduleName="$(runtime.system32)\mssrch.dll"></sysprepModule></imaging></sysprepInformation>
    So now sysprep runs completely because it doesn't error at "MSSrch_SysPrep_Cleanup" anymore. Possible permanent solutions if you want to use sysprep and this script could be:
    1. Create an edited version of C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml file with the changes above, and add a command in freddie-0 bat script to replace the standard one with the ammended version: copy /y Cleanup.xml mount\Windows\System32\Sysprep\ActionFiles
    2. Untested - remove the line/command "delete "HKLM\SYSHIVE\ControlSet001\Services\WSearch" /f" from freddie-o script. Not sure this will work because there are other commands in the script that remove some fo the search services (cortana search), which may also result in sysprep error, and ideally you want to remove all this telemetary anyway so I would say this option is not a good one unless you happy to have the search telemetry working on some level.
    3. Untested - If you want to create your base iso, do it on a vanilla iso before using freddie-o scipt, add programms etc, then sysprep and save iso as normal. Then apply Freddie-o script offline to saved iso.
    Finally, If you run sysprep then oobe will return. According to this video (invidious.snopyta.org/watch?v=YL42yopTph0) if you run sysprep from cmd as admin you can add your answer file to the sysprep. Run CMD as admin from sysprep folder with your unnatend.xml in C: = sysprep /oobe /generalize /shutdown /unattend:C:\unattend.xml (edit:spelling)

    So a long post, but that explains and solves the sysprep error.
     
  8. ms_pam

    ms_pam MDL Novice

    Jan 29, 2023
    7
    3
    0
    To update regrding sysPrep: On reviewing further, I understand that if using sysPrep on a Freddie-o iso that it will reset and delete some of the Registry mods that the freddie-o script made. This obviosuly defeats the purpose to an extent. I see 2 options to possibly overcome this;

    1. Run Freddie-o script, install OS, install apps/programs, run sysPrep, capture image. Run freddie-o script again on newly captured image. Deploy newly created, sysPrep'd, Freddie-o'd (twice) iso.
    2. Edit the sysPrep xml docs located at C:\Windows\System32\Sysprep\ActionFiles\ some more to remove the sysprep method calls that cause registry to revert. This way sysPrep will not revert Freddie0o's script changes. This would take some testing and trial and error (and a lot of time) to know what to remove.
    3. also a 3rd option. Don't use sysprep at all and just install your extra programs manually after every installations of the custom iso :p
     
  9. haris_mdlf69

    haris_mdlf69 MDL Junior Member

    Oct 23, 2018
    69
    89
    0
    That sounds a lot of work, what I do is download base.iso from uup dump and then
    MSMG ToolKit(to integrate/enable/disable features & tweaks) + W10UI.cmd(to integrate necessary updates(LCU, NDP35-48 CU & EP 22H2)+ disable_telemetry.cmd + SetComplete.cmd(to integrate 3rd party apps) + KMS_VL_AIO.cmd(to pre-activate Windows) = Profit:band:
     
  10. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,231
    1,865
    60
    Or
    My scenario is...
    Disable telemetry & add drivers offline
    Install Windows
    Update
    Use portable apps so I only install very minimal software such as Internet Security
    I can clean install, update and configure my OS in less than an hour :rolleyes:
     
  11. (\_/)^(\_/)

    (\_/)^(\_/) MDL Member

    Jul 31, 2022
    375
    376
    10
    or my scenario is to do everything offline on a mounted Ent SKU .
    My workstation is ready . wait till my latest new tool on Extreme Lite M$ iso's.