Find Missing Setup Files with PowerShell

By James|11/11/2021|, ,

Introduction

The SharePoint Health Analyzer checks for and reports on various SharePoint issues.  One of these issues is categorized as a configuration problem and named "Missing server side dependencies".  When reviewing the problem, [MissingFeature] and [MissingSetupFile] are noted in the explanation.  This article will discuss how to find missing setup files with PowerShell.

The missing setup file problems are generally created by third party solutions that don't clean themselves up gracefully during an upgrade or removal.  In the case of web parts, there may be web pages with references to the web parts that have since been removed.

Resolution

The following script can be used to locate the missing setup files in the SQL content database and then present the applicable web site items that are referencing them.

 

Copyright 2011 - 2025 The Lazy IT Admin | All Rights Reserved
menu-circlecross-circle linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram