Here are some suggestions on how to fix running disk defragmenter problem in Windows.
One of the methods below should be able to help you restore Windows Disk Defragmenter. Try the first solution and then run Disk Defragmenter. If it didn't fix the problem, continue with the second one and etc.
Solution 1: Make sure you have rights to run Microsoft Management Console (MMC) and MSC file.
Solution 2: Go to Start > Run, type regsvr32 msxml3.dll and click OK.