mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 22:55:52 -06:00
microwin remove expedited apps (#2555)
This commit is contained in:
parent
41ac93d09a
commit
0919e78693
@ -303,6 +303,22 @@ public class PowerManagement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Prevent Windows Update Installing so called Expedited Apps
|
||||||
|
@(
|
||||||
|
'EdgeUpdate',
|
||||||
|
'DevHomeUpdate',
|
||||||
|
'OutlookUpdate',
|
||||||
|
'CrossDeviceUpdate'
|
||||||
|
) | ForEach-Object {
|
||||||
|
Write-Host "Removing Windows Expedited App: $_"
|
||||||
|
|
||||||
|
# Copied here After Installation (Online)
|
||||||
|
# reg delete "HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Orchestrator\UScheduler\$_" /f | Out-Null
|
||||||
|
|
||||||
|
# When in Offline Image
|
||||||
|
reg delete "HKLM\zSOFTWARE\Microsoft\WindowsUpdate\Orchestrator\UScheduler_Oobe\$_" /f | Out-Null
|
||||||
|
}
|
||||||
|
|
||||||
reg add "HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f
|
reg add "HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f
|
||||||
Write-Host "Setting all services to start manually"
|
Write-Host "Setting all services to start manually"
|
||||||
reg add "HKLM\zSOFTWARE\CurrentControlSet\Services" /v Start /t REG_DWORD /d 3 /f
|
reg add "HKLM\zSOFTWARE\CurrentControlSet\Services" /v Start /t REG_DWORD /d 3 /f
|
||||||
|
Loading…
Reference in New Issue
Block a user