Skip Disable Software Inventory on a Particular Folder|SCCM|ConfigMgr

In this post, we will discuss the options available to skip/disable software Inventory on a particular folder or drive. Skip Disable Software Inventory on a specific Folder.

Software inventory enabled on the wrong folder/s or Drive/s can make your life miserable as a ConfigMgr administrator.

We had a lousy backlog issue because of the incorrect configuration of the software inventory.

Index
Finding -Disable Sofware Inventory
Possible Impacts
Possible Cause
Solution – Skip Disable Software Inventory on a Particular Folder in SCCM
Skip Disable Software Inventory on a Particular Folder|SCCM|ConfigMgr – Table 1
Skip Disable Software Inventory on a particular Folder|SCCM|ConfigMgr - Fig.1
Skip Disable Software Inventory on a Particular Folder|SCCM|ConfigMgr – Fig.1

Many people in the ConfigMgr community (real world) don’t use software inventory at all. They use better methods, like Asset Intelligence, etc., to do the work. So, before enabling software inventory, it’s always better to check whether it’s required.

Patch My PC

Note (To give background)\Sinv.box\BadSinv folder stores corrupted software inventory files. A backlog of files can indicate problems with specific clients, management points, or networks, causing data corruption.

The following details will help you properly configure the software inventory.

Adaptiva

Finding Disable Software Inventory

  • All the child primary sites have a large BADSinv folder.
  • The folder size is more than 1.5 GB for all the child primary servers.

Possible Impacts

  • The software inventory will not produce accurate results as many rejections exist on inventory files.
  • SCCM backup is taking a long time to finish.
  • SCCM exec performance will be impacted because of the extended run time of SCCM backup.

Possible Cause

  • All the large inventory files are from SCCM secondary servers because the software inventory task is run against packages in DP folders. SCCM collects all the data in each application package, such as exe and dll files.
  • SCCM doesn’t have initial software inventory data for the SCCM secondary servers or some clients, so these clients are doing a resync and re-sending FULL inventory.
  • If the full software inventory report from the client is larger than the configured max size (5 MB by default), those files will be moved to the BadSINV folder.

Solution – Skip Disable Software Inventory on a Particular Folder in SCCM

To skip the software inventory from a particular folder / drive, create a hidden file named Skpswi.dat and place it at the root of a client hard drive (SCCM secondary server DP drive) to exclude it from the software inventory.

You can also place this file in the root of any folder structure you exclude from the software inventory. This procedure can disable software inventory on a single workstation or server client, such as a large file server.

Increase the Max file size settings in primary child servers to ~25 MB  (per the environment requirement) to cater to the FULL inventory. Goto

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\SMS\Components\SMS_SOFTWARE_INVENTORY_PROCESSOR Increase “Max File Size” to 25 MB or whatever as per design.

“There is No Warranty for this solution.” Always test your solutions in the test environment before implementing them in a production environment.

Resources

We are on WhatsApp. To get the latest step-by-step guides and news updates, Join our Channel. Click here –HTMD WhatsApp.

Author

Anoop C Nair is Microsoft MVP! He is a Device Management Admin with more than 20 years of experience (calculation done in 2021) in IT. He is a Blogger, Speaker, and Local User Group HTMD Community leader. His primary focus is Device Management technologies like SCCM 2012, Current Branch, and Intune. He writes about ConfigMgr, Windows 11, Windows 10, Azure AD, Microsoft Intune, Windows 365, AVD, etc.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.