This issue is officially corrected by Microsoft. Go here to get the Hotfix:HotFix for Event Log Error 257
optimize drives The parameter is incorrect. (0x80070057)
cant optimize one of my storage drives. its starts of analyzing drive then just never actually does a defrag.
in event viewer im getting this error for the drive in question: "was not optimised because an error was encountered: The parameter is incorrect. (0x80070057)".
the drive passes error checking with no problems.
any help would be greatly appreciated
Windows for home | Previous Windows versions | Performance and system failures
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
I finally found a solution that worked for me here:
Open an Administrator command prompt and make use of fsutil:
fsutil usn deletejournal /D <volume pathname>
fsutil usn createjournal m=<max-value> a=<alloc-delta> <volume pathname>
Eg :
fsutil usn deletejournal /D C:
fsutil usn createjournal m=1000 a=100 C:
After using these commands I was able to defragment C: without an error showing up in the event viewer. I'm not sure if this is a permanent or temporary fix, and someone mentioned in that thread that it didn't work with a server so YMMV.
47 additional answers
Sort by: Most helpful
-
Anonymous
2014-06-30T05:33:04+00:00 Both my laptop and desktop do this on the system reserved partition. SSD on desktop. HDD on laptop.
Hotfix says not applicable to my PC.
I just disabled auto optimise.
I still get the "needs optimisation" "but confused as to how" in the defrag window.
Surely am I doing something wrong Microsoft wouldn't let a bug that has made 6 pages of Google search run for this long with all the staff and resources they have?
-
Anonymous
2014-05-06T14:25:42+00:00 Do it manually.