SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
any solution found ? – Salman Aziz Jan 23 '13 at 5:04
Solution of move sites to 'trusted sites' Section solve problem for me. – user39705 Feb 17 '15 at 9:17
up vote 3 down vote accepted

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.

share|improve this answer
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 '15 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.

share|improve this answer
didn't worked for me :-( – itsho Jul 29 '15 at 6:11

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

share|improve this answer
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 '12 at 15:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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