File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,22 @@ public class PowerManagement {
303
303
}
304
304
}
305
305
306
+ # Prevent Windows Update Installing so called Expedited Apps
307
+ @ (
308
+ ' EdgeUpdate' ,
309
+ ' DevHomeUpdate' ,
310
+ ' OutlookUpdate' ,
311
+ ' CrossDeviceUpdate'
312
+ ) | ForEach-Object {
313
+ Write-Host " Removing Windows Expedited App: $_ "
314
+
315
+ # Copied here After Installation (Online)
316
+ # reg delete "HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Orchestrator\UScheduler\$_" /f | Out-Null
317
+
318
+ # When in Offline Image
319
+ reg delete " HKLM\zSOFTWARE\Microsoft\WindowsUpdate\Orchestrator\UScheduler_Oobe\$_ " / f | Out-Null
320
+ }
321
+
306
322
reg add " HKLM\zSOFTWARE\Microsoft\Windows\CurrentVersion\Search" / v " SearchboxTaskbarMode" / t REG_DWORD / d 0 / f
307
323
Write-Host " Setting all services to start manually"
308
324
reg add " HKLM\zSOFTWARE\CurrentControlSet\Services" / v Start / t REG_DWORD / d 3 / f
You can’t perform that action at this time.
0 commit comments