File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -258,6 +258,13 @@ Write-Host "Disabling Telemetry:"
258258& ' reg' ' add' ' HKLM\zNTUSER\Software\Microsoft\Personalization\Settings' ' /v' ' AcceptedPrivacyPolicy' ' /t' ' REG_DWORD' ' /d' ' 0' ' /f' | Out-Null
259259& ' reg' ' add' ' HKLM\zSOFTWARE\Policies\Microsoft\Windows\DataCollection' ' /v' ' AllowTelemetry' ' /t' ' REG_DWORD' ' /d' ' 0' ' /f' | Out-Null
260260& ' reg' ' add' ' HKLM\zSYSTEM\ControlSet001\Services\dmwappushservice' ' /v' ' Start' ' /t' ' REG_DWORD' ' /d' ' 4' ' /f' | Out-Null
261+ # # Prevents installation or DevHome and Outlook
262+ Write-Host " Prevents installation or DevHome and Outlook:"
263+ & ' reg' ' add' ' HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Orchestrator\UScheduler\OutlookUpdate' ' /v' ' workCompleted' ' /t' ' REG_DWORD' ' /d' ' 1' ' /f' | Out-Null
264+ & ' reg' ' add' ' HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Orchestrator\UScheduler\DevHomeUpdate' ' /v' ' workCompleted' ' /t' ' REG_DWORD' ' /d' ' 1' ' /f' | Out-Null
265+ & ' reg' ' delete' ' HKLM\zSOFTWARE\Microsoft\WindowsUpdate\Orchestrator\UScheduler_Oobe\OutlookUpdate' ' /f' | Out-Null
266+ & ' reg' ' delete' ' HKLM\zSOFTWARE\Microsoft\WindowsUpdate\Orchestrator\UScheduler_Oobe\DevHomeUpdate' ' /f' | Out-Null
267+
261268# # this function allows PowerShell to take ownership of the Scheduled Tasks registry key from TrustedInstaller. Based on Jose Espitia's script.
262269function Enable-Privilege {
263270 param (
You can’t perform that action at this time.
0 commit comments