kwizcom banner advertisement

Enable Blank Site Template in SharePoint 2016

Problem: Blank site template is not available in SharePoint 2013 and SharePoint 2016.

If you try to create a site collection from SharePoint Central Administration site or try to create a subsite, you'll find blank site template missing from the create site collection page. Unlike its previous versions, SharePoint 2013 on wards certain site templates are hidden from the user interface. 
sharepoint 2016 blank site template not available

So, How to create a blank site collection in SharePoint 2016?

PowerShell to Create a site collection using blank site template
We can create a site collection using blank site template with PowerShell. Blank site template id in SharePoint 2016 or SharePoint 2013 is: STS#1

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

#Define Parameters
$Template = Get-SPWebTemplate "STS#1"
$SiteURL="http://intranet.crescent.com/sites/blank"
$SiteOwner="Crescent\SPAdmin"

#Create blank site collection
New-SPSite -Url $SiteURL -OwnerAlias $SiteOwner -Template $Template

Similarly, you can create a subsite using New-SPWeb cmdlet. You can get all available web template IDs with the cmdlet Get-SPWebTemplate
sharepoint blank site template id

How to enable blank site template in SharePoint 2016?
Blank site template in SharePoint 2013 is hidden by default. To enable blank site templates in SharePoint 2016, we got to edit the WEBTEMP.XML file located in "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\TEMPLATE\1033\XML" (For SharePoint 2013, its on 15 hive! So the location of webtemp.xml would be: "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\1033\XML"). Please note, this location is default for English Language pack, for other Language choose the language folder accordingly.
  • Navigate to the location of , make a copy of the file for backup purpose.
  • Open the WEBTEMP.XML file in notepad, search for "Blank Site"
  • Set the attribute from Hidden="TRUE" to Hidden="FALSE"
    enable blank site template sharepoint 2016
  • Save and close the file.
  • Do an IISRESET
In a Multi-server Farm environment, these steps should be repeated in all web front end servers!

Now, You'll find the blank site template in site collection creation page from Central Administration or in subsite creation page from any site collection!
blank site template sharepoint 2016
Enable Blank Site Template in SharePoint 2016 Enable Blank Site Template in SharePoint 2016 Reviewed by Salaudeen Rajack on 5:11 PM Rating: 5

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.