Everytime I open a document in SharePoint it asks:

You are about to open Name: xxxxxx From: xxxxxxx

How would you like to open this file? Read Only Edit

How do I disable this, so it opens directly into read only?

  • any solution found ? Jan 23, 2013 at 5:04
  • Solution of move sites to 'trusted sites' Section solve problem for me.
    – user39705
    Feb 17, 2015 at 9:17

3 Answers 3


There's no simple way of doing that - Browser File Handling won't help you, because it is useful only when you want to prevent "Save document to disk" behavior.

Try to locate docicon.xml file and search there for one of your file extensions you want to open, and try to add there attribute OpenControl="". If that won't help, you will need to do some more customizations in aspx files probably with the DispEx method.

  • I had to add OpenApp="" as well. so, my mapping looked like this eventually: <Mapping Key="myextention" Value="MyIcon.png" OpenControl="" OpenApp="" />
    – itsho
    Jul 29, 2015 at 12:29

Check out the Browser File Handling section of this article. I think you'll want to set it to Permissive to automatically open the documents.


  • didn't worked for me :-(
    – itsho
    Jul 29, 2015 at 6:11

Add it to your trusted sites in IE and it will go away...

  • I have tried all the above - adding 'OpenControl=""' to the docicon.xml, BrowserFilehandling set to permissive, adding it to the trusted sites It still happens
    – user9113
    Jun 26, 2012 at 15:46

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.