Cannot delete a document library

Log in to the SharePoint Server and execute the Powershell script below.

$web = Get-SPWeb("http://YourSite")

$list = $web.Lists["Documents"]

$list.AllowDeletion = $true


You can now go to the Document Library and try deleting it or you can just run the line below.

Ghantt View Default Zoon


Add a Media ContentScript Editor Web Part and add the following code.

src=” type=“text/javascript”>
    $(document).ready(function () {
        var count = 0;
        setInterval(function () {
            if (count 2) {
                for (var i = 0; i 2; i++) {
                    if (WebPartWPQ2_JSGridController != null) {

        }, 100);


How to change the password of SharePoint service accounts

  • Change the password in AD Users and Computers as you would normally.
  • Log in to the SharePoint Server
  • Launch SharePoint Management Shell as an administrator.
  • Execute the following:
$newpassword=ConvertTo-SecureString -String “password” -AsPlainText -Force
Set-SPManagedAccount -Identity $username -ExistingPassword $newpassword -UseExistingPassword:$true
  • This can take a minute or two to complete. There’s a lot to update here and these changes are intricate.
  • Now, open the Windows Server Services control panel on the SharePoint Server machine you are currently logged into, and then sort by the Log On As
  • Scroll down until you see the services having the server farm account (eg, spFarm).
  • For each of these services:
  • 1) verify that it is running;
  • 2) if its Startup Type has been changed to Disabled, change it back to Auto;
  • 3) if it is not running then start it;
  • 4) if on trying to start it, it prompts you for logon information, enter the appropriate logon info, including the new password, and then start it.
  • Go back to Central Administration and System Settings > Services on Server.
  • Start any service here that should be started but that stopped after you changed the password.

Remove the left navigation menu in SharePoint 2013

There are a few ways to do this.

This will work, but if you also want to get rid of the space this is not going to be a solution because “Site Contents” will be still on. Check my blog for information about hiding “Site Contents”.

– Open the  site in SharePoint Designer
– Uncheck Display Quick Launch under Settings
– Save

Even if you hide “Site Contents”, the space won’t be deleted. Try the following to delete the space used for the Left Navigation Menu if that is what you want.

Add the following code to your existing .css file if you are using one or add the code to a Script Editor webpart.

.ms-core-navigation { DISPLAY: none }
#contentBox { margin-left: 0px }

When you delete the left navigation menu, the web parts will be moved to the left. Modify the value of the margin-left if you want to add space between the left margin and the web part.

How to hide “Site Contents” from the left navigation menu

–  Open the master page in SharePoint Designer
– Check Out – Edit File in Advanced Mode

– Look for “PlaceHolderQuickLaunchBottom” content-place holder in your custom master page and comment out the DIV tag as shown below.

<asp:ContentPlaceHolder id=”PlaceHolderQuickLaunchBottom” runat=”server”>
<!–<div class=”ms-core-listMenu-verticalBox”>
CssClass=”ms-core-listMenu-item ms-core-listMenu-heading” />

Features that are not available in any version of SharePoint Online

Below is the list of some of the features that are not available in any version of SharePoint Online. See the article below for more information.

–  Custom Site Definitions

–  Custom Site Provisioning
–  Alternate Access Mapping (AAM)
–  Distribute Cache
–  Host Header Site Collections
– Email enabled lists and libraries