How to Enable only 2013
mode in SharePoint 2013 or how to remove the 2010 mode in SharePoint 2013
This default behavior available when creating a new site collection. This can be easily changed at the web application level by using the server-side object model or Windows Power Shell
Follow the below instructions to do this.
Solution:
Go to SharePoint 2013 Management Shell and execute the below commands.
$wa=Get-SPWebApplication [WebApplication_URL]
$wa
$wa.CompatibilityRange
$wa.CompatibilityRange = [Microsoft.SharePoint.SPCompatibilityRange]::NewVersion
$wa.Update()
$wa.CompatibilityRange
$wa
$wa.CompatibilityRange
$wa.CompatibilityRange = [Microsoft.SharePoint.SPCompatibilityRange]::NewVersion
$wa.Update()
$wa.CompatibilityRange
After executing the commands. As you can see in the output Windows, the
compatibility level for the web application is now 15. so it’s not possible to
create new site
collections in a SharePoint 2010 mode as before.
if you try to
create a new site collection under the modified web application you will see
that there is no option for choosing between a SharePoint 2010 mode or a
SharePoint 2013 mode once. The site collection will be created in the 2013
experience version.