How to Disable SharePoint Designer 2013 using PowerShell?

SharePoint Designer 2013 is a great free tool from Microsoft to customize SharePoint sites and create workflows. Why should we disable SharePoint designer? Well, In some cases site owners and designers may damage SharePoint with this Powerful utility, and I’ve seen SharePoint designers become SharePoint destroyers! So, to prevent irreversible damages to SharePoint, we decided to disable the SharePoint designer.

Since there are no upgrade to SharePoint Designer, SharePoint Designer 2013 continue to support creation and modification of SharePoint sites, pages and workflows for SharePoint 2016 and SharePoint Online environments.

How to disable SharePoint designer in SharePoint 2013 or SharePoint 2016?

You can disable Microsoft SharePoint Designer at Web application and site collection levels.

Disable SharePoint designer at central administration
To disable SharePoint designer at central administration for a web application, follow these steps:

  • Go to SharePoint 2016 central Administration site >> Click on Application management
  • Click on Manage web applications >> Select your target Web application to disable SharePoint designer
  • From the ribbon, click on the General settings drop-down and select SharePoint Designer.
    sharepoint 2013 disable sharepoint designer powershell
  • Unselect all check boxes (or whatever applicable to you) and hit OK to save!

To allow SharePoint designer to be used in this web application, revert the above steps by ticking all check boxes.

SharePoint 2013: Disable SharePoint Designer with PowerShell for a Web Application

Let’s disable SharePoint Designer 2013 using PowerShell.

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

#Get the Web Application
$webApp = Get-SPWebApplication -Identity ""

#Disable SharePoint Designer
$webApp.AllowDesigner = $False
$webApp.AllowRevertFromTemplate = $False
$webApp.AllowMasterPageEditing = $False
$webApp.ShowURLStructure = $False


Disable SharePoint designer at the site collection

SharePoint has the ability to disable SharePoint designer at individual site collection level. Here is how to disable the SharePoint designer for a site collection.

  • Login to your SharePoint 2016/2013 site collection (or SharePoint Online) as an administrator.
  • Click on Site Settings gear >> Select Site Settings.
  • Under Site Collection Administration, select SharePoint Designer Settings.
  • Unselect all the options listed.
    disable sharepoint designer site collection powershell

So from now, SharePoint Designer will be disabled for all users including Site collection Administrators! As this is at the site collection level, you’ll have to repeat these steps for each site collection!

Disable SharePoint designer for site collection using PowerShell

Here is the PowerShell to disable SharePoint designer at site collection level.

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

#Get the site
$Site = Get-SPSite ""

#Disable SharePoint Designer
$Site.AllowDesigner = $False
$Site.AllowRevertFromTemplate = $False
$Site.AllowMasterPageEditing = $False
$Site.ShowURLStructure = $False 

This Stops SharePoint designer from changing code! To enable SharePoint designer using PowerShell, set the $False flags to $True.

#Disable SharePoint Designer on to all site collections
Get-SPSite -Limit All | ForEach-Object {
    $Site.AllowDesigner = $False

How to disable SharePoint designer 2010? Refer my another post: Disable SharePoint designer in SharePoint 2010

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

2 thoughts on “How to Disable SharePoint Designer 2013 using PowerShell?

  • April 3, 2019 at 2:24 PM

    Your single Site Collection code seems to be twisted: Disabling by setting to $true ?


Leave a Reply