Cannot defragment C: drive: The parameter is incorrect 0x80070057

chazzahc101

Honorable
Dec 19, 2013
2
0
10,510
I was trying to transfer my C: drive to an ssd, and the internet told me it would be good to defragment my C: drive one last time before transferring. When I tried to optimize the C: drive, Windows would analyze it, and get up to 3% through "pass one", then nothing else would happen.

Event viewer then gave me an error saying that the defrag could not complete because the parameter is incorrect. I then opened up command prompt as an admin, and typed sfc /scannow to begin a system scan. The scan completed and told me that parts of my system were corrupt and it could not repair it. After I viewed the log sfc made I found out that (most of) the corrupt files were in some folder called "amd64"

I then typed chkdsk /r /f in the command prompt. The computer reset and check disk is now stuck at 10%. I still have no idea how to repair the defrag program, what amd64 is and why it's corrupt, or whether chkdsk will ever finish. I would be very thankful if someone could help me fix this/these problem(s).
 
I'm not sure about the checkdisk, but I'm guessing you're using windows 8.1 64 bit. It seems to be a common problem, possibly related to folder names (using special characters) or changing around partitions. AMD64 is a pretty important folder, but sfc sometimes has problems with verifying driver files and Windows Updates (in Windows 7, don't know much about 8) have sometimes resulted in SFC reporting unfixable errrors.
http://superuser.com/questions/699480/defragmentation-error-the-volume-c-was-not-optimized
http://www.eightforums.com/performance-maintenance/34312-windows-8-1-defrag-parameter-incorrect-0x80070057.html
 


In order to reinstall windows i need to get checkdisk to stop. I still have some files I would like to recover from that drive, and I would like to take a screenshot of my desktop, so is there a way to abort check disk without the risk of losing data?