title: IT Hit WebDAV PowerPoint and Excel Unlocking before document opens
body: <p>I have implemented the IT Hit WebDAV server on our company website. I've been looking at the logs and I can see it unlocks PowerPoint presentation twice. Once just before it open and then when you close MS PowerPoint.</p>
  
  <p>Can I stop this from happening so when you open a PowerPoint document it unlock only when the document closes like MS Word.</p>
  
  <p>When I open a Word document it only unlocks it once when you close the MS Word.</p>
  
  <p>As you can see from the logs below there are less request in MS Word than in MS PowerPoint. Both documents I followed the same process:</p>
  
  <ol>
  <li>Open</li>
  <li>Edit</li>
  <li>Save</li>
  <li>Close</li>
  </ol>
  
  <p>The reason why I would like it to unlock only once is so I can implement some custom code for security which should only run when the user has finished using the document. </p>
  
  <p><strong>Microsoft Word</strong></p>
  
  <p>[29] [OPTIONS] /DAV/</p>
  
  <p>[45] [HEAD] /DAV/437f144e-c42a-4e8d-97b2-45fa3d1f0a71/Document.docx</p>
  
  <p>[99] [OPTIONS] /DAV/</p>
  
  <p>[79] [LOCK] /DAV/437f144e-c42a-4e8d-97b2-45fa3d1f0a71/Document.docx</p>
  
  <p>[99] [GET] /DAV/437f144e-c42a-4e8d-97b2-45fa3d1f0a71/Document.docx</p>
  
  <p>[54] [PROPFIND] /DAV/437f144e-c42a-4e8d-97b2-45fa3d1f0a71/Document.docx</p>
  
  <p>[74] [LOCK] /DAV/437f144e-c42a-4e8d-97b2-45fa3d1f0a71/Document.docx</p>
  
  <p>[94] [PUT] /DAV/437f144e-c42a-4e8d-97b2-45fa3d1f0a71/Document.docx</p>
  
  <p>[94] [UNLOCK] /DAV/437f144e-c42a-4e8d-97b2-45fa3d1f0a71/Document.docx</p>
  
  <p><strong>PowerPoint</strong></p>
  
  <p>[89] [OPTIONS] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/</p>
  
  <p>[86] [HEAD] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[89] [OPTIONS] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/</p>
  
  <p>[86] [LOCK] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[89] [GET] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[97] [PROPFIND] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[65] [HEAD] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[68] [UNLOCK] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[97] [OPTIONS] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/</p>
  
  <p>[86] [HEAD] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[97] [GET] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[100] [PROPFIND] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[68] [HEAD] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[86] [LOCK] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[89] [GET] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[68] [PROPFIND] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[97] [HEAD] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[59] [LOCK] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[59] [PUT] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>
  
  <p>[86] [UNLOCK] /DAV/c763764d-3ba2-46f1-abee-07fa33241309/PowerPoint.pptx</p>