Skip to content

Commit

Permalink
Fix Windows DoSvc not being disabled #115
Browse files Browse the repository at this point in the history
- Disable DoSvc using registry to support newer Windows versions.
- Add more documentation for DoSvc.
  • Loading branch information
undergroundwires committed Jan 22, 2022
1 parent 44d79e2 commit 43ce834
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/application/collections/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4608,9 +4608,19 @@ actions:
-
name: Delivery Optimization (P2P Windows Updates)
recommend: standard
docs: http://batcmd.com/windows/10/services/dosvc/
docs:
# Delivery Optimization is a cloud-managed solution to offer Windows updates through
# other users' network (peer-to-peer).
- https://docs.microsoft.com/en-us/windows/deployment/update/waas-delivery-optimization
# Delivery Optimization service performs content delivery optimization tasks.
- http://batcmd.com/windows/10/services/dosvc/
# Connects to various Microsoft service endpoints to get metadata, policies, content, device information
# and information of other peers (Windows users).
- https://docs.microsoft.com/en-us/windows/deployment/update/delivery-optimization-workflow
call:
function: DisableService
function: DisableServiceInRegistry
# Using registry way because because other options such as "sc config" or
# "Set-Service" returns "Access is denied" since Windows 10 1809.
parameters:
serviceName: DoSvc # Check: (Get-Service -Name 'DoSvc').StartType
defaultStartupMode: Automatic # Allowed values: Automatic | Manual
Expand Down

0 comments on commit 43ce834

Please sign in to comment.