On those lines I see this : Code: reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 1 /f reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v DontOfferThroughWUAU /t REG_DWORD /d 1 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f and this: Code: reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v "PreventDeviceMetadataFromNetwork" /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MRT" /v "DontOfferThroughWUAU" /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f They do exactly the same no? it's just repeated code. One tweak that i usually do on my machines is to disable all ipv6 transition technologies because most people already have native ipv6 and all translations seems to slow down things (like p2p). Code: netsh int ipv6 isatap set state disabled netsh int ipv6 6to4 set state disabled netsh int teredo set state disable sc config iphlpsvc start= disabled There's also a way to do that with powershell. One other small thing that I do that CAN break things is to force .net applications to always use the latest framework version installed on your computer. So you won't need to install .net 3.5 because most software will run just fine with .net 4.x. This saves space and resources by not having to install older dotnet versions (like net framework 3.5) Code: reg add hklm\software\microsoft\.netframework /v OnlyUseLatestCLR /t REG_DWORD /d 1 reg add hklm\software\wow6432node\microsoft\.netframework /v OnlyUseLatestCLR /t REG_DWORD /d 1 Abraço
Those 2 can be removed but not by "traditional" methods, they require an external application called install_wim_tweak: Code: install_wim_tweak.exe /o /l install_wim_tweak.exe /o /c Microsoft-Windows-ContactSupport /r install_wim_tweak.exe /h /o /l EDIT: I believe it changes a few reg keys to make packages visible and removable, if so it's just a question of taking a reg snapshot, making it visible without removing it, taking a 2nd reg snapshot and compare both to filter out the keys, that way the tool won't be needed. EDIT2: The changed keys seem not to be "user friendly", so the only way to remove the apps is using install_wim_tweak.exe. The option to remove could be added to the batch but it will require install_wim_tweak.exe to be placed in the same folder as the batch.
check this tnx's thread about manually delete forums.mydigitallife.net/threads/64793-tn-s-Guide-to-removing-One-Drive-and-other-packages-via-DISM?p=1134389#post1134389
One extra information. This code at line 1135 Code: DEL /S /Q "%Windir%\SoftwareDistribution\Download\*.*" It deletes all files inside the folders and subfolders but not the folders itself. So it would be a good idea to replace it with this Code: RMDIR /S /Q "%Windir%\SoftwareDistribution\Download\" This will delete all files and subfolders. The download folder will be recreated next time the windows update service is restarted.
I think he found a way to manually do what install_wim_tweak.exe does, but on a WIM. Does it also work on an installed Windows? I also noticed he still needs an external tool called SetACL.exe. I guess some things are simply not possible to do with just a batch and Windows 10 native tools...
Sorry guys i am So busy these three days, that's why am not answering your questions But i read all your comment and i will respond as soon as i get Home .
I use this to disable IPv6 on all interfaces, IPv6 causes problems and slowdowns only, it is hardly used, not to mention privacy issues. reg add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" /v "DisabledComponents" /t REG_DWORD /d "255" /f As for disabling IP Helper, it is required to login to Microsoft Account (MS Account, Cortana, Store).
Lol, So yo are that guy who deletes those empty Folders to save KBs of space but wait how it's not when you read a 4000 line Batch files Lol (Which is a great thing of developers) I changed it Thanks.