This post will explain how to remove an Office Web Apps extension to not to do previews in Shareoint 2013.
In this case, we will remove an entire “OneNote” application, but of course it ca be done at doctype level.
First of all, is it necessary to open as administrator an Sharepoint 2013 Shell and type the following:
remove-spwopibinding -application “Onenote”
In case we want to re-add the application removed, we have to type the following:
new-spwopibinding -application “onenote” -servername “OWAServerName”
Hope it helps!