Increase the size of your ActiveSync

Increase the size of your ActiveSync

In this article, I will cover the steps required to increase the size of your ActiveSync limit. ActiveSync is a Microsoft protocol that allows users to synchronize their email, calendar, and contacts across multiple devices. By default, the size of ActiveSync is limited to 10 MB, but in some cases, such as when using AirWatch (now Workspace One), you may need to increase the size, otherwise the attachment may simply not open.

Steps to proceed with the size increase

This can be done by making a few simple changes to the web.config file and the first step is to locate the web.config file. This file can be found in the following location: C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Sync once you have located the file, open it in a text editor such as Notepad.

The next step is to look for the following line of code:

<add key="MaxDocumentDataSize" value="10240000">

This line sets the maximum size of ActiveSync to 10MB. To increase the size, you will need to replace this line with the following:

<add key="MaxDocumentDataSize" value="51200000">

This will set the maximum size of ActiveSync to 50MB.

Next, look for the following line of code:

<httpRuntime maxRequestLength="10240" fcnMode="Disabled" />

This line sets the maximum size of the HTTP request to 10MB.

To increase the size, you will need to replace this line with the following:

<httpRuntime maxRequestLength="51200" fcnMode="Disabled" />

This will set the maximum size of the HTTP request to 50MB.

Finally, you will need to restart your IIS Web Server for the changes to take effect. This can be done by opening the IIS Manager, selecting the server, and then clicking on the Restart button or with the iisreset command.

Conclusion

It’s important to note that increasing the maximum size of ActiveSync may have an impact on the performance of your server. You should monitor your server’s performance closely after making these changes and make any necessary adjustments. Additionally, it’s always recommended to have a backup of your web.config file before making any changes.

Hopefully you now understand how to increase the size of your ActiveSync. You can find more interesting article on the wansec blog and you can check a Microsoft article on this subject.

Gregory

Gregory

I'm Gregory from Switzerland, and this is a running log of thoughts, findings, and lessons learned over more than 20 years in IT. With a deep passion for networks and security, I focus on architecture, governance, and emerging technologies. My journey has taken me through complex challenges and continuous learning across various sectors. While this space mainly serves as my personal knowledge base, I hope that sharing these notes might also offer insights or inspiration to others navigating the ever-evolving digital landscape.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

28 − 23 =