Skip to content

Prevent SharePoint Documents Checked Out Unknowingly

Learn how a scheduled PowerShell workflow scans SharePoint, lists every checked-out document, and emails owners so projects never stall on missing metadata.

One of our customers runs large construction projects with several thousand external partners in SharePoint. Documents frequently stayed checked out because required fields were missing or users missed the small green icon. If you do not work in SharePoint every day, that indicator is easy to overlook. Microsoft summarizes the most common causes in this support article.

Why Documents Remain Checked Out

The project team wanted proactive reminders so everyone

  • knows that there are checked-out documents, and
  • can immediately check them in again to keep the information available to colleagues.

How We Notify Users Automatically

Our answer is a lightweight PowerShell script that runs via the Windows Task Scheduler and follows the same routine every day.

Step 1: Scan the Platform

The script searches the entire SharePoint environment for checked-out documents at a fixed time every day.

Step 2: Store the Results Centrally

Each finding is written to a SharePoint list that shows who checked out the document, which library it belongs to, and to which project it is assigned.

SharePoint list with every checked-out document

Step 3: Send Personal Reminders

Based on that list we generate an email for every user that summarizes all checked-out files across SharePoint, across all projects, and links directly to the relevant items.

Personal SharePoint email with checked-out documents

Recipients see which metadata is missing immediately and can check in the document without hunting for it. The information becomes available again for the entire team.

Additional Safeguards for Administrators

We also verify whether the document owner still exists. If not, the project administrator is notified to check in the file and reassign ownership, so no workflow gets stuck indefinitely.

Never Leave SharePoint Files Checked Out Again

Looking for a similar automation or want to reuse our approach? Leave us a comment or send us an email. We are happy to help your users fall in love with SharePoint.

Learn more about our SharePoint development on our SharePoint SPFx Development page.

Related articles

SharePoint: deleting old versions automatically to free
Diagram: on the left a project list with the control field Delete versions and the values Yes, Done, No and Error, in the middle the weekly run, on the right the result per library with deleted versions and freed storage

SharePoint: deleting old versions automatically to free up storage

Delete old versions in SharePoint Online with PowerShell and an Azure Function: driven by a list, app-only, with a time budget, log and dry run. With code.

Read more
Is SharePoint audit-proof? What a DMS must prove
Approval record of a work instruction: for each version the reviewer, approver, validity period and number of acknowledgements

Is SharePoint audit-proof? What a DMS must prove

Audit-proof storage is not a switch in SharePoint. What the term requires, what version history and Purview do and what a DMS proves for controlled documents.

Read more
SharePoint as a DMS: where major and minor versions end
Diagram: a work instruction with valid version 3 and approved version 4, which only applies from an effective date

SharePoint as a DMS: where major and minor versions end

SharePoint offers a lot for document management. For controlled documents with an effective date, multi-stage approval and acknowledgement, built-in tools end.

Read more

Questions about this topic?

We are happy to help you put this into practice in your environment.