The Disk Defragmenter (defragsvc) service is used to defragment disks on a schedule that is maintained by the Task Scheduler, which controls when it starts and stops.
This service is installed by default and its startup type is Manual. When the Disk Defragmenter service is started in its default configuration, it logs by on using the Local System account.
The Disk Defragmenter service is dependent upon the following system components:
- Remote Procedure Call (RPC) service
- DCOM Server Process Launcher
- RPC Endpoint Mapper