I need power shell script to Remove the +new document and drag drop option for specific document library with full permission?

  • Is there a reason for giving full permission when you do not actually want users to have full permissions? There are myriad ways to upload a document. Just disabling UI features isn't going to be enough if you're trying to prevent uploads.
    – Pete M
    Sep 14, 2016 at 15:43

1 Answer 1


You can hide the + new document and drag drop option for specific document library via CSS by doing the following

  • Open Document Library > Edit Page.
  • Add Script Editor

Add the following CSS Style

#Hero-WPQ2 {

display: none ! important;


To disable drag and drop functionality, check Hide and Disable + new document and drag files option in Document Library in SharePoint 2013

  • Great, But We need to disable the drag and drop functionalities for specific document library @Qassas
    – Debugger
    Sep 14, 2016 at 11:07
  • @SuriyaadevanBalu now, you can't make drag and drop it's hidden ? should you tell me how you can now drag and drop ? Sep 14, 2016 at 12:39
  • I hope we are just hiding the element,I simply drag the file into the document library its uploaded,Content area fully considered as Drop zone @Qassas
    – Debugger
    Sep 14, 2016 at 12:57
  • @SuriyaadevanBalu Please check the updated answer. I wrote the attached article in details to disable drag and drop functionality , hope it helped you, please don't hesitate to tell me if you need more clarification Sep 14, 2016 at 21:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.