Increase Maximum File Upload Size in SharePoint

SharePoint 2013’s default file upload size is 250 MB! To upload large files, you have to change the “Maximum Upload Size” setting in SharePoint 2013 Central administration site.

How to increase file upload size in SharePoint 2013 / 2016?

The maximum upload size setting is configured per web application. To change the maximum upload size in SharePoint 2013, do the following:

  • Browse to SharePoint 2013 Central Administration site
  • Navigate to Application Management >>Manage Web Applications 
  • Select your web application and click on Web Application General Settings in the ribbon
    sharepoint 2013 maximum file upload size
  • In the web application general settings page, you can set the “Maximum Upload Size” value to the value you desire (Say, you want to increase upload size to 500 MB!) and hit OK to save your changes.
    sharepoint 2013 upload size limit

This changes maximum upload size in SharePoint 2013. You can specify the maximum value up to 2 gigabytes (or 2047 megabytes as specified in Central Administration). 

In my SharePoint 2013- Windows Server 2012 R2 environment, This is the only change I’ve made to add support for large files. No more web.config edits, IIS changes! Just a Central Admin change worked fine!!

Set maximum upload file size in SharePoint 2013 using PowerShell:

SharePoint 2013 maximum upload file size can be set using PowerShell as well. Here is how:

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

Function Set-MaxFileUploadSize($WebAppURL, $Size)
{
    #Get the web applicatiin 
    $WebApp =  Get-SPWebApplication | where {$_.url -eq $WebAppURL }

    If($WebApp)
    {
        #Increase Maxium File upload size
        $WebApp.MaximumFileSize = $Size
        $WebApp.update()
            
        write-host "Maximum File Upload Size has been updated to $($Size) MB!" -ForegroundColor Green
    }
    else
    {
        write-host "Could not find a web application with URL: $($WebAppURL)" -ForegroundColor red
    }
 }

 #Call the function to set max file upload size
 Set-MaxFileUploadSize "https://pmo.crescent.com" "500"

In some cases, You may have to adjust timeout, MaxRequestLength values in IIS and Web.config files. Here is the Microsoft KB article addressing this issue along with workarounds: https://support.microsoft.com/kb/925083

Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

Leave a Reply

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