The Media Creation Tool that MS offers to create a Win-10 iso creates many log files and one in particular in the Windows.~BT\Sources\Panther\setupact.log and in that file towards the end are these lines: Code: 2015-07-30 09:27:14, Info Diagtrack service is NOT available 2015-07-30 09:27:14, Info DiagTrackRunner.exe is not running. 2015-07-30 09:27:14, Info Launching C:\$Windows.~WS\Sources\DiagTrackRunner.exe /UploadEtlFilesOnly 2015-07-30 09:27:49, Info Exit code of C:\$Windows.~WS\Sources\DiagTrackRunner.exe /UploadEtlFilesOnly: 0 2015-07-30 09:27:49, Info Upload files successfully so we can remove all etl files. 2015-07-30 09:27:49, Info SP Closing Panther Logging I noticed that you block "sc config DiagTrack start= disabled > NUL 2>&1" in your script, but I was wondering if DiagTrackRunner.exe is a different program, or the same one started by the DiagTrack service?
Disabling Default Windows services can always create Problems with other Microsoft Software. You can either use the UNDO script and revert back to Default or use an alternative tool to create bootable usb drives, like rufus.
Besides quoting the following posts I found more stuff on msfn you can modify for your script (link posted as spoiler due to post count): source: Spoiler msfn.org/board/topic/174160-guide-disable-data-collection-in-windows-10/ I'm not sure if there's more to be disabled, HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger shows a lot of stuff. But i'll leave that up to you, uniQ168 ;-)
Well, I checked these Tasks, select from here more to add (for example I have SSD disk, and not using Windows Media Player/Maps/FamilySafety/RemoteAssistance/App Store): Code: schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\DiskCleanup\SilentCleanup" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Defrag\ScheduledDefrag" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Location\Notifications" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Location\WindowsActionDialog" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Maps\MapsToastTask" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Maps\MapsUpdateTask" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Mobile Broadband Accounts\MNO Metadata Parser" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Offline Files\Background Synchronization" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\RemoteAssistance\RemoteAssistanceTask" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyMonitor" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyRefresh" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Shell\IndexerAutomaticMaintenance" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Automatic App Update" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /Disable > NUL 2>&1 schtasks /Change /TN "Microsoft\Windows\Windows Media Sharing\UpdateLibrary" /Disable > NUL 2>&1
Question.. if for instance there are some changes between version 1.6 and 1.7 what to do.? Do i just run 1.7 on top of 1.6 and repeat the choices or do i have to undo 1.6 then run 1.7.? Also any chance of included removal of short cut arrows in the script.? again, thanks for the great job you are doing.
AFAIK it would be best to undo the changes first and run the new version, but it depends what changes have been made and if uniQ168 decides to implement workarounds for it. edit: regard what i said, uniQ168 has spoken! ;-)
does that mean that if i rerun the script and change all my yes answers for no's then the values in the registry will revert back to the original.? In that case what is the point of the undo script.?
i just run 1.6 yesterday so i just need to run 1.7 and select y/n or should i undo, restart pc and run 1.7 ?
"- There is no proper way to reinstall default apps. You'll have to create a new user profile to undo this." Yes their is... I did it to my own computer... Code: Code: Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Choosing 'no' for tweaks will skip them, the Undo script is (atleast for now) required to revert the changes u've made ;-)
@uniQ168 Would be nice to add an option to uninstall the metro apps windows feedback and support contact.
@uniQ168 Thanks for this tool SO SO much is there a way to run it automatically if i integrate it into the iso ? i have kms pico already integrated and i would like this to run straight after setup to disable telemetry upon install!
You know what would be awesome If this program was put as a GUI and we were able to select which ones we wanted instead of typing y/n every single time. That would be cool @uniq168 Do you know how to do that if not I know someone who specializes in that type of stuff. Update: He's been contacted and should be here shortly
Now you got me thinkin I don't know how to answer this question. Sorry about that I know it's possible to integrate the Batch file into the installation but I don't know how you would do it with an exe where you have to select stuff...