Completely eradicate Telemetry, Defender, One drive, Cortana (and other things).

Discussion in 'Windows 10' started by T-S, Aug 5, 2015.

  1. David34

    David34 MDL Member

    Sep 6, 2015
    210
    20
    10
    Wheel was invented already I'm more after things that weren't like time travel? I have reinstalled windows so many times trying so many combinations testing etc for days to make sure everything works. I didn't just choose some package and remove it so I have slim windows 10 lol I made sure nothing will get broken. There's no even errors in my event viewer, dism says nothing broken so hopefully everything will work well until windows 11 ;)
     
  2. tnx

    tnx MDL Expert

    Sep 2, 2008
    1,695
    267
    60
    #182 tnx, Oct 1, 2015
    Last edited: Oct 1, 2015
    This is sort of puzzling me now.

    I just looked at the REGISTRY of my Win 10 Pro and searched gpedit

    I got a few hits, one is :-

    What if the package\s for gpedit is in a different location to what the other packages we have been removing.
    I have not mounted an image and looked at a loaded reg hive yet.

    have you tried that ?

    I guess your running Win 10 Home. For the laugh look in the registry and search gpedit and see if you get any hits.

    Once again, probably getting wrong..:death:

    edit

    Just loaded a reg hive on a pro mounted image and found the same reg key in the Wim_Software.
    Interesting.
    Will have more time to play tomorrow, so will take a look at a Home image.

    worth it if not just for the laugh..
     
  3. KNARZ

    KNARZ MDL Addicted

    Oct 9, 2012
    895
    482
    30
    if you try to enable group policy in home edition you should take a look at Sessions.xml and maybe component store (owner key).
     
  4. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    313
    60
    So does this tweak actually work???
     
  5. urie

    urie Moderator
    Staff Member

    May 21, 2007
    9,039
    3,388
    300
    Yes your windows may work fine ( just now ) believe me that will not always be the case.

    Seen it to many times before members here and on other forums all is fine until windows updates or major update similar to old service packs and they fail.
    Carry on tweaking your own system, but do not expect any support on this forum when it goes down.
    And also I would seriously refrain from calling other members liars especially when they have more knowledge or experience.
     
  6. David34

    David34 MDL Member

    Sep 6, 2015
    210
    20
    10
    @urie I have disabled windows update package too and use one of those portable ones ;) and not planning to install any Microsoft security updates. And when some sp1 will be released if I will want it I will just install it if it won't let me I will use fresh copy of Windows then update then remove crap again ;)
     
  7. Shayne

    Shayne MDL Addicted

    Jul 31, 2009
    752
    181
    30
    #187 Shayne, Oct 2, 2015
    Last edited by a moderator: Apr 20, 2017
  8. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,984
    1,331
    120

    The whole discussion turned in a pointless direction.

    "Breaks nothing" means nothing by itself.

    If you uninstall say the terminal service, that breaks nothing for 98% of the users who doesn't even knows what the terminal service is. But obviously breaks a lot for people who need that function.

    Back to the experience host, windows is completely usable removing it.

    Just use Classic Shell, which is almost mandatory anyway.

    The other thing that stop working is the new notification center, I didn't experiment thoroughly to see if you still get the old style notifications or not.
     
  9. Shayne

    Shayne MDL Addicted

    Jul 31, 2009
    752
    181
    30
    I know was just trying to get it back on track. This is the most useful thread for windows 10 to date and I agree this bickering and trying to fear mongrel is pointless.

    Regards
     
  10. halasz

    halasz MDL Member

    Jan 13, 2013
    116
    35
    10
    The point must have escaped me then. What has removing Hyper-V and Remote Desktop got to do with telemetry or are you just trying to remove as much as possible and still be able to boot? That's a valid thing to do but not really in line with the thread title.
     
  11. Shayne

    Shayne MDL Addicted

    Jul 31, 2009
    752
    181
    30
    Guess you should read the end of the title if you are looking to validate posts. Removing bing appz from versions may be valid for some also.

    Regards
     
  12. tnx

    tnx MDL Expert

    Sep 2, 2008
    1,695
    267
    60
    #192 tnx, Oct 2, 2015
    Last edited: Oct 2, 2015
    @David34

    I have just mounted a Win 10 x64 Home image and loaded the reg hive and exported WIM_Software.
    Opening this in Notepad++ I searched for GPEdit and got these hits

    @="C:\\Windows\\System32\\GPEdit.dll"
    @="C:\\Windows\\System32\\GPEdit.dll"
    @="C:\\Windows\\SysWOW64\\GPEdit.dll"
    @="C:\\Windows\\SysWOW64\\GPEdit.dll"
    "Type"="Microsoft.WindowsFirewall.SnapIn.AuthFWSnapInGPEditExt, AuthFWSnapin, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-g..in-gpedit.resources_31bf3856ad364e35_en-gb_aba13b4c5bbfca73]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-g..in-gpedit.resources_31bf3856ad364e35_en-gb_aba13b4c5bbfca73\10.0]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-g..policy-admin-gpedit_31bf3856ad364e35_none_de316e95a78ee6c3]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-g..policy-admin-gpedit_31bf3856ad364e35_none_de316e95a78ee6c3\10.0]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-g..in-gpedit.resources_31bf3856ad364e35_en-gb_4f829fc8a362593d]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-g..in-gpedit.resources_31bf3856ad364e35_en-gb_4f829fc8a362593d\10.0]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-g..policy-admin-gpedit_31bf3856ad364e35_none_8212d311ef31758d]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-g..policy-admin-gpedit_31bf3856ad364e35_none_8212d311ef31758d\10.0]
    "Type"="Microsoft.WindowsFirewall.SnapIn.AuthFWSnapInGPEditExt, AuthFWSnapin, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

    Now if I am honest I was expecting not to find anything connected to GPEdit. As stated though I know nothing of this and have never looked at it.
    As I understand it Home does not have GPEdit ? But these files do exist.

    Then mounting the same image but the Pro index, exporting WIM_SOFTWARE once again I got these GPEdit hits

    @="C:\\Windows\\System32\\GPEdit.dll"
    @="C:\\Windows\\System32\\GPEdit.dll"
    @="C:\\Windows\\SysWOW64\\GPEdit.dll"
    @="C:\\Windows\\SysWOW64\\GPEdit.dll"
    "Type"="Microsoft.WindowsFirewall.SnapIn.AuthFWSnapInGPEditExt, AuthFWSnapin, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    "NameStringIndirect"="@gpedit.dll,-1"
    "NameStringIndirect"="@gpedit.dll,-4"
    "NameStringIndirect"="@gpedit.dll,-2"
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-g..admin-gpedit-snapin_31bf3856ad364e35_none_07b66f7833bda3cd]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-g..admin-gpedit-snapin_31bf3856ad364e35_none_07b66f7833bda3cd\10.0]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-g..in-gpedit.resources_31bf3856ad364e35_en-gb_aba13b4c5bbfca73]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-g..in-gpedit.resources_31bf3856ad364e35_en-gb_aba13b4c5bbfca73\10.0]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-g..policy-admin-gpedit_31bf3856ad364e35_none_de316e95a78ee6c3]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-g..policy-admin-gpedit_31bf3856ad364e35_none_de316e95a78ee6c3\10.0]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-g..admin-gpedit-snapin_31bf3856ad364e35_none_ab97d3f47b603297]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-g..admin-gpedit-snapin_31bf3856ad364e35_none_ab97d3f47b603297\10.0]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-g..in-gpedit.resources_31bf3856ad364e35_en-gb_4f829fc8a362593d]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-g..in-gpedit.resources_31bf3856ad364e35_en-gb_4f829fc8a362593d\10.0]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-g..policy-admin-gpedit_31bf3856ad364e35_none_8212d311ef31758d]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-g..policy-admin-gpedit_31bf3856ad364e35_none_8212d311ef31758d\10.0]
    "Type"="Microsoft.WindowsFirewall.SnapIn.AuthFWSnapInGPEditExt, AuthFWSnapin, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    "NameStringIndirect"="@gpedit.dll,-1"

    Looking at the reg keys the differences are

    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-g..admin-gpedit-snapin_31bf3856ad364e35_none_07b66f7833bda3cd]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-g..admin-gpedit-snapin_31bf3856ad364e35_none_07b66f7833bda3cd\10.0]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-g..admin-gpedit-snapin_31bf3856ad364e35_none_ab97d3f47b603297]
    [HKEY_LOCAL_MACHINE\WIM_Software\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-g..admin-gpedit-snapin_31bf3856ad364e35_none_ab97d3f47b603297\10.0]

    Now to me these look very similar to package names as the ones we have been removing.
    What if these were extracted and an attempt was made to add these packages into a Home image I wonder if that would allow GPEdit to work in Win 10 Home.

    what does this sound like to you ? Or anybody else for that matter.


    Barking up the wrong tree. Can not find the location of those files in my mount DIR.

    Gunna leave this now..:cool:
     
  13. David34

    David34 MDL Member

    Sep 6, 2015
    210
    20
    10
    #193 David34, Oct 3, 2015
    Last edited: Oct 3, 2015
    @Shane I have removed packages with the help of MSMG that's from an iso then i removed rest from an online image. When I tried to remove everything at once from an iso before installation things became buggy after installation that's why I removed some from iso some when I installed Windows and nothing is broken.

    @tnx give up on gpedit I don't think it's even possible to get it working on Windows home. I have installed 10 pro yesterday. Removed crap and now after boot up windows uses 0.51 ram while in idle and 1395 packages left out of some 1860 I started with ;)
     
  14. Shayne

    Shayne MDL Addicted

    Jul 31, 2009
    752
    181
    30
    ^^^ Thkz, we take it that CloudExperienceHost is one of those online ones you mention.

    We will wait to see your final script and online list. Should be interesting.

    Regards
     
  15. Shayne

    Shayne MDL Addicted

    Jul 31, 2009
    752
    181
    30
    Bld 10558

    Dism /Cleanup-Mountpoints
    rem Set path to install.win and install_wim_tweak.exe files (same directory)
    Set PATH=C:\work
    rem Set path to mount location
    Set MOUNT=%PATH%\mount
    rem Set path to mounted ISO (for .net 3 install)
    Set ISO=Q:
    rem Set path to update directory (cab files)
    set Update=D:\Cabs\AllCurrent\Install
    rem Are the above paths correct? If not Cntl C and edit
    pause
    Dism /Mount-Image /ImageFile:%PATH%\install.wim /index:1 /MountDir:%MOUNT%
    Dism /Image:%MOUNT% /enable-feature /featurename:NetFX3 /All /Source:%ISO%\sources\sxs /LimitAccess
    REM (new bld not 10240) Dism /Image:%MOUNT% /add-package /packagepath:%update%
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.3DBuilder_10.9.7.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Appconnector_2015.707.550.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingFinance_10004.5.168.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingNews_10004.5.168.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingSports_10004.5.168.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingWeather_10004.5.168.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.CommsPhone_1.9.24000.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ConnectivityStore_1.0.81.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Getstarted_2.3.7.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Messaging_1.9.26001.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_2015.6209.23751.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_3.1.6103.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Office.OneNote_2015.6131.10041.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2015.923.106.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SkypeApp_3.2.1.0_neutral_~_kzf8qxf38zg5c
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Windows.Photos_2015.923.11380.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsAlarms_2015.905.10.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCalculator_2015.817.10.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCamera_2015.1063.10.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:microsoft.windowscommunicationsapps_2015.6221.42291.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsMaps_4.1509.50911.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsPhone_2015.817.10.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsSoundRecorder_2015.707.10.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsStore_2015.99.24.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxApp_2015.924.245.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.6.13251.0_neutral_~_8wekyb3d8bbwe
    Dism /Image:%MOUNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.6.13251.0_neutral_~_8wekyb3d8bbwe
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Media-FaceAnalysis /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Media-Ocr /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Mobile-Sensors /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-AllowTelemetry /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-AppRuntime-WOW64-xbox /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-AppRuntime-xbox /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-Biometrics /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-CameraCaptureUI /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-CortanaComponents /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-Gaming /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-Maps /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-Networking-XboxLive /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-RemoteDesktopServices /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-SpeechComponents /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-UniversalStore /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-Wallet /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-WalletService /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-BioEnrollment /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Browser /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Client-Drivers-xbox /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-ContactSupport /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Cortana /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-DiagTrack /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Geolocation /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-InsiderHub /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Internet-Browser /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-OneDrive /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-ParentalControls /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-RemoteAssistance /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-RemoteDesktop /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-RemoteFX /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Search2 /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Skype /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-StickyNotes /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Store /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-WindowsFeedback /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Xbox /r
    Dism /Unmount-Image /MountDir:%MOUNT% /commit

    Bld 10240 ltsb n

    Dism /Cleanup-Mountpoints
    rem Set path to install.win and install_wim_tweak.exe files (same directory)
    Set PATH=C:\work
    rem Set path to mount location
    Set MOUNT=%PATH%\mount
    rem Set path to mounted ISO (for .net 3 install)
    Set ISO=Q:
    rem Set path to update directory (cab/msu files)
    set Update=D:\Cabs\MountInstall
    rem Are the above paths correct? If not Cntl C and edit
    pause
    Dism /Mount-Image /ImageFile:%PATH%\install.wim /index:1 /MountDir:%MOUNT%
    Dism /Image:%MOUNT% /enable-feature /featurename:NetFX3 /All /Source:%ISO%\sources\sxs /LimitAccess
    Dism /Image:%MOUNT% /add-package /packagepath:%update%
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Media-FaceAnalysis /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Media-Ocr /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Mobile-Sensors /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-AllowTelemetry /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-AppRuntime-WOW64-xbox /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-AppRuntime-xbox /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-Biometrics /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-CameraCaptureUI /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-CortanaComponents /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-Gaming /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-Maps /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-Networking-XboxLive /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-RemoteDesktopServices /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-SpeechComponents /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-UniversalStore /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-Wallet /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-OneCore-WalletService /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-BioEnrollment /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Browser /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Client-Drivers-xbox /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-ContactSupport /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Cortana /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-DiagTrack /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Geolocation /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-InsiderHub /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Internet-Browser /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-OneDrive /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-ParentalControls /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-RemoteAssistance /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-RemoteDesktop /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-RemoteFX /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Search2 /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Skype /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-StickyNotes /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Windows-Store /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-WindowsFeedback /r
    %PATH%\install_wim_tweak /p "%MOUNT%" /c Microsoft-Xbox /r
    Dism /Unmount-Image /MountDir:%MOUNT% /commit

    Regards
     
  16. rydeordie99

    rydeordie99 MDL Novice

    Dec 30, 2007
    19
    3
    0
    Thanks David for your initial list, I have kept some packages and removed a few more items myself from my Enterprise LTSB N version. I end up with ~1200 packages left.

    Do NOT run these if you don't know what you're doing

    install_wim_tweak.exe /o /c Adobe-Flash-For-Windows /r
    install_wim_tweak.exe /o /c Media-FaceAnalysis /r
    install_wim_tweak.exe /o /c Media-Ocr /r
    install_wim_tweak.exe /o /c Microsoft-Hyper-V /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-AllJoyn /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-AllowTelemetry /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-AppModel-TextMessaging /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-AppRuntime-WOW64-xbox /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-AppRuntime-xbox /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-Biometrics /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-CameraCaptureUI /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-CloudExperienceHost /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-Connectivity-Bluetooth /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-EnterpriseAppManagement /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-Gaming /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-InkPlatform /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-InputService /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-Maps /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-Miracast /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-Multimedia-CastingTransmitter /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-Multimedia-CastingReceiver /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-NetworkDataUsage /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-Networking-XboxLive /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-RemoteDesktopServices /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-SpeechComponents /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-Tethering /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-TroubleShooting /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-Wallet /r
    install_wim_tweak.exe /o /c Microsoft-OneCore-ZipContainer /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Anytime-Upgrade /r
    install_wim_tweak.exe /o /c Microsoft-Windows-AppReadiness /r
    install_wim_tweak.exe /o /c Microsoft-Windows-AssignedAccessLockApp /r
    install_wim_tweak.exe /o /c Microsoft-Windows-BioEnrollment /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Backup /r
    install_wim_tweak.exe /o /c Microsoft-Windows-BusinessScanning /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Client-Drivers-xbox /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Client-Features-Package-AutoMerged-xbox /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Client-Features-WOW64-Package-AutoMerged-xbox /r
    install_wim_tweak.exe /o /c Microsoft-Windows-COM-MSMQ /r
    install_wim_tweak.exe /o /c Microsoft-Windows-ContactSupport /r
    install_wim_tweak.exe /o /c Microsoft-Windows-ContentDeliveryManager /r
    install_wim_tweak.exe /o /c Microsoft-Windows-CoreSystem-Power-Cmdline /r
    install_wim_tweak.exe /o /c Microsoft-Windows-CoreSystem-RemoteFS /r
    install_wim_tweak.exe /o /c Microsoft-Windows-CoreSystem-WinRT /r
    install_wim_tweak.exe /o /c Microsoft-Windows-DirectoryServices-ADAM /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Embedded-BootExp /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Embedded-EmbeddedLogon /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Embedded-ShellLauncher /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Embedded-UnifiedWriteFilter /r
    install_wim_tweak.exe /o /c Microsoft-Windows-FCI /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Geolocation /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Help-ClientUA /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Identity-Foundation /r
    install_wim_tweak.exe /o /c Microsoft-Windows-IIS-WebServer /r
    install_wim_tweak.exe /o /c Microsoft-Windows-IsolatedUserMode /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Killbits-Package /r
    install_wim_tweak.exe /o /c Microsoft-Windows-LanguageFeatures-Handwriting /r
    install_wim_tweak.exe /o /c Microsoft-Windows-LanguageFeatures-OCR /r
    install_wim_tweak.exe /o /c Microsoft-Windows-LanguageFeatures-Speech /r
    install_wim_tweak.exe /o /c Microsoft-Windows-LanguageFeatures-TextToSpeech /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Legacy-Components /r
    install_wim_tweak.exe /o /c Microsoft-Windows-MobilePC-Client-Premium /r
    install_wim_tweak.exe /o /c Microsoft-Windows-MiracastView /r
    install_wim_tweak.exe /o /c Microsoft-Windows-MSMQ /r
    install_wim_tweak.exe /o /c Microsoft-Windows-MultiPoint-Connector /r
    install_wim_tweak.exe /o /c Microsoft-Windows-NetFx-Shared-WCF /r
    install_wim_tweak.exe /o /c Microsoft-Windows-NetFx3-WCF /r
    install_wim_tweak.exe /o /c Microsoft-Windows-NetFx4-WCF /r
    install_wim_tweak.exe /o /c Microsoft-Windows-NFS /r
    install_wim_tweak.exe /o /c Microsoft-Windows-OfflineFiles /r
    install_wim_tweak.exe /o /c Microsoft-Windows-OneDrive /r
    install_wim_tweak.exe /o /c Microsoft-Windows-ParentalControls /r
    install_wim_tweak.exe /o /c Microsoft-Windows-PowerShell-V2 /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Printing-XPSServices /r
    install_wim_tweak.exe /o /c Microsoft-Windows-RasCMAK /r
    install_wim_tweak.exe /o /c Microsoft-Windows-RasRip /r
    install_wim_tweak.exe /o /c Microsoft-Windows-RDC /r
    install_wim_tweak.exe /o /c Microsoft-Windows-RemoteAssistance /r
    install_wim_tweak.exe /o /c Microsoft-Windows-RemoteDesktop /r
    install_wim_tweak.exe /o /c Microsoft-Windows-RetailDemo /r
    install_wim_tweak.exe /o /c Microsoft-Windows-RemoteFX /r
    install_wim_tweak.exe /o /c Microsoft-Windows-RetailDemo /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Shell-HomeGroup /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Shell-SettingSync /r
    install_wim_tweak.exe /o /c Microsoft-Windows-SimpleTCP /r
    install_wim_tweak.exe /o /c Microsoft-Windows-SMB1 /r
    install_wim_tweak.exe /o /c Microsoft-Windows-SNMP /r
    install_wim_tweak.exe /o /c Microsoft-Windows-StickyNotes /r
    install_wim_tweak.exe /o /c Microsoft-Windows-SystemRestore /r
    install_wim_tweak.exe /o /c Microsoft-Windows-TabletPC /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Telnet-Client /r
    install_wim_tweak.exe /o /c Microsoft-Windows-TextPrediction /r
    install_wim_tweak.exe /o /c Microsoft-Windows-TFTP-Client /r
    install_wim_tweak.exe /o /c Microsoft-Windows-TroubleShooting /r
    install_wim_tweak.exe /o /c Microsoft-Windows-VirtualPC /r
    install_wim_tweak.exe /o /c Microsoft-Windows-VirtualXP-Licensing /r
    install_wim_tweak.exe /o /c Microsoft-Windows-WebcamExperience /r
    install_wim_tweak.exe /o /c Microsoft-Windows-WorkplaceJoin /r
    install_wim_tweak.exe /o /c Microsoft-Windows-WinOcr /r
    install_wim_tweak.exe /o /c Microsoft-Windows-WinRT /r
    install_wim_tweak.exe /o /c Microsoft-Windows-WMI-SNMP-Provider /r
    install_wim_tweak.exe /o /c Microsoft-Windows-Xps /r
    install_wim_tweak.exe /o /c Microsoft-WindowsFeedback /r
    install_wim_tweak.exe /o /c Microsoft-Xbox /r
    install_wim_tweak.exe /o /c Server-Help /r
    install_wim_tweak.exe /o /c Windows-Defender /r
     
  17. Shayne

    Shayne MDL Addicted

    Jul 31, 2009
    752
    181
    30
    ^^^^ There we go ;).

    Regards
     
  18. biatche

    biatche MDL Addicted

    Nov 14, 2009
    569
    143
    30
    Say I want to be able to 'search' as in start button -> type a keyboard to search for lets say notepad ; while removing all telemetry crap, cortana how can i help you stuff...

    what should i keep and what should i remove?
     
  19. Shayne

    Shayne MDL Addicted

    Jul 31, 2009
    752
    181
    30
    If you want to search with the new windows search menu you have a long road, if you install classic start menu (3rd party) that road will become shorter.

    Regards
     
  20. David34

    David34 MDL Member

    Sep 6, 2015
    210
    20
    10
    You can add to it BITS package "background intelligent transfer service" responsible for all windows background net access like Windows update starting itself and updating packages or tiles, telemetry background transfer etc

    Plus I see you have removed tethering package you won't be able to use ICS Internet connection sharing means won't be able to share net connection from your laptop or desktop to other devices,