reg add "HKLM\Software\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v "DisableSettingSync" /t REG_DWORD /d 2 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v "DisableSettingSyncUserOverride" /t REG_DWORD /d 1 /f psexec -S cmd schtasks /change /disable /tn "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" schtasks /change /disable /tn "\Microsoft\Windows\Application Experience\PcaPatchDbTask" schtasks /change /disable /tn "\Microsoft\Windows\Application Experience\ProgramDataUpdater" schtasks /change /disable /tn "\Microsoft\Windows\Application Experience\StartupAppTask" schtasks /change /disable /tn "\Microsoft\Windows\SettingSync\BackgroundUploadTask" schtasks /change /disable /tn "\Microsoft\Windows\SettingSync\NetworkStateChangeTask"