Windows 8 and 8.1 Forums


Error defragging Windows 8.1

  1. #1


    Posts : 3
    Windows 8.1

    Error defragging Windows 8.1


    I posted this on the Microsoft forums, but maybe i'll receive better support here. (they're no help unfortunately...)

    When I try to defrag my hard drive I receive the following error:

    Code:
    C:\WINDOWS\system32>defrag c:
    Microsoft Drive Optimizer
    Copyright (c) 2013 Microsoft Corp.
    
    Invoking defragmentation on (C:)...
    
    
    Pre-Optimization Report:
    
    
            Volume Information:
                    Volume size                 = 440.89 GB
                    Free space                  = 303.50 GB
                    Total fragmented space      = 4%
                    Largest free space size     = 193.86 GB
    
    
            Note: File fragments larger than 64MB are not included in the fragmentation statistics.
    
    
    The parameter is incorrect. (0x80070057)

    What causes this error? How can I fix it?

    What I've already tried:

    chkdsk C:
    DISM.exe /Online /Cleanup-image /Scanhealth
    DISM.exe /Online /Cleanup-image /Restorehealth
    sfc /scannow
    <reboot>
    Problem persists.

    None of those operations gave any errors.
    I have a regular HDD (not a SSD).
    I checked the SMART values - no problems.

    This is the first time I've tried defragging since updating to 8.1.
    So it may have been caused by updating to 8.1.

      My System SpecsSystem Spec

  2. #2


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    Are you trying to defragment from a command prompt ?

    If so try this instead:

    Click image for larger version
      My System SpecsSystem Spec

  3. #3


    Posts : 3
    Windows 8.1


    Thanks for the reply.

    When I try that, it gets to: Pass 1: 0% relocated
    Then it stops and doesn't go any further.

    And an error is logged in the event viewer:
    Code:
    The volume (C:) was not optimized because an error was encountered: The parameter is incorrect. (0x80070057)
    
    
      My System SpecsSystem Spec

  4. #4


    Ohio
    Posts : 473
    Windows 8 Pro


    There is a good free defrag utility called Auslogics Disk Defrag that can be downloaded. I have used it for years. In my opinion it's better and faster than Windows ever had.
      My System SpecsSystem Spec

  5. #5


    Posts : 3
    Windows 8.1


    Quote Originally Posted by Frank1 View Post
    There is a good free defrag utility called Auslogics Disk Defrag that can be downloaded. I have used it for years. In my opinion it's better and faster than Windows ever had.
    I know I could use a third party defrag program. But it bothers me knowing something is wrong with my OS. And I would like to get it worked out regardless
      My System SpecsSystem Spec

  6. #6


    Ohio
    Posts : 473
    Windows 8 Pro


    Quote Originally Posted by Occlusion View Post
    Quote Originally Posted by Frank1 View Post
    There is a good free defrag utility called Auslogics Disk Defrag that can be downloaded. I have used it for years. In my opinion it's better and faster than Windows ever had.
    I know I could use a third party defrag program. But it bothers me knowing something is wrong with my OS. And I would like to get it worked out regardless
    I would agree with that as it is best to find out what the problem is.
      My System SpecsSystem Spec

Error defragging Windows 8.1
Related Threads
Defragging SSD Hybrid in Drivers & Hardware
I googled SSD Hybrid Defrag and read some of the answers on 'to defrag or not defrag' - there seems to be two minds on this. 1. Do not defrag the Hybrid at all, the SSD section is a virtual drive that automatically stores the files, progs that you use the most for hi speed access. Any attempt...
Windows 8, "File: \BCD Error Code: 0xc0000034" Good Day Everyone, Trying to resolve this error: https://www.eightforums.com/attachments/performance-maintenance/43833d1401090904t-windows-8-missing-file-bcd-error-code-0xc0000034-20140526_015104.jpg I...
About Defragging in Performance & Maintenance
at what percent do i need to defrag on my windows 8?
Hi, I was getting the error in the picture when I shut down Windows 8 after a session. It seems to have gone with the latest update but worth observing nonetheless.33277 Thanks.
Hello. So I've just finished updating my Windows 8 to Windows 8.1, the installation went smoothly but now there is a problem - which is the Skydrive folder (that is located in in my users folder) won't synchronize with the following error "Error: We can't connect to your SkyDrive because the...
Read more at: Fragging wonderful: The truth about defragging your SSD | PCWorld See also: How to Use "Optimize Drives" to Defrag HDD and TRIM SSD in Windows 8 and 8.1
Eight Forums Android App Eight Forums IOS App Follow us on Facebook