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);


Hide View All Site Content and Recycle Bin in Quick Launch

1. Site Settings > Edit Page
2. Add a Content Editor Web Part anywhere in the page.
3. Click on Edit – Modify Shared Web Part.
4. Click on “Source Editor” button and copy and paste the following code.

.ms-recyclebin {

5. Click Save
6. Expand Layout section inside toolpane.
7. Check the Hidden checkbox and click OK.