question

navinjk avatar image
0 Votes"
navinjk asked vipullag-MSFT commented

Event ID 257 Azure VM

We are recieving this events on a Azure VM, What can be done to fix this ?

Log Name: Application
Source: Microsoft-Windows-Defrag
Date: 16/06/2021 23:39:20
Event ID: 257
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: xxxxxxxxxxxxxxxx
Description:
The volume Windows (C:) was not optimised because an error was encountered: Neither Slab Consolidation nor Slab Analysis will run if slabs are less than 8 MB. (0x8900002D)

azure-virtual-machines
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
Based on your description this case is more related to Azure, thus I removed the windows-server tag.

Thanks for your understanding,
Best regards,
Danny

1 Vote 1 ·

@navinjk

Any update on the issue?

0 Votes 0 ·

1 Answer

vipullag-MSFT avatar image
0 Votes"
vipullag-MSFT answered vipullag-MSFT edited

@navinjk

According to the error message, that the problem maybe due to not using the slab consolidation size as per the cluster size and defrag is failing for the same reason.​

More info :​

https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/defrag

Please check and try this hotfix as mentioned here.

If this does not fix the issue, then support team needs to check on this.


Hope this helps.

Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.