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: Newest
-
Anonymous
2013-08-13T15:03:07+00:00 tried all the above, finally reinstalled os and it still it has the same problem.
cant understand it as Error checking on the drive checks out ok
-
Anonymous
2013-07-27T13:07:05+00:00 Hi,
To check for any integrity violations you may run System File Checker scan. To do so, refer to the following steps:
a) Open the 'Command prompt' in elevated mode; to do that, in search for type 'cmd' and right-click on it to select 'Run as Administrator'.
b) Type in the password if it prompts.
c) In the cmd prompt type: sfc /scannow
Also, check the drive for errors. Perform the steps under 'To repair a drive' in the following article 'Improve performance by optimizing your hard drive'.
NOTE: While performing error check if bad sectors are found on an hard drive, it will try to repair them. When attempting to repair, you might lose the data available on that bad sector.
Hope the information.
-
Anonymous
2013-07-21T21:08:31+00:00 I removed my fix as the error came back....im still at a loss why this is happening